Repository navigation
Conversation
Reject nonzero, missing or malformed PR smoke exit codes rather than accepting them when the log contains no crash line. Keep failing main baselines allowed. Assisted-by: Codex (GPT-6)
|
Tested exact head Tested
Not tested
AI use
|
|
Two contributors checked independently and found that this PR makes the same change as #536: #1607, group D64. They suggest keeping #536. 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. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
#536 made the same change (refuse a PR smoke block whose exit is not 0x0) and is closed. #2219 also refuses a non-zero or missing PR exit, as part of a wider check that the PR's block has every field in smoke.ps1's form; the two edit the same lines in AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
A runtime PR's smoke block with
exit: 0xc0000005andcrashes: 0was accepted: the checker only rejected exits beginning withkilled. Missing or malformed exits also passed. Require the PR run to report hexadecimal zero, matchingscripts/smoke.ps1's output. A failing main baseline remains allowed.What is in it
scripts/pr_check.py: reject nonzero, absent or malformed PR exit codes; retain the timeout diagnostic.scripts/test_pr_check_smoke_exit.py: six tests for valid exits, failures without logged crashes, missing/malformed exits, timeout, failing baselines and nonruntime changes.Tested
508a0c74d7c0625d6d2de8d24494e69dc2e1926f, with the uncommitted patch applied.python -B -m unittest discover -s scripts -p test_pr_check_smoke_exit.py -v: six tests pass after the fix. Before the fix, eight subcases fail across the nonzero and missing/malformed test methods.scripts/test.ps1: build succeeds; 680 passed, 0 failed, 41 ignored; exit 0. GPU skips: 84 no GPU, 2 no wave64 (Windows 10/Agility limitation; not GPU coverage).git diff --check: passes.Not tested
check().AI use