Repository navigation
Scripts: require a clean main checkout for smoke baselines - #1056
zohaiblazuli wants to merge 1 commit into
Conversation
The smoke script marks builds from modified sources, but the PR checker only checked that marker on the head run. Apply the same check to main before using its frame and memory counts. Assisted-by: OpenAI Codex (GPT-6, exact variant unavailable)
|
Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
I ran #1056 (
Reproduction script. From a checkout with the three listed commits available, |
A smoke block from a modified checkout can currently count as the run on main. That can make the frame and memory comparison use a baseline built from different code. Require an unmodified main checkout for the baseline.
What is in it
scripts/pr_check.pyrejects a main block marked(uncommitted changes).scripts/test_pr_check.pycovers a dirty baseline alone and a valid baseline alongside it.CONTRIBUTING.mdclarifies that both runs need clean checkouts.Tested
python -B -m unittest discover -s scripts -p test_pr_check.pyon Python 3.12.6. The new test failed on main and all 7 passed with the fix.scripts/test.ps1rancargo build --workspaceandcargo test --workspace -- --test-threads=4. Cargo reported 737 passed, 0 failed, 41 ignored. Two of the reported passes emitted GPU skips for no wave64,gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware.Not tested
AI use