From fb667801129367b3f614f132b5af956766d24981 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sun, 16 Aug 2026 11:35:23 -0700 Subject: [PATCH] fix(test): honest budget for the suite's one headed persistent-context launch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The launchHeaded/handoff parity test cold-launches a HEADED Chromium — 8-25s on macOS, worse on the first launch of a freshly downloaded bundle (XProtect scans it, the #2554 class) and under shard concurrency. bun's 5s default made it the suite's most reliable false negative: it timed out identically on the pre-wave baseline run of pristine main. 45s budget; passes 15/15. Co-Authored-By: Claude Fable 5 --- browse/test/stealth-webdriver.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/browse/test/stealth-webdriver.test.ts b/browse/test/stealth-webdriver.test.ts index 541dc0237..b5365ea80 100644 --- a/browse/test/stealth-webdriver.test.ts +++ b/browse/test/stealth-webdriver.test.ts @@ -315,5 +315,11 @@ describe('applyStealth — persistent context (headed + handoff parity)', () => await ctx.close(); fs.rmSync(userDataDir, { recursive: true, force: true }); } - }); + }, 45000); + // ^ 45s: this is the one HEADED persistent-context launch in the free + // suite. A cold headed launch on macOS runs 8-25s — worse on the first + // launch of a freshly downloaded Chromium (XProtect scans the new bundle, + // the #2554 class) and under shard concurrency. bun's 5s default made this + // the suite's most reliable false-negative: it timed out on the pre-wave + // baseline run of main too, and passes at 15/15 with an honest budget. });