Skip to content

Give multi-launch ACP model variant tests a 20s timeout - #5809

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-red-ci-thr_rss56846bg
Oct 20, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-red-ci-thr_rss56846bg

Conversation

@ymichael

@ymichael ymichael commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

What was wrong

origin/main CI 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-sqlite3 node-gyp headers ETIMEDOUT), and the npm registry (pnpm install stalled 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-other test timeout: acp bridge > keeps CLI reasoning on the resolved model variant instead of ACP config timed 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 sibling uses modelCli only for model selection when reasoningCli owns effort has the same shape and already sets 20_000.

What changed

Both tests in packages/provider-bridge-acp/src/bridge/bridge.test.ts (moved from provider-bridge-acp-next by #5775) that call sendModelList and then startThread without an explicit timeout now use the same 20_000 budget as their sibling:

  • keeps CLI reasoning on the resolved model variant instead of ACP config
  • warns and launches the family id when a reasoning variant is missing

Verification

pnpm exec turbo run test --filter=@bb/provider-bridge-acp: 25 files, 505 passed, 4 skipped.

AGENT GENERATED

🤖 Generated with Claude Code

@ymichael
ymichael force-pushed the bb/fix-red-ci-thr_rss56846bg branch from 6774c55 to a2b41e8 Compare October 20, 2026 03:11
@ymichael
ymichael merged commit e1f27db into main Oct 20, 2026
47 checks passed
@ymichael
ymichael deleted the bb/fix-red-ci-thr_rss56846bg branch October 20, 2026 03:17
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