warm: name the missing known-shaders.bin instead of exiting 0 silently #137
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ReTerryDavis--ReVIctory!137
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-136"
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?
@SovietBearz0r on GitHub · 2026-12-05 17:16 UTC · original
SovietBearz0r:warm-missing-shaders-error→main· +54 −0 · 2 files · 1 commits · merged 2026-12-05 17:40 UTCWarm used to exit 0 silently when
known-shaders.bincould not be opened: the persistent worker'sWarmWorker::openfailure didstd::process::exit(0), so the parent saw no result and reported "0 made, 0 failed", retrying every pipeline invisibly (the RDNA3 fork's issue #12 — a cache with onlyknown-pipelines.bincopied in).Fix
known::shaders_file(dir)opens (only) the file and returns its path + error;warm::runchecks it after selection and before any worker starts, bailing with an error namingknown-shaders.bin,known-pipelines.binandVICTORY_PIPELINE_BOOK=1(copy them together). An emptyknown-shaders.bindeliberately takes the existing path.Verification
cargo test -p victory --bin victory: 120 passed, 1 ignored (incl.a_missing_shaders_file_is_named_with_what_to_do);cargo test -p victory-gpu --lib pipeline::known: 8 passed.known-pipelines.bin→ exit 1 with the named error, nowarm-done.txt(previously the silent "0 made" path).cargo check -p victory,cargo xtask policy(439 files), clippy: clean for changed files.warm --theseone-shot still silently no-ops if the shaders file is unopenable.Source: ReVictory-RDNA3 PR #29.