Skip to content

[BUNDLE] CLI and census: 11 PRs, #115 #151 #238 #353 #378 #476 #482 #535 #649 #664 #1177 - #1459

Closed
MamaLeVrai wants to merge 26 commits into
Marvisak:mainfrom
MamaLeVrai:bundle/cli
Closed

MamaLeVrai wants to merge 26 commits into
Marvisak:mainfrom
MamaLeVrai:bundle/cli

Conversation

@MamaLeVrai

@MamaLeVrai MamaLeVrai commented Nov 24, 2026 •

Copy link
Copy Markdown

One PR in place of 11. Eleven PRs on the victory command line: census (directory failures, import and image path deduplication), inspect and shader-info output, the translation listing, the AVX2 check, the default stack size, VICTORY_WATCH and VICTORY_EMIT_DUMP checks, and the asset-policy check on default paths. Every head is merged unchanged onto main (70564ae, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#115 ZekkJJ b1bdd8994 Census: report directory traversal failures
#151 ItsYusei99 d77408bb7 Link victory.exe with a 16 MiB default thread stack
#238 dpalacios69 534e1dd74 CLI: check for AVX2 before running a title (VICTORY_SKIP_CPU_CHECK=1 to bypass)
#353 FIocker e6ebec9cc Shader info: show stage I/O even when instruction decoding fails
#378 Mesrine67 2392dfd79 CLI: include runtime shader hashes in the translation listing
#476 nathanbzrr a3f89eda5 Census: deduplicate PE imports without hint
#482 enzoduarte1 c91e6b6b2 App: reject wrapping RVAs in VICTORY_WATCH
#535 pushkarreddyy f6585cc0b App: enforce asset policy check in default_paths
#649 askharoun 43e2ca9de Show on-disk file size in victory inspect
#664 coderanonymus 988fd9a64 translate: refuse a VICTORY_EMIT_DUMP directory inside the repo
#1177 DoubleD17 142ec8dd4 Deduplicate image paths in victory census

Changes made while bundling

No merge conflicts. One change of mine, in its own commit: #378 makes the duplicate check in translate.rs a nested if !seen.insert(..) { if !list { .. } }, which clippy::collapsible_if rejects under -D warnings (#378 has no CI run yet). It is now one if !seen.insert(..) && !list (cargo clippy --fix, same behaviour).

Rebuilt on the new main. main moved (28 commits by the maintainer); the branch is the previous one with main merged in. One conflict, in apps/victory/src/run.rs: main adds VICTORY_POKE (fn poke) right where this bundle's PRs touch the watch_rvas helper; both are kept.

Left out, and why

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 488 passed, 0 failed, 7 ignored (two runs; main: 476 passed, 7 ignored)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/cli
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

ZekkJJ and others added 25 commits November 23, 2026 20:38
Fail when a requested scan root cannot be opened. Report traversal errors below a readable root alongside the other skipped inputs.
Threads created without a stack size take the executable's default
reserve, 1 MiB from the linker. vkd3d-proton's and the driver's own
threads compiling the title's large world shaders overflowed it under
Wine on an RTX 4070 (four threads at one driver address during the world
load). Reserve 16 MiB for MSVC targets; pages are committed only as used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
translate writes emitted DXIL and validator reports to the
VICTORY_EMIT_DUMP directory. Both are derived from the game's shaders,
but the directory was never checked against the source tree. With
VICTORY_EMIT_DUMP=. run from the checkout, the .txt reports land in the
repo, and git and cargo xtask policy both let them through.

Check the directory once at the start of translate::run, as Config
already does for the cache and data directories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merges Marvisak#115 Marvisak#151 Marvisak#238 Marvisak#353 Marvisak#378 Marvisak#476 Marvisak#482 Marvisak#535 Marvisak#649 Marvisak#664 Marvisak#1177 onto main
(ffe310e), each head unchanged, no conflicts.

One change of mine: Marvisak#378 turns the duplicate check in translate.rs into a
nested `if !seen.insert(..) { if !list { .. } }`, which
clippy::collapsible_if rejects under -D warnings; it is now one
`if !seen.insert(..) && !list` (clippy --fix, same behaviour).

cargo clippy --workspace --all-targets --locked -- -D warnings, with and
without --all-features, is clean and cargo test --workspace --locked passes
(354 passed, 6 ignored; main has 342 passed, 6 ignored).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 24, 2026 18:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

run.rs: main adds VICTORY_POKE next to the watch_rvas helper this bundle's PRs touch; both kept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Marvisak

Copy link
Copy Markdown
Owner

Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

@Marvisak Marvisak closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.