Skip to content

test(ts-sdk): explicit timeouts on environment-scaled live e2e reads - #957

Merged
jiashuoz merged 2 commits into
mainfrom
test/sdk-live-e2e-timeouts
Aug 28, 2026
Merged

test(ts-sdk): explicit timeouts on environment-scaled live e2e reads#957
jiashuoz merged 2 commits into
mainfrom
test/sdk-live-e2e-timeouts

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Final piece of today's release-gate stabilization (with #954 test hygiene and #955 the wsd index).

The pipeline's client-surface gates run the TS SDK live suite immediately downstream of the conformance battery, against a staging DB still draining that suite's async churn. Two reads whose cost scales with account population — export() and the flat account.metrics() — sat right at vitest's 5s default there (both failed at exactly the default in two consecutive pipeline attempts, while answering in ~1s on idle staging). The grouped-metrics test in the same file already carries an explicit 30s timeout with a "do not tidy this back" comment for precisely this reason; this PR applies the same treatment (and comment) to the other two environment-scaled reads.

No behavior change; live tests still skip without env. Needed in the next tag (v1.8.2) for the pipeline to pass its client gates reliably.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ScEpytuD7GvaXEssvJ2W32

jiashuoz and others added 2 commits August 28, 2026 15:11
export() and the flat account.metrics() aggregate scale with account
population and environment load; in the release pipeline they run right
after the conformance battery against a still-draining staging DB, where
vitest's 5s default failed twice (2026-08-28) while the endpoints answer
in ~1s idle. Same precedent and do-not-tidy rule as the grouped-metrics
test's existing explicit timeout.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScEpytuD7GvaXEssvJ2W32
@jiashuoz
jiashuoz merged commit 1724f26 into main Aug 28, 2026
32 of 33 checks passed
@jiashuoz
jiashuoz deleted the test/sdk-live-e2e-timeouts branch August 28, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant