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

Open
opened 2026-11-26 21:19:48 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2026
Author: @alexandersato0830
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: codex/gpu-runner-replay-no-cases


📝 Commits (1)

  • 85e522c Reject GPU disassembly replays with no runnable tests

📊 Changes

2 files changed (+20 additions, -4 deletions)

View changed files

📝 scripts/run_gpu_tests.py (+3 -2)
📝 tests/test_run_gpu_tests.py (+17 -2)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2026 **Author:** [@alexandersato0830](https://github.com/alexandersato0830) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/gpu-runner-replay-no-cases` --- ### 📝 Commits (1) - [`85e522c`](https://github.com/ubiquitarianism/leonida/commit/85e522c3b03d45d246a93396d3ff30b02ae48519) Reject GPU disassembly replays with no runnable tests ### 📊 Changes **2 files changed** (+20 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `scripts/run_gpu_tests.py` (+3 -2) 📝 `tests/test_run_gpu_tests.py` (+17 -2) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#2032
No description provided.