ci: split the Windows check job into 3 stdlib shards and a dotnet job (CI-SHORTEN-CHECK-SHARDS) #3351
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3351
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3351"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@MoonEyes on GitHub · 2026-12-03 15:22 UTC · original
ProjectLeonida:ci/shorten-ci-time→main· +90 −8 · 4 files · 2 commits · merged 2026-12-03 16:55 UTCClaimed in the coordination issue as: CI-SHORTEN-CHECK-SHARDS (#3312)
What and why
The Windows
checkjob is the CI critical path: 513 to 841 s in recentci.ymlruns, of which the stdlib test loop takes 548 to 719 s and the rpf9dump/texture steps about 100 s.scripts/run_standalone_tests.py: new--shard K/N(one entry in N of the sorted list), with a test that 3 shards cover the list exactly once and that invalid values are refused..github/workflows/ci.yml:checkis split intocheck-stdlib(3-shard matrix,fail-fast: false) andcheck-dotnet(compile, help, rpf9dump, texture, diagnostics).checkstays as the job name the ruleset requires; it is now a short ubuntu gate that fails unless both aresuccess.No test is removed. Expected gain:
checkfrom about 510-840 s to about 290-330 s; the critical path becomeslinux-python-and-viewer/semantic-tests(370-470 s).Tested
python -I tests/test_run_standalone_tests.py(7),tests/test_ci_registration.py(18),test_docs_*.py(57),python -I scripts/check_no_game_data.py: all pass; YAML loads./3is hard-coded besideshard: [0, 1, 2].GPUs tested: n/a
AI-assisted: yes (Claude Code, reviewed by a separate read-only reviewer agent)
Checklist
mainand merges cleanly.semantic-teststhe same way is left out).docs/design.md: n/aGenerated by Claude Code
@icdmkg2 on GitHub · 2026-12-03 15:56 UTC · original
Verified natively on Windows 11 (Python 3.12, no game files): \python -I scripts/red_green.py 3351 --no-cargo --mutate\ against \origin/main\ (\
d227aa73e, PR head \74a516f87) — *\erdict: red then green* (1 red→green: \StandaloneRunnerTest.test_shards_cover_the_list_exactly_once, 24 pass on both across \ ests/test_ci_registration.py\ and \ ests/test_run_standalone_tests.py; mutations: 3/3 functional hunks caught at \scripts/run_standalone_tests.py:24, 71, 75, only the docstring hunk at line 7 not caught). AI-assisted: Gemini 4 Neon (Antigravity).