Reject GPU disassembly replays with no runnable tests (GPU-RUNNER-REPLAY-NO-CASES) #2026

Merged
alexandersato0830 merged 1 commit from upstream-pr/2026 into main 2026-11-28 08:04:33 +00:00
alexandersato0830 commented 2026-11-25 18:29:49 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by alexandersato0830 on 2026-11-25T18:29:49Z.


Claimed in the coordination issue as: GPU-RUNNER-REPLAY-NO-CASES

What and why

--disasm-dir can select benchmark inputs or shaders that are built as dependencies without running any GPU tests. A replay with only cs_bench_mix.s prints 0/0 passed and exits 0 when --filter is absent. Report the same selection error as --filter and name the replay directory.

Tested

  • The new replay regression fails on b9320a118 with exit 0 and 0/0 passed, then passes with the fix.
  • python -I tests/test_run_gpu_tests.py (69 tests), python -I tests/test_run_gpu_tests_paths.py (21), and python -I tests/test_run_gpu_tests_python_assembler.py (10) all passed on Windows 11 with Python 3.11.17.
  • git diff --check and the source-only check passed.

GPUs tested: n/a (synthetic listings and runner tests)

AI-assisted: yes (Codex)

Checklist

  • Based on current main.
  • One topic.
  • No game data, keys or decryption.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5496919682 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2026). Originally posted by [alexandersato0830](https://github.com/alexandersato0830) on 2026-11-25T18:29:49Z. --- Claimed in the coordination issue as: [GPU-RUNNER-REPLAY-NO-CASES](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7170959711) ### What and why `--disasm-dir` can select benchmark inputs or shaders that are built as dependencies without running any GPU tests. A replay with only `cs_bench_mix.s` prints `0/0 passed` and exits 0 when `--filter` is absent. Report the same selection error as `--filter` and name the replay directory. ### Tested - The new replay regression fails on `b9320a118` with exit 0 and `0/0 passed`, then passes with the fix. - `python -I tests/test_run_gpu_tests.py` (69 tests), `python -I tests/test_run_gpu_tests_paths.py` (21), and `python -I tests/test_run_gpu_tests_python_assembler.py` (10) all passed on Windows 11 with Python 3.11.17. - `git diff --check` and the source-only check passed. GPUs tested: n/a (synthetic listings and runner tests) AI-assisted: yes (Codex) ### Checklist - [x] Based on current `main`. - [x] One topic. - [x] No game data, keys or decryption.
DadaCap commented 2026-11-28 08:04:35 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T08:04:35Z.


Merged into main (merge commit ca0827cdc), approved by DadaCap (maintainer). Thanks!

Checked before merging: Tested in our local release candidate (main + 41 PRs): translator suite 512 files / 6,442 tests clean, Python suite with no new failure versus main, and 360 s game runs on an RTX 5080 with no regression. The merge was pinned to the head commit that was tested (85e522c3b).

AI-assisted (Claude Code), posted for DadaCap.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7236346556 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2026#issuecomment-7236346556). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-28T08:04:35Z. --- Merged into `main` (merge commit ca0827cdc), approved by DadaCap (maintainer). Thanks! Checked before merging: Tested in our local release candidate (main + 41 PRs): translator suite 512 files / 6,442 tests clean, Python suite with no new failure versus main, and 360 s game runs on an RTX 5080 with no regression. The merge was pinned to the head commit that was tested (85e522c3b). _AI-assisted (Claude Code), posted for DadaCap._
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
ProjectLeonida/mandy!2026
No description provided.