PR checks: two xcl-smoke blocks in one code fence are read as two #988
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!988
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/988/head"
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?
@aarushkha on GitHub · 2026-11-24 09:56 UTC · original
aarushkha:pr-checks-smoke-blocks-one-fence→main· +19 −3 · 2 files · 1 commits · merged 2026-11-24 10:10 UTCsmoke_blocks()ended anxcl-smoke v1block only at the next code fence, so when main's and the PR's blocks were pasted inside one fence the first match took both: the second block's keys overwrote the first's and the check reported the main run as missing. A block now also ends at the nextxcl-smoke v1header. Fixes #966.What is in it
scripts/pr_check.py: the block regex stops at the nextxcl-smoke v1line (lookahead) as well as at a fence or the endscripts/test_pr_check.py: two blocks in one fence are read as two (andcheck()then finds main's run); blocks in separate fences stay separateTested
XCL_D3D12_DIR, Rust 1.100.0 (stable-x86_64-pc-windows-msvc), debugpython scripts/test_pr_check.py: 5 passed; the newtest_two_blocks_in_one_fence_are_two_blocksfailed before the fix (['1234567890']instead of both commits)cargo build --workspace && cargo test --workspace -- --test-threads=4: 724 passed, 0 failed, 41 ignored (run on main9aec53dwith this diff in the working tree; the diff touches no Rust)gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
crates/xcl/srcchangesNot tested
PR checksworkflow itself on a real PR body with both blocks in one fence (only the unit tests above)AI use
🤖 Generated with Claude Code
@ivall on GitHub · 2026-11-24 10:10 UTC · original
Merged in
6efdabc.python scripts/test_pr_check.py: 5 tests OK on the merged tree; with main'spr_check.pythe new one-fence test fails, as expected. Thanks, also for the separate-fences case.