VICTORY_FAIL_DUMP: samples from later files overwrite earlier failures #247

Open
opened 2026-11-26 03:39:11 +00:00 by github-bot · 0 comments
Owner

@⁠Bennet0k on GitHub · 2026-11-24 22:59 UTC · original

Source · Source

The sample limit is described as the first three containers for each failure reason. Counters are local to a worker for one file. Two files whose first translation failure has the same reason each write <reason>_0.cdxil. A Rust harness running the original capture/write block with two synthetic failures shows that the second input replaces the first, even when processed sequentially.

Proposed fix. Track sample counts per full reason in command-wide state. Use an output filename that remains distinct even when two sanitized reason strings collide, and coordinate slot allocation across workers. A regression can feed two separate inputs with the same reason and assert that both samples remain.

Found in an AI-assisted audit of 2119b0e.

**@⁠Bennet0k** on GitHub · 2026-11-24 22:59 UTC · [original](https://github.com/fxceless/victory-fork/issues/247) [Source](https://github.com/fxceless/victory-fork/blob/2119b0e44c53aa9648307b0c5c73590290305b1f/apps/victory/src/translate.rs#L202-L223) · [Source](https://github.com/fxceless/victory-fork/blob/2119b0e44c53aa9648307b0c5c73590290305b1f/apps/victory/src/translate.rs#L379-L391) The sample limit is described as the first three containers for each failure reason. Counters are local to a worker for one file. Two files whose first translation failure has the same reason each write `<reason>_0.cdxil`. A Rust harness running the original capture/write block with two synthetic failures shows that the second input replaces the first, even when processed sequentially. **Proposed fix.** Track sample counts per full reason in command-wide state. Use an output filename that remains distinct even when two sanitized reason strings collide, and coordinate slot allocation across workers. A regression can feed two separate inputs with the same reason and assert that both samples remain. Found in an AI-assisted audit of `2119b0e`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:39:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#247
No description provided.