From 336bbbc643517c5c3296b6a58301d37a5c6bfc20 Mon Sep 17 00:00:00 2001 From: garrytan Date: Thu, 29 Oct 2026 04:11:48 +0000 Subject: [PATCH] test(setup): mark the sub-second wait bound as the contract (gstack-timing-ok) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/setup-playwright-best-effort.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/setup-playwright-best-effort.test.ts b/test/setup-playwright-best-effort.test.ts index 5994bb8f9..5b48e9462 100644 --- a/test/setup-playwright-best-effort.test.ts +++ b/test/setup-playwright-best-effort.test.ts @@ -279,6 +279,7 @@ describe('setup: Chromium bootstrap block executes best-effort', () => { '_wait_with_deadline $! 90 || echo "RC=$?"', ].join('\n'), { timeout: 10_000 }); expect(r.stdout).toBe('RC=3\n'); + // gstack-timing-ok: a sub-second return is the contract; the old 1 s poll took 1,008 ms, this path takes ~0.2 s expect(Date.now() - t0).toBeLessThan(500); });