Scripts: reject smoke comparisons with zero baseline frames #1496
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!1496
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@alpz1000 on GitHub · 2026-11-24 16:56 UTC · original
alpz1000:scripts/reject-zero-frame-smoke→main· +21 −1 · 2 files · 2 commits · openWhat 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.
@OrangeCrane1738 on GitHub · 2026-11-24 18:13 UTC · original
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.
@DavidM1911 on GitHub · 2026-11-24 18:53 UTC · original
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!
@DavidM1911 on GitHub · 2026-11-26 05:40 UTC · original
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
@gut0to on GitHub · 2026-11-24 18:52 UTC · original · reviewed
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.
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.