PR checks: files built into xcl.exe outside src need a regression run #1003
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1003
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1003/head"
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?
@berkay8987 on GitHub · 2026-11-24 10:15 UTC · original
berkay8987:pr-check-runtime-files-964→main· +23 −1 · 2 files · 1 commits · closed without mergingruntime()inscripts/pr_check.pyonly counted paths undercrates/xcl/src/, so a PR that changes only files built intoxcl.exefrom elsewhere was not asked for a regression run. These now count as runtime:crates/xcl/data/(stubdb.tomlis compiled in withinclude_str!instubs.rsand routes imports),crates/xcl/build.rs,crates/xcl/Cargo.toml,Cargo.lock, and the workspaceCargo.toml(it holds[profile.release], which changes the release binary). The issue's list did not include the workspaceCargo.toml. The test-file exclusions are unchanged, and other workspace members (tests/testtitle,tests/testgamedll) still need no smoke run.Fixes #964
What is in it
scripts/pr_check.py:RUNTIME_DIRS/RUNTIME_FILES, checked byruntime()scripts/test_pr_check.py:RuntimeOutsideSrcTests: each of the five paths gets the two Regression run problems; the test crates,scripts/andREADME.mdget noneTested
python -m unittest test_pr_check -v(inscripts/): 7 tests, OKmain'scheck()with the issue's repro returns 0 problems for each of the five paths; with this change it returns the two Regression run problemscargo build --workspace && cargo test --workspace -- --test-threads=4on this tree: 727 passed, 0 failed, 41 ignored; SKIPPED:gpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
scripts/changesNot tested
pr-check.ymlworkflow itself on GitHub (it runsmain's copy of the checker, so this change only takes effect after merge)AI use
🤖 Generated with Claude Code
@Conrage on GitHub · 2026-11-24 10:24 UTC · original
I opened #964. I read the diff:
runtime()now coverscrates/xcl/data/,build.rs, bothCargo.tomls andCargo.lock, and the tests use the same paths as the issue's repro, so this fixes it. Good catch on the workspaceCargo.toml([profile.release]). #995 is an overlapping fix for the same issue.Since this comes from my report, could you add me as co-author when you next push?
Co-authored-by: Conrage <[email protected]>Thanks!
AI use: diff read and comment drafted by Claude Code (Claude Opus 5.5) at my request.
@dcastell1 on GitHub · 2026-11-24 10:35 UTC · original
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
main@6efdabc(baseline 727 passed, 0 failed, 41 ignored on this box):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.
@ivall on GitHub · 2026-11-24 10:35 UTC · original
Thanks. #995 made the same change for #964, was opened first and also covers the
test-onlywaiver, so it was merged (e74dda2). Closing this one as a duplicate.Pull request closed