From 9c1641fe914174d1abc91e119b3f2d252fe074ec Mon Sep 17 00:00:00 2001 From: Clay Good Date: Fri, 25 Sep 2026 10:41:55 -0500 Subject: [PATCH 1/2] test(flake): give the bash-spawning scope test a 60s timeout The Windows runner took 13.1s to spawn bash three times on the Version Packages push to main, tripping the 10s default. The same test ran in 0.3s and 4.2s on the two previous main runs; nothing in the code changed. Co-Authored-By: Claude Opus 5.5 --- test/update-flake-script.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/update-flake-script.test.ts b/test/update-flake-script.test.ts index 130ffe80cc..cc5af2afec 100644 --- a/test/update-flake-script.test.ts +++ b/test/update-flake-script.test.ts @@ -105,7 +105,8 @@ describe('update-flake.sh confines every hash rewrite to the pnpmDeps block', () expect(updated).not.toContain(placeholder); fs.rmSync(dir, { recursive: true, force: true }); - }); + // Three `bash` spawns: 0.3s to 13s on the Windows runner depending on load. + }, 60_000); it('refuses to touch the file when no pnpmDeps hash is found', () => { expect(script).toContain('no pnpmDeps hash found in flake.nix'); From d50246b6b054064641aed23d64939a50b89c598b Mon Sep 17 00:00:00 2001 From: Clay Good Date: Fri, 25 Sep 2026 10:46:37 -0500 Subject: [PATCH 2/2] test(e2e): give the git-clone init test a 60s timeout Timed out at the 10s default on windows-pwsh three times (#1953 merge queue, two changeset-release runs); it normally takes ~2.6s there. Co-Authored-By: Claude Opus 5.5 --- test/cli-e2e/basic.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cli-e2e/basic.test.ts b/test/cli-e2e/basic.test.ts index a8bc3a42a9..7677ca382d 100644 --- a/test/cli-e2e/basic.test.ts +++ b/test/cli-e2e/basic.test.ts @@ -70,7 +70,8 @@ describe('openspec CLI e2e basics', () => { const specs = await runCLI(['list', '--specs'], { cwd: cloneDir, env }); expect(specs.exitCode).toBe(0); expect(specs.stdout).toContain('No specs found.'); - }); + // Seven subprocesses (3 CLI, 4 git): ~2.6s on the Windows runner, past 10s under load. + }, 60_000); it('shows help output', async () => { const result = await runCLI(['--help']);