PR checks: two xcl-smoke blocks pasted in one code fence are read as one #966
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#966
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 09:37 UTC · original
smoke_blocks()reads a block fromxcl-smoke v1up to the next code fence:github.com/ivall/xcl@077ce40/scripts/pr_check.py (L31)If both blocks (main's and the PR's) are pasted inside one fenced block, the first match takes both. The second block's keys overwrite the first's (
commitbecomes the PR's), and the check then reports that the main run is missing.Repro (run locally):
Suggested fix: end a block at the next
xcl-smoke v1line as well as at a fence, e.g.r"xcl-smoke v1\s*\n(.*?)(?=xcl-smoke v1|```|\Z)".AI use: found, checked and written up by Claude Code (Claude Opus 5.5) at my request.
@ivall on GitHub · 2026-11-24 10:10 UTC · original
Fixed by #988 (
6efdabc): a block now also ends at the nextxcl-smoke v1line, so two blocks pasted in one fence are read as two. Thanks for the repro.