Repository navigation
PR checks: build inputs outside src need a regression run - #995
Conversation
runtime() only counted paths under crates/xcl/src/, but some files outside it change what xcl.exe does: crates/xcl/data/stubdb.toml is compiled in with include_str! and routes imports, crates/xcl/build.rs is its build script, and crates/xcl/Cargo.toml, the workspace Cargo.toml (the release profile) and Cargo.lock pick its dependencies and how it is built. A PR that changed only these got no smoke-run requirement. They now count as runtime for the Regression run check; the test title's and game DLL's manifests and build scripts still do not. Fixes xcl-dev#964 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent check of Tested (Windows 11 26300, Python 3.12, RTX 3060 / Ryzen 7 5700X)
Not tested
AI use
|
|
Test report for head Tested on
One minor note, not a blocker: Not tested: the AI use: Claude Code (Claude Opus 5.5) ran the tests and the extra cases on this machine and wrote this report. |
|
Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on Same count as the baseline (a PR-check script change), nothing regresses. Tree restored afterwards (full diff against a clean checkout), hardware adapter, no Wine, no game data. AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it. |
|
I opened #964. I read the diff: Since this comes from my report, could you add me as co-author when you next push?
Thanks! AI use: diff read and comment drafted by Claude Code (Claude Opus 5.5) at my request. |
|
Merged in e74dda2. |
runtime()only counted paths undercrates/xcl/src/, but some files outside it change whatxcl.exedoes, so a PR that changed only these got no Regression run requirement. They now count as runtime for that check. Fixes #964.What is in it
scripts/pr_check.py:builds_runtime()countscrates/xcl/data/(stubdb.toml, compiled in byinclude_str!instubs.rs),crates/xcl/build.rs,crates/xcl/Cargo.toml, the workspaceCargo.toml(it holds[profile.release]) andCargo.lock;check()asks for the smoke runs when any of them changes.runtime()itself is unchanged, so this does not conflict with PR checks: a runtime file whose name only contains "tests" still needs a regression run #497's rewrite of it.scripts/test_pr_check.py: each of those paths needs both smoke blocks, and thetest-onlyapproval waives them; the test title's and game DLL's manifests and build scripts still do not need themTested
python scripts/test_pr_check.py: 4 passed (the new test fails on main: 5 of its subtests)git merge-treeof this branch with PR checks: a runtime file whose name only contains "tests" still needs a regression run #497, PR checks: a section with nothing under it is refused as empty #527, PR checks: a rename out of runtime still needs smoke runs #952 and PR checks: two xcl-smoke blocks in one code fence are read as two #988: no conflictscargo test --workspace -- --test-threads=4on main 9aec53d (this diff touches no Rust): 724 passed, 0 failed, 41 ignored; SKIPPEDgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
crates/xcl/srcchangesNot tested
PR checksworkflow itself on a PR that changes only one of these filesCONTRIBUTING.md (item 3 of "What a PR needs to be merged"), AGENTS.md and the PR template still describe the requirement as "
crates/xcl/srcoutside tests"; I left their wording alone so this PR stays one change, and can follow up if you want them to name these files too.AI use
🤖 Generated with Claude Code