Repository navigation
Give multi-launch ACP model variant tests a 20s timeout - #5809
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
force-pushed
the
bb/fix-red-ci-thr_rss56846bg
branch
from
October 20, 2026 03:11
6774c55 to
a2b41e8
Compare
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.
What was wrong
origin/mainCI was red for about 10 consecutive pushes (6dc2e2d through 0eac33e). Almost every failure was in bootstrap, before any test ran: runners got very slow downloads from GitHub releases (curl: (28)after about 1.6 MB of the 67 MB pnpm binary), nodejs.org (better-sqlite3node-gyp headersETIMEDOUT), and the npm registry (pnpm installstalled on its last package until the 5-minute step timeout). This hit both Linux and Windows runners, and the jobs that failed changed from run to run. It has since cleared: the run on 6701f6b936 passed every job without any change. #5783 already hardened those downloads, so this PR does not touch them again.The one failure in our own code was a Windows
packages-othertest timeout:acp bridge > keeps CLI reasoning on the resolved model variant instead of ACP configtimed out at 6166 ms against Vitest's default 5000 ms. The test launches the fake ACP agent several times in a row (CLI model list, then thread start, then turn). On Windows runners it took 1262 ms and 2659 ms in other runs, so it was flaking on load, not a code regression. Its siblinguses modelCli only for model selection when reasoningCli owns efforthas the same shape and already sets20_000.What changed
Both tests in
packages/provider-bridge-acp/src/bridge/bridge.test.ts(moved fromprovider-bridge-acp-nextby #5775) that callsendModelListand thenstartThreadwithout an explicit timeout now use the same20_000budget as their sibling:keeps CLI reasoning on the resolved model variant instead of ACP configwarns and launches the family id when a reasoning variant is missingVerification
pnpm exec turbo run test --filter=@bb/provider-bridge-acp: 25 files, 505 passed, 4 skipped.🤖 Generated with Claude Code