CLI: list pipeline keys without initializing caches #1808
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1809"
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 Marvisak/VIctory. Originally posted by EatCodeSleep2 on 2026-11-24T22:55:49Z.
VICTORY_PREBUILD_KEYS is a listing mode, but it currently requires working shader and pipeline cache paths and reaches the pipeline library save path when it finishes. Resolve the listing mode before opening the shader cache and pass its output path to prebuild. Initialize and save the pipeline cache only for actual warmup.
On Windows, main refused to list a synthetic pack when VICTORY_CACHE_DIR pointed to a regular file. The fixed CLI listed all 80 records with that path and kept the file intact. With a fresh path the listing created no cache directories, and normal warmup still created both. CLI unit tests and strict all-feature CLI Clippy passed.
AI use: Codex wrote and tested the change.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T23:03:39Z.
Review: COMMENTED
Static review only: apps/Windows-only (CLI/run paths) — nothing compiles on macOS; source review of the diff.
List pipeline keys without initializing caches: 3.4K CLI — avoids cache side effects for a read-only listing. Good hygiene.
Imported from Marvisak/VIctory. Originally posted by DesertGamer on 2026-11-24T22:56:09Z.
VIctory V2: community PRs, merged and tested
Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.
Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).
⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.
Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2
Unofficial community fork of Marvisak/VIctory, GPL-3.0.
Imported from Marvisak/VIctory. Originally posted by Melow-code on 2026-11-24T23:08:27Z.
Review: APPROVED
Clean. Skipping cache init when only listing keys is the right thing.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T06:28:39Z.
Automated triage for the maintainers.
Merge candidate. Listing pipeline keys (
VICTORY_PREBUILD_KEYS) used to set up the shader cache intranslate::warm, and the pipeline cache inprebuild::run, and save the latter at the end, even though the listing translates and makes nothing. Nowwarmreturns intoprebuild::run(.., Some(file))before touching the shader cache, andrunskipsuse_pipeline_cache/save_pipeline_cachewhen listing. The env lookup moves fromprebuildintowarm, and the normal path passesNone. I checked thatprepareandkeyin the listing path need neither cache. Listing then no longer writes to the user's cache directory.Same function as #1805 and #1806; small rebase for whichever lands later.
CI:
checkfailing, invictory-shadertests this PR does not touch (synthetic_testsgathers and permutes) on its older base. A re-run on currentmainwould confirm.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T11:09:18Z.
Independent local validation (Windows, Rust 1.100.0/MSVC, head
15d7755, no game data):cargo test --locked -p victory-> 1 test passed (run::tests::loader_lock_is_reentrant_and_exclusive), exit 0. Limits: no clippy component in this toolchain; CI red is unrelated; I did not exercise the listing withVICTORY_CACHE_DIRpointing at a regular file, nor use a synthetic pack. Overlap with #1805/#1806 still needs a rebase decision. AI-assisted (Hy4 flash). GPU/driver: N/A (CPU-only test). No game data used.Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T01:14:26Z.
Code review and Windows 11 verification at head
15d77558ebf4merged cleanly ontomain(63bcca43c6a0):apps/victory/src/translate.rs:325-336, 427-429,prebuild.rs:39-44, 248-250):pipelinesis set alongsideVICTORY_PREBUILD_KEYS,translate::warmdispatches straight toprebuild::run(&paths, threads, Some(file.into())), skipping shader-cache config/initialization as well asuse_pipeline_cache/save_pipeline_cacheinsideprebuild::run, while leaving normal--cache --pipelinesand non---cachepaths untouched.#1805.cargo xtask policy:191 files ok;cargo clippy -p victory --all-targets -- -D warnings: 0 warningscargo test --locked -p victory: 18/18 passed (14 unit + 4 integration).LGTM.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.