Skip to content

Add structured recovery diagnostics#31

Merged
johnny-emp merged 1 commit into
mainfrom
codex/structured-recovery-diagnostics
May 22, 2026
Merged

Add structured recovery diagnostics#31
johnny-emp merged 1 commit into
mainfrom
codex/structured-recovery-diagnostics

Conversation

@johnny-emp
Copy link
Copy Markdown
Contributor

Summary

  • add typed recovery integrity diagnostics for manifest-referenced WAL segment issues
  • surface missing segment, missing size/checksum metadata, checksum mismatch, truncation, and size mismatch as structured kinds
  • add a recovery outcome API for permissive-mode skipped-segment warnings while keeping checksum corruption fail-closed

Tests

  • cargo test recovery::
  • cargo test --test crash_matrix crash_matrix_corrupt_wal_frame_fails_closed_in_permissive_mode
  • cargo test --test naming_conventions
  • cargo test

@johnny-emp johnny-emp merged commit bb97a4f into main May 22, 2026
7 of 9 checks passed
@johnny-emp johnny-emp deleted the codex/structured-recovery-diagnostics branch May 22, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant