Report unreadable pipeline journals during warm-up #87

Closed
github-bot wants to merge 0 commits from github-bot/gh-87 into main AGit
Owner

@⁠boesbo on GitHub · 2026-11-30 10:23 UTC · original
codex/pipeline-journal-errors → main · +53 −17 · 2 files · 1 commits · closed without merging

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.
**@⁠boesbo** on GitHub · 2026-11-30 10:23 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/87) `codex/pipeline-journal-errors` → `main` · +53 −17 · 2 files · 1 commits · closed without merging ## 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`.
Treat a missing journal as empty and surface other read failures with the journal path. Avoid repairing a pipeline journal that could not be read.

Refs #74
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 10:27:54 +00:00
github-bot closed this pull request 2026-11-30 22:26:37 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.