Skip to content

[upstream #1056] Scripts: require a clean main checkout for smoke baselines - #94

Closed
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1056
Closed

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1056

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 24, 2026

Copy link
Copy Markdown
Owner

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.py rejects a main block marked (uncommitted changes).
  • scripts/test_pr_check.py covers a dirty baseline alone and a valid baseline alongside it. CONTRIBUTING.md clarifies that both runs need clean checkouts.

Tested

  • Windows 11 Pro build 26300, Intel Core i5-14600K, NVIDIA GeForce RTX 3060 driver 32.0.16.1742, Rust 1.94.0 MSVC, debug.
  • python -B -m unittest discover -s scripts -p test_pr_check.py on Python 3.12.6. The new test failed on main and all 7 passed with the fix.
  • scripts/test.ps1 ran cargo build --workspace and cargo 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_mask and gpu_wave32_program_in_wave64_hardware.

Not tested

  • AMD, Intel GPUs, or optional retail sample tests. The change only affects the PR checker and contribution docs.

AI use

  • OpenAI Codex (GPT-6, exact variant unavailable) reproduced the issue, wrote the code and test, ran the tests, drafted this description, and opened the draft at the request of the author.

Mirror of xcl-dev#1056 (auto-synced, do not edit).

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)
@ufoptg

ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Upstream PR xcl-dev#1056 was closed or merged.

@ufoptg ufoptg closed this Nov 25, 2026
@ufoptg
ufoptg deleted the upstream-pr/1056 branch November 25, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants