ci: split the Windows check job into 3 stdlib shards and a dotnet job (CI-SHORTEN-CHECK-SHARDS) #3351
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T15:22:01Z.
Claimed in the coordination issue as: CI-SHORTEN-CHECK-SHARDS (https://github.com/ProjectLeonida/mandy/issues/3312#issuecomment-7383019295)
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
Imported from ubiquitarianism/leonida. Originally posted by icdmkg2 on 2026-12-03T15:56:33Z.
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).