Add a fresh pipeline cache regression check #6
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.exeI 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.
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 builtvictory.exewith an empty input directory.I also ran the same regression script against the original
d0ed1acexecutable. It exited withFAIL: pre-build returned without creating cache/pipelines, confirming that it catches the original defect.Fixed beta run · Historical comparison