fix: run one VIctory warm for both CLI options #296
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!296
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-296"
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?
@mauroalvare on GitHub · 2026-11-26 01:44 UTC · original
mauroalvare:perf/launcher-single-warm→main· +40 −23 · 3 files · 4 commits · openCurrent Vice-Tay behavior
Combines
--warmand--precompileinanyxboxx runinto onevictory warminvocation. After #464, Vice-Tay warms recorded host pipelines without file arguments. Each selected flag's input checks run before Cargo starts.The local CLI suite passed all 26 tests. The combined suite with #294 passed all 29 tests, including override precedence, a single warm with both flags, and early rejection of missing inputs.
Earlier archive-based implementation
Change
Combine
--warmand--precompileinanyxboxx runinto a singlevictory.exe warminvocation. Two calls used to read, decompress, and parseshaders.rpftwice and start two D3D12 devices and pipeline libraries.Collect and validate the inputs before Cargo starts. Keep the game archive order, then add any remaining precompile files. On Windows, an archive whose spelling differs only by case is included once. The individual flags still select their original sets of files.
Verification
Rebased on
c41c224. Checked the merge with #294 and #315.cargo build --locked --offline -j 5 --release -p anyxboxxpassed.python -m pytest -q -rs tests/test_lanceur_victory.py tests/test_anyxboxx_run.pypassed all 30 tests with the release launcher. The combined-flags fixture verifies one warm invocation and early rejection of missing inputs.python -m ruff check --select W605,F,E9 PrototypeScarlett tests toolspassed.The tests use temporary synthetic launch inputs and a fake Cargo and VIctory executable.
AI assistance from Antigravity on the original change and OpenAI Codex on the rebase and verification.
@LooperSalty on GitHub · 2026-11-26 14:01 UTC · original
This PR now conflicts with main in
tests/test_lanceur_victory.py(other launcher PRs changed the same test module). Please rebase on main, keep the tests of both sides, runpython -m pytest tests/test_lanceur_victory.pyand force-push your branch.🤖 Generated with Claude Code
perf(launcher): run victory warm once with deduplicated targets for -Warm -Precompileto perf: warm VIctory with one deduplicated input listd64de8df69to101f62052d@mauroalvare on GitHub · 2026-11-26 18:25 UTC · original
I rebased and pushed the change for
anyxboxx run. With--warm --precompile, the launcher validates both sets of inputs before invoking Cargo and sends one ordered list tovictory warm, withshaders.rpfincluded once.All 30 launcher tests passed, including the combined-flags case and the missing-input case. I also checked that this branch merges cleanly with #294.
The latest CI run passed.
101f62052dtof345b7fa94f345b7fa94toe5c502211aperf: warm VIctory with one deduplicated input listto fix: run one VIctory warm for both CLI options@mauroalvare on GitHub · 2026-11-27 00:49 UTC · original
After #464,
--warmand--precompileboth use the same argument-free pipeline warm. The port validates the inputs for both flags before the build and runs that command once. I tested this branch separately and together with #294. The combined CLI suite passed all 29 tests.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.