Scripts: require complete successful smoke runs #2388
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!2388
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2388"
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?
@mokkamokacaffe on GitHub · 2026-11-25 17:41 UTC · original
mokkamokacaffe:scripts/require-complete-smoke-blocks→main· +49 −12 · 2 files · 1 commits · draftThe PR checker treated omitted or malformed safety fields as clean values. Removing a crash, device-removal, exit or peak-commit line could therefore turn a failing runtime regression run into an accepted one.
Fixes #2213.
What is in it
scripts/pr_check.py: require the PR's smoke block to containdevice removals,crashes,exitandpeak commit.peak commit: <number> MBform and rejectn/aor malformed values.exit: 0x0; killed, crashing and otherwise nonzero exits fail the check.scripts/test_pr_check.py: cover every missing field and malformed counter, memory and exit value.Tested
python -I -m unittest discover -s scripts -p "test_*.py" -v— 27 passed, 0 failed.git diff --check: passed.8968118:python -m unittest discover -s scripts -t scripts -p "test_pr_check.py" -v— 15 passed, 0 failed in 0.054 s..\scripts\test.ps1: 1215 passed, 5 failed, 26 ignored. The reported pre-existing GPU failures werefuzz_validate_and_gpu_0..3(CreateComputePipelineState:E_OUTOFMEMORY) anda_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier. Reported skips: 13 no-wave64, 3 unsupported wave32 per-lane VOP3-modifier cases, and 1 driver-cache test requiring Windows Developer Mode.main:cargo test -p xcl --libreported 1038 passed, 1 failed under parallel scheduling; the failing test passed on a single-threaded rerun (1039 passed, 0 failed). The intermittent0xc0000005parallel-suite failure is tracked separately in #1978.Regression run
scripts/pr_check.pyandscripts/test_pr_check.py, not the XCL runtime.Not tested
pull_request_targetexecution of the changed checker (the workflow uses the checker frommain).AI use
@FIJI1299 on GitHub · 2026-11-25 17:50 UTC · original
Tested commit
8968118on Windows:Environment
621.35,wave32)1.8.2502.11(Windows SDK10.0.26100.0)Results
python -m unittest discover -s scripts -t scripts -p "test_pr_check.py" -v): 15 passed, 0 failed (0.054s)..\scripts\test.ps1): 1215 passed, 5 failed, 26 ignored — the 5 failures are pre-existinggpu::*issues on this adapter (E_OUTOFMEMORYonfuzz_validate_and_gpu_0..3with this driver, anda_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier).13(no wave64),3(wave32 unsupported VOP3 modifiers),1(driver cache disable needs Windows Developer Mode:0x887A002D).@DavidM1911 on GitHub · 2026-11-25 19:27 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.Thanks!
@RavenCurseBurg on GitHub · 2026-11-25 23:36 UTC · original · edited 2026-11-25 23:42 UTC
I tested the interaction listed under Not tested. Merging #1884 at
4056361fac7402a32575a595992813a5b7d7914dinto this PR at89681182b554706b112ab4e89a3d81a9fbc8a837produced one content conflict inscripts/pr_check.py. The test file merged automatically.Tested merge with both original parents. It applies this PR’s strict checks to each PR smoke block inside #1884’s loop and retains #1884’s title/duration matching. The added regression puts an incomplete run before and after a valid run. Each parent on its own failed that regression; the combined version passed.
On Windows 11, Core i7-13700, Python 3.14.3,
python -B -m unittest discover -s scripts -p "test_*.py"passed 27/27 on this PR and 30/30 on the merge. I also ran the mergedscripts/pr_check.py --local --body BODY --head HEAD --files FILESwith two titles with different baselines and both orders of main and PR blocks. All 28 cases matched: four clean descriptions passed; each of the other 24 reported its one expected field, exit, frame or memory problem. All inputs were synthetic. Live GitHub Actions and retail smoke runs were outside this check. OpenAI Codex (GPT-6) resolved the conflict, added the fixture and ran the tests.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.