Honor explicit --all when the used-pipeline list is unreadable #4824
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!4824
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4823"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 10:17 UTC · original
andrewpozdnakov7-jpg:codex2/fix/preload-all-used-list→main· +2 −2 · 1 files · 1 commits · openWhat it changes
victory preload --allexplicitly selects every known pipeline. It still readsearly-pipelines.txtto decide whether to select only used pipelines. If the list exists and cannot be opened, this prevents the requested warm-up from starting.Skip that mode-detection read for
--alland print the explicit all-pipeline mode. Automatic selection still reports a read error instead of silently warming every pipeline.How it was tested
main5fabb46eand releasev2026.11.30.03both returnedPermissionDeniedfor--allwhenearly-pipelines.txtwas a directory.36e3a1ea4279f56f05e4ef2a66b342ec9e0d6150selected every known pipeline and printedevery known pipeline (--all). The same fixture confirmed that auto mode still reports the read failure and selects used pipelines with a readable list of 1,000 entries.cargo xtask policy --stagedaccepted the one changed file.Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
@gut0to on GitHub · 2026-12-01 15:21 UTC · original · reviewed
AI-assisted review: I traced the explicit --all path and the early-pipeline list read. I used AI assistance and verified that the existing tests do not exercise this command-level branch.
@ -717,3 +717,3 @@play::explain_preload();translate::precompile(paths, jobs)?;let recorded = warm::used_pipelines_recorded()?;let recorded = !all && warm::used_pipelines_recorded()?;@gut0to on GitHub · 2026-12-01 15:21 UTC · original
Could --all with an unreadable first-use list get an integration regression test? This branch skips the early-pipelines.txt read when all is set, but existing tests only cover the preload_used boolean policy. A temp home with an invalid-UTF-8 list should still let preload --all select every pipeline, while --used should report the read error.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.