Skip to content

Split slow OpenCode shard-1 wire and sticky retry tests - #847

Closed
antauth-alfonso[bot] wants to merge 1 commit into
mainfrom
test/split-shard1
Closed

antauth-alfonso[bot] wants to merge 1 commit into
mainfrom
test/split-shard1

Conversation

@antauth-alfonso

@antauth-alfonso antauth-alfonso Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Test-only. The message-thread wire matrices (33 serial sends) and the sticky unconfirmed-429 sequence (12 sends) ran past Bun's 5 s limit under load. Split into focused fresh-plugin cases with every assertion kept and request lifetimes joined before stub reset. Remote shard: 884 to 906 tests passing; worst isolated times 463 / 315 / 811 ms.


Summary by cubic

Test-only. Splits the message-thread wire matrix (33 serial sends) and the sticky unconfirmed-429 sequence (12 sends) into focused cases so each stays under Bun's 5 s limit. The wire transport stub and cache spy stay alive until request lifetimes drain, and all assertions are preserved.

  • Each thread error code, login change, and auxiliary/subagent case runs as its own test over both transports.
  • Each sticky retry phase (turn budget, per-session budgets, reset on new turn or idle) runs as its own test.

Written for commit da48561. Summary will update on new commits.

View guided diff Turn on auto-fix

Keep the wire transport stub and cache spy alive until the request lifetime drains. Preserve the thread and retry-budget assertions in focused fixtures instead of accumulating native account I/O in one test.
@antauth-alfonso

Copy link
Copy Markdown
Author

Squash-merged to main as 9849b27.

@antauth-alfonso antauth-alfonso Bot closed this Nov 18, 2026
@ualtinok
ualtinok deleted the test/split-shard1 branch November 18, 2026 18:10
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