You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PR checks: runtime files outside crates/xcl/src skip the regression run #964
crates/xcl/data/stubdb.toml: compiled in with include_str! (stubs.rs:184), and it decides how imports are routed
crates/xcl/build.rs
crates/xcl/Cargo.toml and Cargo.lock (dependency versions)
A PR that changes only these gets no smoke-run requirement.
Repro (run locally):
frompr_checkimportcheckbody="**Tested**\n- x\n**Not tested**\n- y\n**AI use**\n- none\n"files= [("crates/xcl/data/stubdb.toml", "modified", False, lambda: 10)]
print(check(body, "abc1234def", files, lambdas: True)) # [] - no Regression run asked for
Suggested fix: count crates/xcl/data/, crates/xcl/build.rs, crates/xcl/Cargo.toml and Cargo.lock as runtime. #497 rewrites runtime(), so this could build on it.
AI use: found, checked and written up by Claude Code (Claude Opus 5.5) at my request.
Plan: in scripts/pr_check.py, a PR that changes any of these also needs the regression run, next to runtime():
crates/xcl/data/ (stubdb.toml is compiled in by stubs.rs)
crates/xcl/build.rs
crates/xcl/Cargo.toml
Cargo.lock
the workspace Cargo.toml: its [profile.release] sets how xcl.exe is built
The test-only approval still waives it, as for crates/xcl/src.
I'll add the paths as a list that check() tests next to runtime(p), and leave runtime() itself alone. #497 rewrites that function, so both can merge without a conflict in it. Tests go in scripts/test_pr_check.py: each path needs the run, the approval waives it, and crates/xcl/tests/, tests/testtitle/Cargo.toml and docs still don't need it.
Fixed by #995 (e74dda2): crates/xcl/data/, crates/xcl/build.rs, both Cargo.toml files and Cargo.lock now need the regression run, and the test-only approval waives it as for crates/xcl/src. Thanks for the report.
Activity
fromthemoonx commentedon Nov 24, 2026
I'll take this one.
Plan: in
scripts/pr_check.py, a PR that changes any of these also needs the regression run, next toruntime():crates/xcl/data/(stubdb.tomlis compiled in bystubs.rs)crates/xcl/build.rscrates/xcl/Cargo.tomlCargo.lockCargo.toml: its[profile.release]sets howxcl.exeis builtThe
test-onlyapproval still waives it, as forcrates/xcl/src.I'll add the paths as a list that
check()tests next toruntime(p), and leaveruntime()itself alone. #497 rewrites that function, so both can merge without a conflict in it. Tests go inscripts/test_pr_check.py: each path needs the run, the approval waives it, andcrates/xcl/tests/,tests/testtitle/Cargo.tomland docs still don't need it.AI use: Claude Code (Claude Opus 5.5).
ivall commentedon Nov 24, 2026
Fixed by #995 (e74dda2):
crates/xcl/data/,crates/xcl/build.rs, bothCargo.tomlfiles andCargo.locknow need the regression run, and thetest-onlyapproval waives it as forcrates/xcl/src. Thanks for the report.PR checks: build inputs outside src need a regression run
PR checks: build inputs outside src need a regression run