fix: run one VIctory warm for both CLI options #296

Open
github-bot wants to merge 4 commits from github-bot/gh-296 into main AGit
Owner

@⁠mauroalvare on GitHub · 2026-11-26 01:44 UTC · original
mauroalvare:perf/launcher-single-warm → main · +40 −23 · 3 files · 4 commits · open

Current Vice-Tay behavior

Combines --warm and --precompile in anyxboxx run into one victory warm invocation. 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 --warm and --precompile in anyxboxx run into a single victory.exe warm invocation. Two calls used to read, decompress, and parse shaders.rpf twice 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 anyxboxx passed.
  • python -m pytest -q -rs tests/test_lanceur_victory.py tests/test_anyxboxx_run.py passed 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 tools passed.

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.

**@⁠mauroalvare** on GitHub · 2026-11-26 01:44 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/296) `mauroalvare:perf/launcher-single-warm` → `main` · +40 −23 · 3 files · 4 commits · open ## Current Vice-Tay behavior Combines `--warm` and `--precompile` in `anyxboxx run` into one `victory warm` invocation. 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. <details> <summary>Earlier archive-based implementation</summary> ## Change Combine `--warm` and `--precompile` in `anyxboxx run` into a single `victory.exe warm` invocation. Two calls used to read, decompress, and parse `shaders.rpf` twice 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 anyxboxx` passed. - `python -m pytest -q -rs tests/test_lanceur_victory.py tests/test_anyxboxx_run.py` passed 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 tools` passed. 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. </details>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:42:17 +00:00
Author
Owner

@⁠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, run python -m pytest tests/test_lanceur_victory.py and force-push your branch.

🤖 Generated with Claude Code

**@⁠LooperSalty** on GitHub · 2026-11-26 14:01 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/296#issuecomment-7194170544) 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, run `python -m pytest tests/test_lanceur_victory.py` and force-push your branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot changed title from perf(launcher): run victory warm once with deduplicated targets for -Warm -Precompile to perf: warm VIctory with one deduplicated input list 2026-11-26 18:10:39 +00:00
github-bot force-pushed github-bot/gh-296 from d64de8df69 to 101f62052d 2026-11-26 18:10:39 +00:00 Compare
Author
Owner

@⁠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 to victory warm, with shaders.rpf included 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.

**@⁠mauroalvare** on GitHub · 2026-11-26 18:25 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/296#issuecomment-7200438787) 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 to `victory warm`, with `shaders.rpf` included 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](https://github.com/LooperSalty/AnyXboxX/actions/runs/45872831052).
github-bot force-pushed github-bot/gh-296 from 101f62052d to f345b7fa94 2026-11-26 19:50:44 +00:00 Compare
github-bot force-pushed github-bot/gh-296 from f345b7fa94 to e5c502211a 2026-11-27 00:36:40 +00:00 Compare
github-bot changed title from perf: warm VIctory with one deduplicated input list to fix: run one VIctory warm for both CLI options 2026-11-27 01:26:14 +00:00
Author
Owner

@⁠mauroalvare on GitHub · 2026-11-27 00:49 UTC · original

After #464, --warm and --precompile both 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.

**@⁠mauroalvare** on GitHub · 2026-11-27 00:49 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/296#issuecomment-7206782815) After #464, `--warm` and `--precompile` both 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.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/296/head:github-bot/gh-296'
git switch 'github-bot/gh-296'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-296'
git switch 'github-bot/gh-296'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-296'
git switch 'github-bot/gh-296'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-296'
git switch 'main'
git merge --squash 'github-bot/gh-296'
git switch 'main'
git merge --ff-only 'github-bot/gh-296'
git switch 'main'
git merge 'github-bot/gh-296'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.