Repository navigation
Scripts: require the current smoke baseline - #2406
mokkamokacaffe wants to merge 2 commits into
Conversation
The PR checker treated missing or malformed crash, device-removal, exit, and peak-commit lines as clean values. Require the generated safety fields, parse counters and memory strictly, and accept only a successful 0x0 exit for the PR run.\n\nFixes xcl-dev#2213\n\nAssisted-by: OpenAI Codex (GPT-5)
The description check accepted any ancestor of main, including old or dirty runs, and silently selected the first of several matching baselines. Pass the PR's exact base SHA into the checker, require a clean block from that revision, and reject ambiguous same-title/time baselines.\n\nFixes xcl-dev#2226\n\nAssisted-by: OpenAI Codex (GPT-5)
|
Tested commit Environment
Results
|
|
Tested
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. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
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. |
Stacked 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 Test suite: parallel cargo test intermittently dies with 0xc0000005 (hle::d3d12x queue_tests × list_x race) #1978.Regression run
Not tested
pull_request_targetexecution of this changed workflow on GitHub Actions.AI use