Add a fresh pipeline cache regression check #6

Merged
HandshakeHackin merged 1 commit from upstream-pr/6 into beta 2026-11-25 16:17:06 +00:00
HandshakeHackin commented 2026-11-25 15:21:00 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-25T15:21:00Z.


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.

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:6607815206 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/6). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-25T15:21:00Z. --- 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 commented 2026-11-25 16:34:54 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-25T16:34:54Z.


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

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7168208331 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/6#issuecomment-7168208331). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-25T16:34:54Z. --- 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)
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
PastiiJay/klbf-lab!6
No description provided.