PR checks: two xcl-smoke blocks in one code fence are read as two #982
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/988"
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?
Imported from ivall/xcl. Originally posted by aarushkha on 2026-11-24T09:56:14Z.
smoke_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
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T10:10:14Z.
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.upstream-sync referenced this pull request2026-11-24 19:06:45 +00:00