PR checks: validate every clean PR xcl-smoke block, not only the last #1884
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!1884
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1884"
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?
@microwave805 on GitHub · 2026-11-24 22:33 UTC · original
microwave805:pr-check-all-smoke-blocks→main· +47 −19 · 2 files · 1 commits · openIn
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.@futurepro62 on GitHub · 2026-11-24 22:37 UTC · original
Tested exact head
4056361, script tests only, since this PR has no test report yet.Tested
python -m pytest scripts/test_pr_check.pyat the head: 15 passed, 23 subtests passed.689f2db): 1 failed:MultiSmokeBlockTests::test_earlier_pr_smoke_block_failures_are_not_hidden_by_a_later_clean_block. So the new test catches the problem the PR fixes.scripts/pr_check.py(git merge-treeof the two heads), so whichever lands second needs a rebase.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-25 01:56 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.