VICTORY_FAIL_DUMP: samples from later files overwrite earlier failures #247

Open
opened 2026-11-24 22:59:52 +00:00 by Bennet0k · 0 comments
Bennet0k commented 2026-11-24 22:59:52 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by Bennet0k on 2026-11-24T22:59:52Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6593125013 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/247). Originally posted by [Bennet0k](https://github.com/Bennet0k) on 2026-11-24T22:59:52Z. --- [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`.
Sign in to join this conversation.
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#247
No description provided.