Repository navigation
Fix CI bootstrap downloads and ACP test cleanup - #5783
Merged
Merged
Conversation
…lysis-thr_pcquw2fv9b
ymichael
added a commit
that referenced
this pull request
Oct 20, 2026
## 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 6701f6b](https://github.com/get-bb/bb/actions/runs/39344853306) 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](https://github.com/get-bb/bb/actions/runs/39343034529/job/118369137986): `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](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Human comments
What was wrong
CI bootstrap downloads could stall or fail before checks started. pnpm always downloaded its executable even when verified bytes were available, and Bun setup could spend over ten minutes downloading. ACP bridge tests could time out while session creation and polling continued, allowing late responses and live child processes to interfere with the next test. Git/Turbo selection fixtures also used a five-second default despite launching multiple processes.
Observed examples: pnpm bootstrap failure, slow Bun setup, and ACP timeout cascade.
What changed
How you verified
pnpm exec turbo run test lint typecheck --filter=@bb/scripts --filter=@bb/provider-bridge-acp-next --output-logs=new-onlypassed (256 scripts tests; 499 ACP tests passed, four skipped).git diff --checkpassed.daeccdadb9: the first attempt passed 35 active jobs and failed five (three pnpm download timeouts, one dependency-install timeout, and an unchanged host-workspace assertion). Only those five were retried on the same commit. All five passed on attempt 2 of the same CI run. Final PR status: 45 successful checks, three intentionally skipped, none pending or failed; GitHub reports the PR clean to merge.