Report unreadable pipeline journals during warm-up #87

Closed
boesbo wants to merge 0 commits from upstream-pr/87 into main
boesbo commented 2026-11-30 10:23:00 +00:00 (Migrated from github.com)

Imported from readmet3xt-lab/foxhound. Originally posted by boesbo on 2026-11-30T10:23:00Z.


Summary

Surface the path and underlying I/O error when victory warm cannot read known-pipelines.bin. A missing journal is still normal on a first run. Complete entries before a torn tail are still used.

Skip journal recovery when reading the pipeline journal fails, so a failed read cannot be mistaken for a zero-length journal during truncation.

Closes #74.

Validation

  • Ran the reader tests on macOS with synthetic missing, unreadable, and torn journals.
  • Ran cargo check --locked --target x86_64-pc-windows-gnu -p victory -p victory-gpu --tests and Clippy for both packages with all targets and features.
  • Ran cargo xtask policy.
<!-- greyfinch-sync:readmet3xt-lab/foxhound:issue:5563366933 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/pull/87). Originally posted by [boesbo](https://github.com/boesbo) on 2026-11-30T10:23:00Z. --- ## Summary Surface the path and underlying I/O error when `victory warm` cannot read `known-pipelines.bin`. A missing journal is still normal on a first run. Complete entries before a torn tail are still used. Skip journal recovery when reading the pipeline journal fails, so a failed read cannot be mistaken for a zero-length journal during truncation. Closes #74. ## Validation - Ran the reader tests on macOS with synthetic missing, unreadable, and torn journals. - Ran `cargo check --locked --target x86_64-pc-windows-gnu -p victory -p victory-gpu --tests` and Clippy for both packages with all targets and features. - Ran `cargo xtask policy`.

Pull request closed

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
readmet3xt-lab/foxhound!87
No description provided.