Scripts: reject smoke comparisons with zero baseline frames #1486
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1496"
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 alpz1000 on 2026-11-24T16:56:15Z.
What is in it
The regression check rejects a pair of smoke runs when both show zero frames. Such a pair cannot demonstrate that the PR preserved displayed frames.
If main shows zero frames and the PR shows frames, the pair remains valid. This allows a fix for a crash before the first frame, as noted in review.
This addresses the zero-frame pair reported in issue #717.
Tested
python -m unittest discover -s scripts: 18 passed on Windows.git diff --checkpassed.Not tested
Retail launches. This change affects the PR checker and its unit tests.
AI use
OpenAI Codex (GPT-6) implemented the change, ran the tests, and drafted this description.
Imported from ivall/xcl. Originally posted by gut0to on 2026-11-24T18:52:53Z.
Review: COMMENTED
The focused comparison tests are useful. CONTRIBUTING.md also requires the full workspace GPU suite, with pass/fail/ignored counts and skipped-test names; this description reports only the Python tests. Please add the full-suite result before merge. AI-assisted review; I checked the Tested section against the guide.
Imported from ivall/xcl. Originally posted by OrangeCrane1738 on 2026-11-24T18:13:07Z.
One case this refuses that CONTRIBUTING.md allows: a PR that fixes a crash where
maindies before its first frame ("themainrun may [crash]: a PR that fixes a crash shows it there"). On a PC without Gaming Services,mainfail-fasts about 1 s in withframes shown: 0(the runs in #717), while #235's head shows 977 frames, so this check would ask for amainrun that can't be made. The new test asserts exactly that case (pr_frames=100) as a failure. Refusing only when both blocks show 0 frames would still catch the dead pair from #717 and let a fix like #235 through.AI use: Claude Opus 5.5 (in the Claude app) read the diff and drafted this; I checked it against CONTRIBUTING.md.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T18:53:35Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T05:40:22Z.
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: 1 failure under parallel scheduling; clean on--test-threads=1rerun (1305 passed, 0 failed, 27 ignored, 82s). Intermittent single-test flake — tracked in #1978.Thanks!
— Devin
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:32:50Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T05:55:58Z.
Triage (#1607) – head
d96114cNo open or merged PR makes the same change to scripts/pr_check.py.
The title says comparisons with zero baseline frames are rejected, but the code rejects only when both runs show zero frames; a main run with 0 frames and a PR run with frames still passes (and the second test asserts that). Consider making the title match.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.