Preserve shader failure samples across inputs #292

Open
colonelpanic8 wants to merge 1 commit from upstream-pr/292 into main
colonelpanic8 commented 2026-11-24 23:19:33 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by colonelpanic8 on 2026-11-24T23:19:33Z.


Share the three-sample budget per failure reason across the translation command. Allocate slots under a lock and include the full reason's digest in filenames so distinct reasons with the same sanitized stem keep separate samples.

Fixes #247.

Verification

  • Windows-target Clippy for victory, including test targets
  • Windows build passed the failure-dump regression under Wine for concurrent samples, the shared cap, and sanitized-name collisions
  • Staged asset-policy check
<!-- greyfinch-sync:fxceless/victory-fork:issue:6593394114 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/292). Originally posted by [colonelpanic8](https://github.com/colonelpanic8) on 2026-11-24T23:19:33Z. --- Share the three-sample budget per failure reason across the translation command. Allocate slots under a lock and include the full reason's digest in filenames so distinct reasons with the same sanitized stem keep separate samples. Fixes #247. ## Verification - Windows-target Clippy for `victory`, including test targets - Windows build passed the failure-dump regression under Wine for concurrent samples, the shared cap, and sanitized-name collisions - Staged asset-policy check
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/292:upstream-pr/292'
git switch 'upstream-pr/292'

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 'main'
git merge --no-ff 'upstream-pr/292'
git switch 'upstream-pr/292'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/292'
git switch 'upstream-pr/292'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/292'
git switch 'main'
git merge --squash 'upstream-pr/292'
git switch 'main'
git merge --ff-only 'upstream-pr/292'
git switch 'main'
git merge 'upstream-pr/292'
git push origin 'main'
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
fxceless/victory-fork!292
No description provided.