fix(cli): distinguish unreadable warm recipes from worker crashes #40
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!40
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-40"
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?
@yualk on GitHub · 2026-11-27 12:47 UTC · original
yualk:fix/warm-recipe-errors→main· +199 −31 · 5 files · 1 commits · closed without mergingfix(cli): distinguish unreadable warm recipes from host refusals
victory warm --these 42can exit 0 without a report if the recipe book is missing or does not contain recipe 42. A recipe that exists but refers to a missing shader is instead counted as if the host refused a pipeline. In a bulk warm this can mark a recoverable recipe done.The exact worker now stops at the first unreadable recipe, names its index, and exits nonzero. Completed prefix records and genuine host refusals keep their existing protocol. The bulk parent reports a separate unreadable count, continues later entries, and leaves a missing recipe out of both
warm-done.txtandwarm-bad.txt, so repairing the book can make it eligible again. This does not change shader hashes, driver cache identity, or title settings.An unavailable shader book now fails bulk preflight before starting workers. The parent requires an explicit worker report as well as the exit status, so a native MSVC abort with status 3 still follows the crash path.
Reproduction
Use an empty test directory. Before: exit 0, no completion. After: nonzero, with the recipe index in the error. The integration tests cover an absent book, an absent shader link with a completed prefix, and bulk preflight without a shader book. They use authored fixtures and never initialize a GPU.
On NVIDIA
959dcaf609052554e41d1188043820242437a070plus this patch,cargo +1.98.1 test --locked --offline --profile diag -p victory --features diagnostics --test warm_recipesbuilt the Windows CLI and passed all three tests.The actual bulk parent/child path also passed on the exact reviewed CLI in Windows 11 build 26200. Of three authored entries, the two readable controls completed and the missing link was not blacklisted. After repairing only that link, the next invocation retried exactly one entry, all three were marked completed, and the blacklist was still empty. The two processes reported the same driver fingerprint. The test machine had an RTX 5070 Ti/610.88 installed, but this CLI does not identify the selected adapter. It opens a device for fingerprinting; the authored cases refuse before driver PSO creation. No game files, logs, save state, cache material or executables are included. No startup-time, renderer, or FPS claims.
AI use
omp with OpenAI GPT-6.2 Sol assisted with the implementation, focused Windows verification, and review.
@trustno1-coder on GitHub · 2026-11-28 18:27 UTC · original
Thanks for this. I'm closing it without merging because it conflicts with the current main in the files it changes, and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request. Thanks for the work.
Pull request closed