PR checks: a PR that fixes a crash is refused when main's run crashed before its end #1506
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#1506
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Conrage on GitHub · 2026-11-24 17:04 UTC · original
Since
1d83fd1(#1133),field_problemsalso checks the main smoke block, and aframes shownthat is not a number is reported:github.com/ivall/xcl@b7aa9f3/scripts/pr_check.py (L61-L68)github.com/ivall/xcl@b7aa9f3/scripts/pr_check.py (L150-L153)But
scripts/smoke.ps1writes exactly that when the run doesn't reach its end, which is what a crash on main looks like:github.com/ivall/xcl@b7aa9f3/scripts/smoke.ps1 (L54)CONTRIBUTING allows this case ("the
mainrun may: a PR that fixes a crash shows it there"), but a crash-fix PR can no longer pass.Repro (run locally): a main block with
crashes: 1,exit: 0xc0000005and theframes shownline above, plus a clean PR block of the same title and time, for a PR touchingcrates/xcl/src/vfs.rs:1d83fd1(930e8b4):check()returns[]b7aa9f3:['the main regression run (`xcl-smoke` block of commit 1111111aaaa) has a non-numeric `frames shown`: none logged (the run did not reach its end)']Expected: a main block whose run crashed or didn't end (its
crashes/exitshow it, orframes shownis smoke.ps1's "none logged" text) is not refused for a non-numericframes shown. The PR's own block should keep the check.Suggested fix: skip the
SMOKE_NUMBERScheck offrames shownfor the main block when it is smoke.ps1's "none logged" text. #1112 adds a similar "main crashed" condition for the peak-commit limit and could share it.Not tested:
check()was run locally on both commits; no real smoke run.AI use: found, checked and written up by Claude Code (Claude Opus 5.5) at my request.
github-bot referenced this issue2026-11-26 05:03:46 +00:00
@DarkPanda69 on GitHub · 2026-11-24 17:08 UTC · original
I'm taking this one. Plan:
field_problemsaccepts smoke.ps1's "none logged"frames shownonly for main's block (amay_crashflag set where main's block is checked), so the PR's own block keeps the check. Two tests intest_pr_check.py: a main block that crashed passes (fails onb7aa9f3), and a PR block with the same text still fails. Script-only change; the PR follows.AI use: Claude Code (Claude Opus 5.5) wrote the fix and the tests.