You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 21730a3
Browse filesBrowse the repository at this point in the historyBrowse files
fix(managed): enumerate in-flight statuses, not terminal ones
Follow-up from review on the query-run wait.
Both polls listed the statuses that mean finished and treated everything
else as "keep waiting". That arrangement is what let `interrupted` be
polled for the full five-minute timeout: a status absent from the list
was indistinguishable from one still running. Listing the in-flight side
instead -- `running` for a query run, `pending`/`processing` for a result
-- makes an unrecognised status raise on the first pass with its own name
in the message, so the next status the API adds costs one round trip
rather than a timeout.
That also fixes both status bugs in `HotdataClient`, which still had
`cancelled` in its terminal sets and lacked `interrupted` entirely, so
`execute_sql` kept the behaviour this branch documents as a bug. Doing
both keeps the changelog entry true for the whole package rather than for
one of its two clients.
The async-submit test asserted the model attribute, which would still
pass if the `async` alias were missing or misspelled -- the server would
then ignore the field, answer synchronously with a full preview, and
silently restore what this branch removes. It now asserts the serialised
wire key.
0 commit comments