CLI: list pipeline keys without initializing caches #1809
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!1809
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@EatCodeSleep2 on GitHub · 2026-11-24 22:55 UTC · original
EatCodeSleep2:fix/prebuild-keys-without-cache→main· +15 −11 · 2 files · 1 commits · openVICTORY_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.
@DesertGamer on GitHub · 2026-11-24 22:56 UTC · original
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.
@Marvisak on GitHub · 2026-11-25 06:28 UTC · original
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
@cloph-dsp on GitHub · 2026-11-25 11:09 UTC · original
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.@fuzeofficlal on GitHub · 2026-11-26 01:14 UTC · original
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.