Repository navigation
Scripts: require complete successful smoke runs - #2388
mokkamokacaffe wants to merge 1 commit into
Conversation
The PR checker treated missing or malformed crash, device-removal, exit, and peak-commit lines as clean values. Require the generated safety fields, parse counters and memory strictly, and accept only a successful 0x0 exit for the PR run.\n\nFixes xcl-dev#2213\n\nAssisted-by: OpenAI Codex (GPT-5)
|
Tested commit Environment
Results
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
I tested the interaction listed under Not tested. Merging #1884 at 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, |
|
Two contributors checked independently and found that this PR makes the same change as #2219 (for #2213): #1607, group D109. They suggest keeping #2219. If you agree, closing this PR or joining the other one would save the maintainers a review. If the two differ in a way the checks missed, a note in #1607 helps. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
|
Thanks @throny and everyone who checked D109. I agree with keeping #2219 for #2213. It covers the four safety fields this PR addressed and adds explicit checks for zero duration, zero PR frames, and zero PR peak memory. Closing this draft in its favor. One test worth carrying forward when #2219 and #1884 are integrated is @RavenCurseBurg’s multi-block regression. It checks that an incomplete PR smoke block is reported in either position, before or after a valid block. Thanks for testing that interaction. |
The 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 Test suite: parallel cargo test intermittently dies with 0xc0000005 (hle::d3d12x queue_tests × list_x race) #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