PR checks: a smoke block's commit is its first word, and fewer than 7… #834
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!834
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-834"
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?
@Rareuncommon on GitHub · 2026-11-24 06:30 UTC · original
Rareuncommon:scripts/pr-check-smoke-commit→main· +41 −2 · 2 files · 1 commits · openscripts/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
@milas6669 on GitHub · 2026-11-24 06:42 UTC · original
Test report on
c0479fd(PR head, basemainbeaa245, no merge conflict with main or with #835).Tested
cd scripts && python -m unittest test_pr_check: 7 tests, OK on this head. The same command onmainbeaa245: 3 tests, OK.Not tested
pr-check.ymlon GitHub); I only ran the unit tests locallyAI use
@dcastell1 on GitHub · 2026-11-24 07:09 UTC · original
Ran the script tests on this tree after applying the PR (Debian 13, Python 3.13.14, no other changes):
(The file uses
from pr_check import check, so it needs the script directory assys.path[0];python -Istrips that and fails withModuleNotFoundError, which is why the repo's CI invocation matters here.)AI-assisted (opencode): applied, ran, reverted.
@DavidM1911 on GitHub · 2026-11-25 10:27 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.