Repository navigation
PR checks: a smoke block's commit is its first word, and fewer than 7… - #834
Open
Rareuncommon wants to merge 1 commit into
Open
Rareuncommon wants to merge 1 commit into
Rareuncommon wants to merge 1 commit into
Conversation
Contributor
|
Test report on Tested
Not tested
AI use
|
|
Ran the script tests on this tree after applying the PR (Debian 13, Python 3.13.14, no other changes): (The file uses AI-assisted (opencode): applied, ran, reverted. |
phantomic12
pushed a commit
to phantomic12/xcl
that referenced
this pull request
Nov 24, 2026
…ree surveys The harness reads d3d12.last_frame_dump from report.json (sampled_pixels / non_dark_samples) instead of parsing BMPs - that is the number XCL already computes, and it is what issue ivall#717 proposes to put in the smoke block. -MinLitPct (default 1) fails a run whose last frame is dark, so a black screen cannot be reported as a pass. Surveys committed (docs/): - bcpack-decoder-plan.md: BCPack is already staked out upstream by ivall#888/ivall#856/ivall#832, and no public bit layout exists - the seam is definable but every stream detail is 'unknown - needs a sample'. - upstream-scan.md: 17 PRs and 25 issues touch this area; the smoke block format is maintainer-owned (ivall#834/ivall#835/ivall#717) and our summary.md is not an xcl-smoke v1 block. - trap-695-not-reproduced.md: issue ivall#695's int3 at +0x4dcbc9d does not happen on this AMD RDNA2 machine over 6 consecutive 120 s runs, with the same shader and PSO refusals - a data point for that issue. Windows PowerShell 5.1's Get-Content -Raw mangles the en-dash in the 'backend' line, so the GPU name is read with [IO.File]::ReadAllText.
Rareuncommon
force-pushed
the
scripts/pr-check-smoke-commit
branch
from
November 24, 2026 14:50
c0479fd to
b94854e
Compare
… digits name no commit The run on the PR's head was found by measuring the whole `commit:` value (7 or more characters) and then comparing only its first word with the head. A block with `commit: 1 some other` therefore passed as a clean run on any head that starts with 1. The same first word now decides both, as it already did for main's block. scripts/test_pr_check.py: four tests of which block is the PR's run; one fails on the check before. Assisted-by: Claude Code (Claude Fable 5.2)
Rareuncommon
force-pushed
the
scripts/pr-check-smoke-commit
branch
from
November 24, 2026 14:50
b94854e to
f0bc702
Compare
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/pr_check.pyfound the regression run made on the PR's head by measuring the wholecommit:value of anxcl-smokeblock (7 or more characters) and then comparing only its first word with the head. A block withcommit: 1 some othertherefore passed as a clean run on any head that starts with1. The first word now decides both, as it already did for main's block.Rebased on main
930e8b4(f0bc702replacesc0479fd; the change is the same).What is in it
scripts/pr_check.py: onesha(b)(the first word of a block'scommit:line) used for the PR's block and for main's; fewer than 7 digits name no commit. +4 −2.scripts/test_pr_check.py:SmokeBlockCommitTests, four tests of which block counts as the PR's run (the head in full and abbreviated, a short first word, another commit, uncommitted changes). +37, placed afterSmokeBlockTestsso it does not collide with tests other PRs append.Tested
cd scripts && python3 -m unittest test_pr_check: 13 passed. Against main'spr_check.py:test_a_short_first_word_names_no_commitfails, the other 12 pass.check()compared on the descriptions of 1,029 PRs of this repository (all states), each with its own head commit and a runtime file in the file list: no verdict changes.930e8b4: 25 tests pass.Regression run
Not tested
cargo test --workspaceand the GPU suite were not run; this PR changes no Rust.PR checksworkflow on GitHub's runner.AI use