CLI: write pipeline key listings in stable pack order #1805
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!1805
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1805"
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:51 UTC · original
EatCodeSleep2:fix/stable-prebuild-key-listing→main· +9 −6 · 1 files · 1 commits · openWhen VICTORY_PREBUILD_KEYS is set, worker completion order currently determines the output order. That makes repeated listings noisy to diff, even on the same input. Record each line by its job and emit it in pack order: compute entries first, then graphics, each by record index. Pipeline scheduling and the listing format are unchanged.
On Windows, a synthetic pack with 80 compute records produced different listings with one and eight workers on main. With the patch, the files are byte-for-byte identical and both contain all 80 records. CLI unit tests and strict 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. The
VICTORY_PREBUILD_KEYSlisting inapps/victory/src/prebuild.rsused to be written in whatever order the worker threads finished. It now collects lines in aBTreeMap<Job, String>, so the file comes out in pack order and two runs can be diffed.JobderivesOrd, and its variants are reordered so compute records sort first. That changes noDebugoutput, only the order, and the order is the purpose. The change is small and confined to the diagnostics listing.Note: #1806 and #1809 by the same author touch the same function. #1809 changes how
keys_onlyreachesrun, so the second and third to land will need a small rebase.CI:
checkfailing, but invictory-shadertests this PR does not touch (synthetic_tests::gathers_at_a_level_match_the_hardware,permutes_read_the_lane_named_…) 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
703d520, no game data):cargo test --locked -p victory-> 1 test passed (run::tests::loader_lock_is_reentrant_and_exclusive), exit 0. Limits: Scoop Rust has no clippy component, so-D warningslint validation was not run; CI red is from unrelated old-base shader tests; the behavioral repro needs a synthetic pack plusVICTORY_PREBUILD_KEYS, which I did not construct. Overlap with #1809/#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
703d5204cee3merged cleanly ontomain(63bcca43c6a0):apps/victory/src/prebuild.rs:33-37, 202-223):Ordonenum Job { Compute(usize), Graphics(usize) }matches thejobsconstruction order (prebuild.rs:173-174), and collecting intoMutex<BTreeMap<Job, String>>removes multi-worker scheduling jitter fromVICTORY_PREBUILD_KEYSoutput. (Also verified zero merge conflict and full complementarity with#1809.)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.