Repository navigation
refactor(sea): Client query timeout - split query execution from result materialisation - #337
Merged
Merged
Conversation
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:41 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:41 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:41 — with
GitHub Actions
Inactive
cathleeny
force-pushed
the
refactor/split-execution-materialization
branch
from
September 14, 2026 21:50
74dd9f4 to
311c85e
Compare
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:50 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:50 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:50 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 21:50 — with
GitHub Actions
Inactive
There was a problem hiding this comment.
Verdict: 1 Low
Clean, behavior-preserving refactor that splits SEA sync execution into a raw terminal phase (wait_for_terminal/get_statement_status_raw) and result materialisation, with good new transport-boundary coverage (polled DML enrichment, timeout cleanup, polled terminal failure). Verified parity on enrichment gating, terminal-error orphan-close, and reader handoff — no correctness concerns found. One Low: the close_orphaned_statement phase labels still say "wait_for_completion" (renamed function), weakening the per-phase trace attribution the updated doc comment advertises.
cathleeny
force-pushed
the
refactor/split-execution-materialization
branch
from
September 14, 2026 22:05
311c85e to
d5fe8e4
Compare
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:05 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:05 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:05 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:05 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:05 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:40 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:40 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:40 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 14, 2026 22:40 — with
GitHub Actions
Inactive
cathleeny
force-pushed
the
refactor/split-execution-materialization
branch
from
September 16, 2026 21:10
7a621d5 to
8afd56e
Compare
cathleeny
temporarily deployed
to
azure-prod
September 16, 2026 21:10 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 16, 2026 21:10 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 16, 2026 21:10 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 16, 2026 21:10 — with
GitHub Actions
Inactive
Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>
Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>
cathleeny
force-pushed
the
refactor/split-execution-materialization
branch
from
September 17, 2026 21:38
8afd56e to
4e6529c
Compare
cathleeny
temporarily deployed
to
azure-prod
September 17, 2026 21:38 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 17, 2026 21:38 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 17, 2026 21:38 — with
GitHub Actions
Inactive
cathleeny
temporarily deployed
to
azure-prod
September 17, 2026 21:38 — with
GitHub Actions
Inactive
vuanhphung
approved these changes
Sep 17, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why this split
Previously, synchronous execute handled the POST, status polling, terminal mapping, and result-reader construction in one flow. This refactor makes two explicit internal phases: execution covers POST, polling, and terminal-state mapping; result materialisation starts with DML enrichment and reader/schema creation. A stacked PR can therefore bound the complete execution phase with a client query timeout without timing result work.
Compatibility
This is an internal refactor only. It does not change public Rust APIs, the C ABI, SEA requests, polling cadence or timeout, mapped errors, cleanup/cancellation, results, query-ID publication, or telemetry timing.
Validation
cargo test --locked --lib client::sea::tests::— 20 passedcargo test --locked --test v0_execute_wiremock— 22 passedcargo clippy --locked --all-targets -- -D warnings