Enforce the asset policy for replay outputs #526

Open
github-bot wants to merge 1 commit from github-bot/gh-526 into a-publier AGit
Owner

@⁠nufu88pa on GitHub · 2026-11-27 08:53 UTC · original
nufu88pa:fix/replay-output-policy → a-publier · +55 −6 · 3 files · 1 commits · open

Follow-up to #523. This change can merge independently.

Changes

  • Apply ensure_outside_repo to the replay picture path, including the default path and the picture saved by comparison runs.
  • Check the shader dump directory and the resource dump directory used by divergence analysis before writing.
  • Document where to keep replay outputs.

Verification

  • cargo test --locked -p victory-gpu --features diagnostics --lib replay::play::tests passed 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 policy passed for all 271 tracked files.
  • git diff --check passed.

Prepared with assistance from Codex.

**@⁠nufu88pa** on GitHub · 2026-11-27 08:53 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/526) `nufu88pa:fix/replay-output-policy` → `a-publier` · +55 −6 · 3 files · 1 commits · open Follow-up to #523. This change can merge independently. ## Changes - Apply `ensure_outside_repo` to the replay picture path, including the default path and the picture saved by comparison runs. - Check the shader dump directory and the resource dump directory used by divergence analysis before writing. - Document where to keep replay outputs. ## Verification - `cargo test --locked -p victory-gpu --features diagnostics --lib replay::play::tests` passed 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 policy` passed for all 271 tracked files. - `git diff --check` passed. Prepared with assistance from Codex.
Check replay pictures, shader dumps, and divergence resource dumps before writing. Cover explicit and default picture paths and early shader dump rejection.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 08:55:10 +00:00
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-27 11:40 UTC · original

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-gpu 396 passed, 0 failed, 34 ignored.

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

**@⁠MamaLeVrai** on GitHub · 2026-11-27 11:40 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/526#issuecomment-7217341763) 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-gpu` 396 passed, 0 failed, 34 ignored. AI-assisted (Claude Code); no game data.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/526/head:github-bot/gh-526'
git switch 'github-bot/gh-526'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-526'
git switch 'github-bot/gh-526'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-526'
git switch 'github-bot/gh-526'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-526'
git switch 'a-publier'
git merge --squash 'github-bot/gh-526'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-526'
git switch 'a-publier'
git merge 'github-bot/gh-526'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.