Translate: VICTORY_FAIL_DUMP keeps the first three samples of a reason across files #330
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!330
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-330"
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?
@RenzoWit35 on GitHub · 2026-11-24 23:34 UTC · original
RenzoWit35:fix/247-fail-dump-samples-per-command→main· +162 −13 · 3 files · 1 commits · openFixes #247.
The sample counter was each worker's per-file tally, so every file's (and every worker's)
first failure of a reason wrote
<stem>_0.cdxilover the last. The count was also of programs,not containers. A command-wide
FailDumpnow hands out slots under a lock, capped at threecontainers per reason. Files are named
<stem>_<blake3(reason)[..8]>_<slot>.cdxil, so reasonsthat sanitize alike or differ only after 60 characters stay apart.
Tests: five inputs with the same reason keep exactly the first three samples; reasons that
sanitize alike get distinct files; only reasons a container added are counted; eight threads
racing for one reason get exactly three distinct slots. Adds
tempfileas a dev-dependency ofapps/victory.Note: dump file names gain an 8-hex-digit hash.
Testing
On Windows 11, MSVC Rust 1.98.1, branch alone on top of
main(2119b0e):cargo clippy --workspace --all-targets --locked -- -D warnings, the same with--all-features, andcargo test --workspace --lockedall pass. The new regression test fails onmainand passes here. All nine fix branches for #242-#250 also pass together when merged.🤖 Generated with Claude Code
@kaayzouee on GitHub · 2026-11-25 01:20 UTC · original
Duplicate of #292?
9066a48108toe9d73ff436View 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.