Repository navigation
PR checks: validate every clean PR xcl-smoke block, not only the last - #1884
Open
microwave805 wants to merge 1 commit into
Open
microwave805 wants to merge 1 commit into
microwave805 wants to merge 1 commit into
Conversation
check() inspected only pr = clean[-1], discarding all earlier clean xcl-smoke blocks for the PR's head commit. Pasting a clean smoke run after a crashing, killed, or regressed run caused pr_check.py to report description ok. Iterate over every block in clean so field checks, device removals, crashes, killed exits, and matching main-baseline frame/commit comparisons apply to every PR smoke block (while still requiring at least one matching main baseline). A new regression test with a failing earlier block and clean later block failed before the fix and passes afterward. Assisted-by: Antigravity (Gemini 4 Neon)
|
Tested exact head Tested
Not tested
AI use
|
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In
scripts/pr_check.py,check()inspected onlypr = clean[-1], discarding all earlier cleanxcl-smokeblocks for the PR's head commit. If a PR description included a failing smoke block (with device removals, crashes, a killed exit, or a frame/memory regression) followed by a clean smoke block on another title or run,pr_check.pysilently ignored the failing block and passed.What is in it
scripts/pr_check.py: validate every block inclean(required fields, device removals, crashes, killed exits, and matchingmainbaseline comparisons) while still requiring at least one matchingmainbaseline overall so extra endurance runs without a second baseline remain allowed.scripts/test_pr_check.py: addMultiSmokeBlockTestsverifying that failures in an earlier PR smoke block are reported even when followed by a clean block, and that multiple clean PR blocks still pass.Tested
32.0.16.1742), AMD Ryzen 5 5600X, Windows 11 Pro build 22631, Rust1.100.0(stable-x86_64-pc-windows-msvc), Python3.11.3, DXC1.9.2602.17, debug build.test_earlier_pr_smoke_block_failures_are_not_hidden_by_a_later_clean_blockfailed againstmain(problems == []) before the fix.python -I -m unittest discover -s scripts -p "test_*.py" -von4056361: 18 passed, 0 failed..\scripts\test.ps1on exact head4056361: 975 passed, 0 failed, 45 ignored (23GPU testsSKIPPEDon this adapter: 18 wave64 skips — 7 standaloneno wave64+ 11 wave64 subcases — 3 pre-existing per-lane#1426diffs, 1no heap windows, 1 driver-cache disable requiring Windows Developer Mode;XCL_SAMPLE_*env vars unset).Regression run
Not needed: this PR changes only
scripts/pr_check.pyandscripts/test_pr_check.py(no runtime code undercrates/xcl/src).Not tested
XCL_SAMPLE_*game-data tests.AI use
clean[-1]validation gap, wrote the fix and regression tests, verified the test fails without the fix, ranunittestand.\scripts\test.ps1on4056361, and drafted this description.