Scripts: require the current smoke baseline #2406
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!2406
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2406"
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?
@mokkamokacaffe on GitHub · 2026-11-25 17:54 UTC · original
mokkamokacaffe:scripts/exact-smoke-baseline→main· +104 −46 · 3 files · 2 commits · draftStacked on #2388; only commit
82bc450belongs to this PR. Once #2388 merges, this branch will be rebased ontomain.The description checker accepted a smoke baseline from any historical ancestor of
main, including runs marked with uncommitted changes. When several baselines matched the PR run, it silently selected the first one.Fixes #2226.
What is in it
.github/workflows/pr-check.yml: pass the pull request's exact base SHA to the description checker.scripts/pr_check.py: require the baseline smoke block to name that exact base revision instead of accepting any ancestor ofmain.scripts/test_pr_check.py: cover exact-base acceptance, old-baseline rejection, dirty baselines and ambiguous matching baselines.Tested
python -I -m unittest discover -s scripts -p "test_*.py" -v— 30 passed, 0 failed.git diff --check: passed.82bc450: focused checker suite — 18 passed, 0 failed..\scripts\test.ps1: 1215 passed, 5 failed, 26 ignored. The reported pre-existing GPU failures were four DXIL fuzz-testE_OUTOFMEMORYfailures and the bridged-mask barrier assertion.82bc4503a6d5: 38 generated CLI cases all returned the expected status and diagnostic. Coverage included block ordering, unrelated historical blocks, old/dirty/duplicate baselines, duration mismatches, and the 80%-frames/125%-memory boundaries.main:cargo test -p xcl --libreported 1038 passed, 1 failed under parallel scheduling; the failing test passed on a single-threaded rerun (1039 passed, 0 failed). The intermittent0xc0000005parallel-suite failure is tracked separately in #1978.Regression run
Not tested
pull_request_targetexecution of this changed workflow on GitHub Actions.AI use
@FIJI1299 on GitHub · 2026-11-25 18:02 UTC · original
Tested commit
82bc450on Windows:Environment
621.35,wave32)1.8.2502.11(Windows SDK10.0.26100.0)Results
python -m unittest discover -s scripts -t scripts -p "test_pr_check.py" -v): 18 passed, 0 failed (0.006s), includingtest_main_block_must_be_the_exact_pr_base,test_main_block_must_come_from_a_clean_checkout, andtest_several_matching_main_blocks_are_ambiguous..\scripts\test.ps1): 1215 passed, 5 failed, 26 ignored — the 5 failures are pre-existinggpu::*issues on this adapter (E_OUTOFMEMORY0x8007000Eonfuzz_validate_and_gpu_0..3with this driver, anda_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier).13(no wave64),3(wave32unsupported VOP3 modifiers),1(driver cache disable requires Windows Developer Mode:0x887A002D).@RavenCurseBurg on GitHub · 2026-11-25 18:06 UTC · original · edited 2026-11-25 18:12 UTC
Tested
82bc4503a6d56f3ef88bc731c22f823d02150880with Python 3.14.3 on Windows 11 (build 26100.9711).82bc4503a6d5and fixture BASE89681182b554(its parent). Every exit status and expected diagnostic matched. The checker selected the matching title and duration in every block order, including descriptions with an unrelated title, duration or historical revision. An old-only or dirty baseline, duplicate matching baselines, and a mismatched duration all failed. The 80-frame / 1250 MB boundary against a 100-frame / 1000 MB baseline passed. At 79 frames or 1251 MB it failed.BASEfromgithub.event.pull_request.base.shaand passes it to the checker. The CLI usage already shows the flag. The contributor guide still allows “a commit of main” and the PR template just says “from main.” The two-file wording update spells out which baseline to run again when the base moves. All 18 checker tests, including the template tests, passed before and after that edit.These are synthetic local CLI checks. No hosted workflow, retail game, Rust suite or GPU workload ran. OpenAI Codex (GPT-6) ran the checks and prepared the documentation change and report.
@DavidM1911 on GitHub · 2026-11-25 19:28 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.Thanks!
@throny on GitHub · 2026-11-26 00:58 UTC · original
Two contributors checked independently and found that #2230 solves the same problem (for #2226) in a different way: #1607, group D117. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.
This is a hint from the community triage in #1607, not a maintainer decision.
AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
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.