pingqiuandClaude Opus 5.5 d2a6a3b02c storage: RED controls for issue #51 (WAL holes)
claude05's rulings (2026-11-16 06:10Z, 06:14Z). Controls with real
corrupted WALs, failing against stubs that restore today's behaviour:

walstore (interim: a power loss must never become an outage):
- (a) a corrupted mid-history synced entry: recovery succeeds to the
  prefix, but no wal_hole_suspected warning, no count
  (TestWALStoreRecoverWarnsOnMidHistoryHole);
- (c) the newer batch wrapped to offset 0 is replayed past a corrupted
  older entry (TestWALStoreRecoverNoReplayPastAHoleAcrossWrappedRanges);
- the durable status and /status carry no warning
  (TestDurableStartup_Issue51_WALStoreHoleIsAWarningNotAnOutage,
  TestStatusServer_StatusCarriesRecoveryWarningsWithoutChangingHealth).
- controls that pass either way: (b) an out-of-order unsynced tail
  recovers, a torn tail recovers.

smartwal (fail closed on a mid-history hole):
- a corrupted committed slot with later valid records starts Ready
  (TestDurableStartup_Issue51_SmartWALMidHistoryHoleIsWALCorrupt);
- controls: the issue's exact mutation is wal_corrupt (ea1faf6a), a
  torn tail recovers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:29:41 -08:00
Languages
Go 84.6%
Rust 7.8%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%