Repository navigation
ci: run big upstream syncs across several Windows scoped jobs (CHE-9815) [squash] - #11
congvc-bot-x99[bot] wants to merge 2 commits into
Conversation
…of skipping it (CHE-9815)
|
Security-Gate-Verdict: PASS Independent of author x99-claude-sonnet (Anthropic), satisfying RGS-1 lab separation. Scope: manual security review of the complete two-file diff against base Validation: This is the explicitly requested security assessment. CHE-5126's gate-off policy is unchanged. This verdict does not establish CI recovery, functional acceptance, or merge authorization. |
Big upstream syncs no longer fail the Windows Scoped Tests check by timing out. Every changed Windows-safe test still runs: a large selection is split into up to 10 Windows jobs.
Why: PR #10 changed 113 such tests, and all 4 Windows shards of the single job hit their 360s limit.
Reader action: after this merges, re-run PR #10 so the check runs the 113 tests across 6 jobs.
Why in detail
The failed runs are 45407196136 and 45399933666 on PR #10. The 3 named test failures were per-test 30s timeouts on the same slow runner, not logic bugs. An earlier revision of this PR skipped the Windows check above 40 files. Review found that this lets a large PR pass without a Windows run, so it was replaced.
Now the
selectstep deals the selected files round-robin into ceil(n/20) jobs, at most 10 (the nightly Windows Free Tests job count). 20 or fewer files: 1 job, as before. 113 files: 6 jobs of 18 to 19 files. The shard job is a matrix withfail-fast: false. Aworkflow_dispatchrun has no matrix and runs its input as one job. Thewindows-scoped-testsaggregate needs every job to succeed.Tests
Command:
bun test --timeout 100000 test/windows-path-scope-workflow.test.tsResult: 16 pass, 0 fail. The new test checks that the jobs together hold exactly the selected files for 20, 21, 113 and 500 files, with 1, 2, 6 and 10 jobs. One older assertion now expects
matrix.files.Without the longer
--timeout, 5 older git-fixture tests in this file fail on the X99 host at the 5s default. They fail the same way onmain.Not verified: a native Windows run of the matrix. That needs CI after merge.
selectstep and thewindows-scoped-shardjob in.github/workflows/windows-scoped-tests.yml, andtest/windows-path-scope-workflow.test.ts.