PR checks: a regression run that exits abnormally is refused #536

Closed
github-bot wants to merge 1 commit from gh-pr/536/head into gh-pr/536/base
Owner

@⁠mikebuckets171 on GitHub · 2026-11-24 01:31 UTC · original
mikebuckets171:check-smoke-exit → main · +37 −1 · 2 files · 1 commits · closed without merging

smoke.ps1 records the exit code, but pr_check.py only refused runs marked killed, so a run ending in 0xc0000005 with no logged crash passed. The PR run now needs exit 0x0; the main run may still crash.

Tested
python3 -I scripts/test_pr_check_exit.py on macOS: 3 passed, 0 failed (the abnormal-exit case failed before the fix).

Not tested
Windows; the Rust suite (no runtime change).

AI use
OpenCode with GPT-6.2 Astra wrote the change and test; reviewed by the author.

**@⁠mikebuckets171** on GitHub · 2026-11-24 01:31 UTC · [original](https://github.com/xcl-dev/xcl/pull/536) `mikebuckets171:check-smoke-exit` → `main` · +37 −1 · 2 files · 1 commits · closed without merging smoke.ps1 records the exit code, but pr_check.py only refused runs marked killed, so a run ending in 0xc0000005 with no logged crash passed. The PR run now needs exit 0x0; the main run may still crash. **Tested** python3 -I scripts/test_pr_check_exit.py on macOS: 3 passed, 0 failed (the abnormal-exit case failed before the fix). **Not tested** Windows; the Rust suite (no runtime change). **AI use** OpenCode with GPT-6.2 Astra wrote the change and test; reviewed by the author.
smoke.ps1 records the process exit code, but pr_check.py only refused a run marked killed. A run that ended with an access violation (0xc0000005) whose crash never reached XCL's log passed with crashes: 0. The PR's run now needs exit 0x0; main's run may still crash, so a PR that fixes a crash keeps passing.

Tested: python3 -I scripts/test_pr_check_exit.py (3 passed; the abnormal-exit case failed before the fix).

Assisted-by: OpenCode (GPT-6.2 Astra)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:24:57 +00:00
github-bot closed this pull request 2026-11-26 04:24:57 +00:00
Author
Owner

@⁠arcwiser on GitHub · 2026-11-24 01:37 UTC · original

Tested exact head e9b018628aab991abcc0fef11513e49af26c1ce5 on Windows.

  • python -I scripts/test_pr_check_exit.py: 3 passed, 0 failed.
  • .\scripts\test.ps1: workspace build passed; 680 passed, 0 failed, 41 ignored.
  • GPU tests reported 2 skips (both no wave64): gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware. These skips are not counted as coverage.
  • XCL_SAMPLE_* variables were unset, so optional game-data tests did not run.

Machine: Windows 11 Home build 26200; AMD Ryzen 5 7500F; NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 610.88; Rust 1.100.0 MSVC; DXC 1.9.2602.17 from Windows SDK 10.0.28000.0; debug profile.

AI use: OpenAI Codex with GPT-5 selected the verification scope, ran the commands, and drafted this report; I am posting only the measured results above.

**@⁠arcwiser** on GitHub · 2026-11-24 01:37 UTC · [original](https://github.com/xcl-dev/xcl/pull/536#issuecomment-7119280877) Tested exact head `e9b018628aab991abcc0fef11513e49af26c1ce5` on Windows. - `python -I scripts/test_pr_check_exit.py`: **3 passed, 0 failed**. - `.\scripts\test.ps1`: workspace build passed; **680 passed, 0 failed, 41 ignored**. - GPU tests reported **2 skips** (both `no wave64`): `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware`. These skips are not counted as coverage. - `XCL_SAMPLE_*` variables were unset, so optional game-data tests did not run. Machine: Windows 11 Home build 26200; AMD Ryzen 5 7500F; NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 610.88; Rust 1.100.0 MSVC; DXC 1.9.2602.17 from Windows SDK 10.0.28000.0; debug profile. AI use: OpenAI Codex with GPT-5 selected the verification scope, ran the commands, and drafted this report; I am posting only the measured results above.
Author
Owner

@⁠upipibi on GitHub · 2026-11-24 05:32 UTC · original

Full-suite run on this PR's head e9b0186, for the counts CONTRIBUTING.md item 2 asks for (the description has the pr_check tests only):

Tested

  • NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug
  • cargo build --workspace then cargo test --workspace --no-fail-fast -- --test-threads=4: 680 passed, 0 failed, 41 ignored (16 test binaries, the e2e title included)
  • SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64)

Not tested: AMD / wave64; no retail title (this PR changes only scripts/, so no regression run is needed).

AI-assisted (Claude Code).

**@⁠upipibi** on GitHub · 2026-11-24 05:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/536#issuecomment-7123046163) Full-suite run on this PR's head `e9b0186`, for the counts CONTRIBUTING.md item 2 asks for (the description has the `pr_check` tests only): **Tested** - NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug - `cargo build --workspace` then `cargo test --workspace --no-fail-fast -- --test-threads=4`: **680 passed, 0 failed, 41 ignored** (16 test binaries, the e2e title included) - SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64) **Not tested:** AMD / wave64; no retail title (this PR changes only `scripts/`, so no regression run is needed). AI-assisted (Claude Code).
Author
Owner

@⁠mikebuckets171 on GitHub · 2026-11-24 05:51 UTC · original

Rebased onto main 3bc23e6 — no other change: the patch is byte-identical to the e9b0186 that @⁠arcwiser and @⁠upipibi ran (git patch-id --stable on both commits: d9908eb844db90b4d27d73303eb17f5bae54565c), so their counts still describe this head. Here it was checked on the one thing the diff is made of: python3 -I scripts/test_pr_check_exit.py on macOS → 3 passed, and scripts/pr_check.py --local still validates the descriptions of the PRs this bench has open.

**@⁠mikebuckets171** on GitHub · 2026-11-24 05:51 UTC · [original](https://github.com/xcl-dev/xcl/pull/536#issuecomment-7123336363) Rebased onto `main` `3bc23e6` — no other change: the patch is byte-identical to the `e9b0186` that @⁠arcwiser and @⁠upipibi ran (`git patch-id --stable` on both commits: `d9908eb844db90b4d27d73303eb17f5bae54565c`), so their counts still describe this head. Here it was checked on the one thing the diff is made of: `python3 -I scripts/test_pr_check_exit.py` on macOS → **3 passed**, and `scripts/pr_check.py --local` still validates the descriptions of the PRs this bench has open.
Author
Owner

@⁠mikebuckets171 on GitHub · 2026-11-25 00:23 UTC · original

Closing to keep my queue focused on the macOS lane (#258): this change is PR-check policy, not the Mac port or the title's behaviour on Apple Silicon. Nothing is lost — the patch is byte-identical to e9b0186 (patch-id d9908eb844db90b4d27d73303eb17f5bae54565c) that @⁠arcwiser and @⁠upipibi ran, and their counts still describe it. Reopening is one click if anyone wants it reviewed.

**@⁠mikebuckets171** on GitHub · 2026-11-25 00:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/536#issuecomment-7148458266) Closing to keep my queue focused on the macOS lane (#258): this change is PR-check policy, not the Mac port or the title's behaviour on Apple Silicon. Nothing is lost — the patch is byte-identical to `e9b0186` (`patch-id` `d9908eb844db90b4d27d73303eb17f5bae54565c`) that @⁠arcwiser and @⁠upipibi ran, and their counts still describe it. Reopening is one click if anyone wants it reviewed.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.