fix(cli): distinguish unreadable warm recipes from worker crashes #40
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by yualk on 2026-11-27T12:47:47Z.
fix(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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T18:27:17Z.
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