Enforce the asset policy for replay outputs #526

Open
nufu88pa wants to merge 1 commit from upstream-pr/526 into a-publier
nufu88pa commented 2026-11-27 08:53:44 +00:00 (Migrated from github.com)

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

  • 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.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:5523862020 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/526). Originally posted by [nufu88pa](https://github.com/nufu88pa) on 2026-11-27T08:53:44Z. --- 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.
MamaLeVrai commented 2026-11-27 11:40:18 +00:00 (Migrated from github.com)

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

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

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:comment:7217341763 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/526#issuecomment-7217341763). Originally posted by [MamaLeVrai](https://github.com/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-gpu` 396 passed, 0 failed, 34 ignored. AI-assisted (Claude Code); no game data.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/526:upstream-pr/526'
git switch 'upstream-pr/526'

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.

git switch 'a-publier'
git merge --no-ff 'upstream-pr/526'
git switch 'upstream-pr/526'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/526'
git switch 'upstream-pr/526'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'upstream-pr/526'
git switch 'a-publier'
git merge --squash 'upstream-pr/526'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/526'
git switch 'a-publier'
git merge 'upstream-pr/526'
git push origin 'a-publier'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Belobug/VIctory-Belobug-AMD!526
No description provided.