Add a fresh pipeline cache regression check #6

Manually merged
github merged 1 commit from gh-pr/6/head into gh-pr/6/base 2026-11-26 05:50:44 +00:00
Owner

@⁠HandshakeHackin on GitHub · 2026-11-25 15:21 UTC · original
HandshakeHackin:test/fresh-pipeline-cache → beta · +41 −0 · 1 files · 1 commits · merged 2026-11-25 16:17 UTC

Follow-up to #3. The script runs the Windows shader pre-build with an empty input folder and a temporary cache, then checks that the pipelines directory exists. It needs no game files.

From the repo root: py -3 tests/check_cold_cache.py target/release/victory.exe

I exercised three cases with stand-in executables on Linux: successful setup, a missing pipelines directory, and a command failure. The exit codes and temporary-directory cleanup matched expectations in all three cases. A run against the actual Windows builds is pending.

**@⁠HandshakeHackin** on GitHub · 2026-11-25 15:21 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/6) `HandshakeHackin:test/fresh-pipeline-cache` → `beta` · +41 −0 · 1 files · 1 commits · merged 2026-11-25 16:17 UTC Follow-up to #3. The script runs the Windows shader pre-build with an empty input folder and a temporary cache, then checks that the pipelines directory exists. It needs no game files. From the repo root: `py -3 tests/check_cold_cache.py target/release/victory.exe` I exercised three cases with stand-in executables on Linux: successful setup, a missing pipelines directory, and a command failure. The exit codes and temporary-directory cleanup matched expectations in all three cases. A run against the actual Windows builds is pending.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:50:41 +00:00
github manually merged commit f3e3dae770 into gh-pr/6/base 2026-11-26 05:50:44 +00:00
Author
Owner

@⁠HandshakeHackin on GitHub · 2026-11-25 16:34 UTC · original · edited 2026-11-25 16:49 UTC

Verified on Windows at 45546f9: the fresh-cache test and both CLI tests passed, and zero-second warm-up stopped at its deadline. The fresh-cache test ran against a newly built victory.exe with an empty input directory.

I also ran the same regression script against the original d0ed1ac executable. It exited with FAIL: pre-build returned without creating cache/pipelines, confirming that it catches the original defect.

Fixed beta run · Historical comparison

**@⁠HandshakeHackin** on GitHub · 2026-11-25 16:34 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/6#issuecomment-7168208331) · edited 2026-11-25 16:49 UTC Verified on Windows at `45546f9`: the fresh-cache test and both CLI tests passed, and zero-second warm-up stopped at its deadline. The fresh-cache test ran against a newly built `victory.exe` with an empty input directory. I also ran the same regression script against the original `d0ed1ac` executable. It exited with `FAIL: pre-build returned without creating cache/pipelines`, confirming that it catches the original defect. [Fixed beta run](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45653817210/job/139345022836) · [Historical comparison](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45656380643/job/139354073494)
This discussion has been locked. Commenting is limited to contributors.
No description provided.