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

Closed
mikebuckets171 wants to merge 1 commit from upstream-pr/536 into main
mikebuckets171 commented 2026-11-24 01:31:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T01:31:12Z.


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.

<!-- greyfinch-sync:ivall/xcl:issue:6572548337 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/536). Originally posted by [mikebuckets171](https://github.com/mikebuckets171) on 2026-11-24T01:31:12Z. --- 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.
arcwiser commented 2026-11-24 07:05:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by arcwiser on 2026-11-24T01:37:11Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7119280877 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/536#issuecomment-7119280877). Originally posted by [arcwiser](https://github.com/arcwiser) on 2026-11-24T01:37:11Z. --- 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.
upipibi commented 2026-11-24 07:06:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-24T05:32:37Z.


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).

<!-- greyfinch-sync:ivall/xcl:comment:7123046163 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/536#issuecomment-7123046163). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-24T05:32:37Z. --- 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).
mikebuckets171 commented 2026-11-24 07:06:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T05:51:13Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7123336363 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/536#issuecomment-7123336363). Originally posted by [mikebuckets171](https://github.com/mikebuckets171) on 2026-11-24T05:51:13Z. --- 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.
upstream-sync closed this pull request 2026-11-25 01:08:37 +00:00
mikebuckets171 commented 2026-11-25 01:10:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-25T00:23:23Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7148458266 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/536#issuecomment-7148458266). Originally posted by [mikebuckets171](https://github.com/mikebuckets171) on 2026-11-25T00:23:23Z. --- 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

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!531
No description provided.