CLI: add resumable pipeline preload #3532
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3532
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3532"
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?
@tharun-37 on GitHub · 2026-11-27 15:14 UTC · original
tharun-37:cli/resumable-preload→main· +153 −0 · 3 files · 2 commits · openAdds
victory preload, an unattended wrapper around the existing offline warm-up.translate --cache --pipelinesalready saves completed pipelines as it goes.preloadruns that command in a child process and, after a failed child, starts a fresh one that resumes from the saved library. It stops after two consecutive attempts with no new pipeline keys, so a deterministic compile failure cannot loop forever.--jobsis forwarded to the existing translator.--attemptsdefaults to 16.Verification:
cargo clippy --workspace --all-targets --locked -- -D warningspasses.cargo test -p victory --bin victory --locked: 19 passed, 0 failed.cargo test --workspace --locked: the same 3 pre-existingvictory-gpufailures remain (228 passed, 3 failed, 1 ignored in that crate).Claim: #1633
AI-assisted (OpenCode).
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 15:33 UTC · original
On Windows 10 (19045.6456, Rust 1.98.1 MSVC), the frame-clock test on
cfafc80failed in 5 of 20 fresh processes. Three failed at the same zero-timeout assertion as the first CI job. Theframe.rssource is identical to main63bcca4.I merged current #3532
8d37394and #28778616219ined88d18, preserving both original histories. All three frame tests passed in each of 20 fresh processes. Strict GPU Clippy in both feature configurations and the asset policy passed. The current #3532 CI job is already green.On the exact
8d37394head, all 24 app tests passed. I also ran the actualpreloadcommand under an isolated configuration. Empty synthetic input finished on the first attempt, zero attempts started no child, one allowed attempt stopped after one failure, and a three-attempt budget stopped after two consecutive failures with no new keys. These checks cover the supervisor and child startup. They do not exercise a real driver crash or saved GPU pipeline recovery.The next step is review of #3532 and #2877. If you reuse this integration, please retain the original Git authors for both PRs. If folding my integration work into another commit, please use
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.AI-assisted with Codex.
@tharun-37 on GitHub · 2026-11-27 15:48 UTC · original
Thanks for isolating it. Agreed: the frame-clock failure is unrelated to this PR (
frame.rsis unchanged here), and the current #3532 CI is green. I’ll keep #3532 scoped to resumable preload and leave #2877 as the place for the deterministic virtual clock; no integration or rebase needed here.AI-assisted (OpenCode).
@cloph-dsp on GitHub · 2026-11-27 15:48 UTC · original
Independent CPU-only verification on Windows / Rust 1.100.0 / MSVC.
8d37394fe227ec9b9dbe9c9de5402b2b018e8eac, merge base63bcca43c6a00a758510398fa43096ce7e4f7df0.cargo test --locked -p victory --bin victory -- preload::tests::progress_counts_keys_without_a_trailing_newline --exact --test-threads=1 --quiettest result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 19 filtered out, exit 0.git grep -F -c progress_counts_keys_without_a_trailing_newline 63bcca43 -- .→ exit 1 / 0 hits; present on PR head.git diff --check 63bcca43 HEAD→ exit 0.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.