Enforce the asset policy for replay outputs #526
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/526"
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 Belobug/VIctory-Belobug-AMD. Originally posted by nufu88pa on 2026-11-27T08:53:44Z.
Follow-up to #523. This change can merge independently.
Changes
ensure_outside_repoto the replay picture path, including the default path and the picture saved by comparison runs.Verification
cargo test --locked -p victory-gpu --features diagnostics --lib replay::play::testspassed all four tests on Windows with Rust 1.98.1. The new tests cover picture destinations and shader dump rejection with temporary files.cargo xtask policypassed for all 271 tracked files.git diff --checkpassed.Prepared with assistance from Codex.
Imported from Belobug/VIctory-Belobug-AMD. Originally posted by MamaLeVrai on 2026-11-27T11:40:18Z.
Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At
d161bc1:victory-gpu396 passed, 0 failed, 34 ignored.AI-assisted (Claude Code); no game data.
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.