bench_wave64: report a skipped shader build before benchmarking (OLD-9938) #1054

Manually merged
github merged 1 commit from gh-pr/1054/head into gh-pr/1054/base 2026-11-26 09:35:34 +00:00
Owner

@⁠TanmaySatyam on GitHub · 2026-11-24 17:23 UTC · original
TanmaySatyam:fix/old-9938-bench-wave64-skip → main · +22 −3 · 2 files · 1 commits · merged 2026-11-24 22:19 UTC

Summary

Claims and carries OLD-9938 (Draft PR #205, old-pr/9938 authored by @⁠AGInformatique81, original authorship preserved cleanly onto main):

  • Updates scripts/bench_wave64.py (uild()) to check whether the expected /spirv/.spv artifact was produced and exit cleanly with the builder's reason when a shader fixture is skipped instead of continuing into the benchmark with a missing file/traceback.
  • Adds est_skipped_shader_reports_builder_reason_without_a_traceback in ests/test_bench_wave64.py covering both native and --emulated-only modes.

Verification

  • Unit & policy tests (Windows 11, Python 3.12, NVIDIA GeForce RTX 5070 host; no GPU required for this test):
    • python -I tests/test_bench_wave64.py -> 15/15 OK (0.329 s)
    • python -I tests/test_text_write_line_endings.py -> 3/3 OK
    • python -m compileall -q scripts/bench_wave64.py tests/test_bench_wave64.py -> exit
**@⁠TanmaySatyam** on GitHub · 2026-11-24 17:23 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1054) `TanmaySatyam:fix/old-9938-bench-wave64-skip` → `main` · +22 −3 · 2 files · 1 commits · merged 2026-11-24 22:19 UTC ### Summary Claims and carries **OLD-9938** (Draft PR #205, old-pr/9938 authored by @⁠AGInformatique81, original authorship preserved cleanly onto main): - Updates scripts/bench_wave64.py (uild()) to check whether the expected <out>/spirv/<name>.spv artifact was produced and exit cleanly with the builder's reason when a shader fixture is skipped instead of continuing into the benchmark with a missing file/traceback. - Adds est_skipped_shader_reports_builder_reason_without_a_traceback in ests/test_bench_wave64.py covering both native and --emulated-only modes. ### Verification - **Unit & policy tests (Windows 11, Python 3.12, NVIDIA GeForce RTX 5070 host; no GPU required for this test):** - python -I tests/test_bench_wave64.py -> 15/15 OK (0.329 s) - python -I tests/test_text_write_line_endings.py -> 3/3 OK - python -m compileall -q scripts/bench_wave64.py tests/test_bench_wave64.py -> exit
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:35:29 +00:00
github manually merged commit bdfb03cfd1 into gh-pr/1054/base 2026-11-26 09:35:34 +00:00
Author
Owner

@⁠KernelSmoker on GitHub · 2026-11-24 17:30 UTC · original · approved these changes

Verified on exact head bdfb03cfd1 (base 32950551e8). tests/test_bench_wave64.py passes 15/15 on Linux, including the missing ms_tri fixture in native and emulated-only modes; line-ending tests pass 3/3. Changed-file no-game-data and diff checks pass; merge-tree onto current main is clean. The regression verifies the builder reason is shown without a traceback. No GPU run is needed or claimed.

**@⁠KernelSmoker** on GitHub · 2026-11-24 17:30 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1054#pullrequestreview-6044210967) · **approved these changes** Verified on exact head bdfb03cfd1f152f6c83b8e2fd41046b1c8b59dc9 (base 32950551e83760c6ccf1564cd22737dfe4852d78). `tests/test_bench_wave64.py` passes 15/15 on Linux, including the missing `ms_tri` fixture in native and emulated-only modes; line-ending tests pass 3/3. Changed-file no-game-data and diff checks pass; merge-tree onto current main is clean. The regression verifies the builder reason is shown without a traceback. No GPU run is needed or claimed.
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 22:19 UTC · original

Merging.

Why merged: OLD-9938: bench_wave64 says which shader build was skipped instead of failing later with a less useful error. KernelSmoker checked it.

Why it's good: test_bench_wave64: 15/15.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 22:19 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1054#issuecomment-7146095142) Merging. **Why merged:** OLD-9938: bench_wave64 says which shader build was skipped instead of failing later with a less useful error. KernelSmoker checked it. **Why it's good:** test_bench_wave64: 15/15. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.