From d262cad7690d0776d63b1c6fb34dd6ee088b07d8 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Thu, 14 May 2026 08:29:24 -0700 Subject: [PATCH] test(version): bump CLI smoke-test timeout to 15s (flaky at 5s under load) The gstack-next-version integration smoke test spawns a child process that does git operations + sibling-worktree probing. Wall time hovers 4-5s on M-series Macs; flakes at exactly 5001-5002ms when the test suite runs under load (bun's parallel scheduling). Bumping per-test timeout to 15s eliminates the flake without changing test logic. Co-Authored-By: Claude Opus 4.7 (1M context) --- test/gstack-next-version.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gstack-next-version.test.ts b/test/gstack-next-version.test.ts index 9d749f25f..6383511be 100644 --- a/test/gstack-next-version.test.ts +++ b/test/gstack-next-version.test.ts @@ -178,5 +178,5 @@ describe("integration (smoke)", () => { expect(Array.isArray(parsed.claimed)).toBe(true); expect(parsed).toHaveProperty("siblings"); expect(parsed.siblings).toEqual([]); // --workspace-root null disabled scanning - }); + }, 15_000); // Headroom over the 4-5s wall time of the spawned process under load });