Split the slowest free test file so no shard waits on it (GST-3303) (#4588)

Free Tests no longer waits on one 263-second test file. Its 79 tests (80
cases) now run as six files of 25 to 40 seconds, so the shard planner
can spread them out.

This is part of making pull request CI faster: a file that big puts a
floor under one shard, and that floor matters most on bigger runners.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: v1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/red-team#1 reader=red-team
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-21 07:30:51 +00:00
1 parent e096fa850c
commit ffdd5354b8
13 files changed
+1331 -1238

No files matched your search

+6 -1
View File
@@ -1339,7 +1339,12 @@
"test/review-negated-severity.test.ts": 74,
"test/review-notes-only-pass.test.ts": 8622,
"test/review-packets-removed.test.ts": 508,
"test/review-pass.test.ts": 263472,
"test/review-pass-program-steps.test.ts": 48027,
"test/review-pass-program.test.ts": 43415,
"test/review-pass-shared-machine.test.ts": 30119,
"test/review-pass-step11.test.ts": 45992,
"test/review-pass-voice-failures.test.ts": 52640,
"test/review-pass.test.ts": 43822,
"test/review-plan-cli.test.ts": 29693,
"test/review-plan-granted-targeted.test.ts": 4291,
"test/review-plan-merged-range.test.ts": 2017,
-1
View File
@@ -5,7 +5,6 @@
{"file": "test/setup-install-registry.test.ts", "reason": "82s in the 2026-10-15 recording (58s on 2026-10-04): 11 cases each run the real ./setup, gstack-relink, gstack-config and gstack-uninstall against throwaway checkouts", "todo": "split by describe block so the packer can balance it, then rerun bun run test:ubicloud --record-durations (TODOS.md, fix wave 2 follow-ups)"},
{"file": "test/brain-sync.test.ts", "reason": "89s in the 2026-10-19 weekly recording (58s on 2026-10-15): #3254 added the case-collision suite, and every case drains a real gstack-brain-sync against a local bare remote", "todo": "split by describe block so the packer can balance it, then rerun bun run test:ubicloud --record-durations (TODOS.md, fix wave 2 follow-ups)"},
{"file": "test/setup-codex-scope.test.ts", "reason": "64s in the 2026-10-19 weekly recording (59s on 2026-10-15): each case runs the real ./setup twice against a Codex install fixture", "todo": "split by describe block so the packer can balance it, then rerun bun run test:ubicloud --record-durations (TODOS.md, fix wave 2 follow-ups)"},
{"file": "test/review-pass.test.ts", "reason": "221s in the 2026-11-09 recording (run 42691699570; 24s on 2026-10-31); admitted so the refreshed seed can land", "todo": "split or speed up; post-11-21 slow-test pass"},
{"file": "test/review-exclude.test.ts", "reason": "126s in the 2026-11-09 recording (run 42691699570; unseeded before); admitted so the refreshed seed can land", "todo": "split or speed up; post-11-21 slow-test pass"},
{"file": "test/ubicloud-runner-recovery.test.ts", "reason": "79s in the 2026-11-09 recording (run 42691699570; unseeded before); admitted so the refreshed seed can land", "todo": "split or speed up; post-11-21 slow-test pass"},
{"file": "test/ship-rereview-triggers.test.ts", "reason": "78s in the 2026-11-09 recording (run 42691699570; unseeded before); admitted so the refreshed seed can land", "todo": "split or speed up; post-11-21 slow-test pass"},
+20
View File
@@ -484,6 +484,26 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
file: 'test/ship-finish-fixed-links.test.ts',
reason: 'drives bin/gstack-ship-release, gstack-approvals, gstack-review-log, gstack-docs-candidate and gstack-wtree (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-finish-ruled-notes.test.ts; windows-latest fails every case at the first bin spawn (windows-free-shard 3, run 42593329215)',
},
{
file: 'test/review-pass-program.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',
},
{
file: 'test/review-pass-program-steps.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',
},
{
file: 'test/review-pass-shared-machine.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',
},
{
file: 'test/review-pass-step11.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',
},
{
file: 'test/review-pass-voice-failures.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',
},
];
// Force-include overrides: files a WINDOWS_FRAGILE_PATTERNS regex excludes for