Scripts: reject smoke comparisons with zero baseline frames #1496

Open
github-bot wants to merge 2 commits from github-bot/gh-1496 into main AGit
Owner

@⁠alpz1000 on GitHub · 2026-11-24 16:56 UTC · original
alpz1000:scripts/reject-zero-frame-smoke → main · +21 −1 · 2 files · 2 commits · open

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

  • Added checks for the zero-frame pair and for a PR that displays frames when main does not.
  • python -m unittest discover -s scripts: 18 passed on Windows.
  • git diff --check passed.

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.

**@⁠alpz1000** on GitHub · 2026-11-24 16:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/1496) `alpz1000:scripts/reject-zero-frame-smoke` → `main` · +21 −1 · 2 files · 2 commits · open **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](https://git.gtahub.st/github/xcl-dev--xcl/issues/717). **Tested** - Added checks for the zero-frame pair and for a PR that displays frames when main does not. - `python -m unittest discover -s scripts`: 18 passed on Windows. - `git diff --check` passed. **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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:55:36 +00:00
Author
Owner

@⁠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 main dies before its first frame ("the main run may [crash]: a PR that fixes a crash shows it there"). On a PC without Gaming Services, main fail-fasts about 1 s in with frames shown: 0 (the runs in #717), while #235's head shows 977 frames, so this check would ask for a main run 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.

**@⁠OrangeCrane1738** on GitHub · 2026-11-24 18:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/1496#issuecomment-7140328399) One case this refuses that CONTRIBUTING.md allows: a PR that fixes a crash where `main` dies before its first frame ("the `main` run may [crash]: a PR that fixes a crash shows it there"). On a PC without Gaming Services, `main` fail-fasts about 1 s in with `frames shown: 0` (the runs in #717), while #235's head shows 977 frames, so this check would ask for a `main` run 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.
Author
Owner

@⁠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 unmodified main.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 18:53 UTC · [original](https://github.com/xcl-dev/xcl/pull/1496#issuecomment-7141298958) 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 unmodified `main`.) Thanks!
Author
Owner

@⁠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=1 rerun (1305 passed, 0 failed, 27 ignored, 82s). Intermittent single-test flake — tracked in #1978.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 05:40 UTC · [original](https://github.com/xcl-dev/xcl/pull/1496#issuecomment-7183699657) 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=1` rerun (**1305 passed, 0 failed, 27 ignored**, 82s). Intermittent single-test flake — tracked in #1978. Thanks! — Devin
Author
Owner

@⁠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.

**@⁠gut0to** on GitHub · 2026-11-24 18:52 UTC · [original](https://github.com/xcl-dev/xcl/pull/1496#pullrequestreview-6045382705) · **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.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1496/head:github-bot/gh-1496'
git switch 'github-bot/gh-1496'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1496'
git switch 'github-bot/gh-1496'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1496'
git switch 'github-bot/gh-1496'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1496'
git switch 'main'
git merge --squash 'github-bot/gh-1496'
git switch 'main'
git merge --ff-only 'github-bot/gh-1496'
git switch 'main'
git merge 'github-bot/gh-1496'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.