Files
hermes-agent/tests/persistence_sqlite
Teknium 1512255178 test(backup): a WAL snapshot facing a recovery that never ends still fails closed
Review follow-up. The recovery test released the WAL-index locks as soon as the copy met
SQLITE_BUSY_RECOVERY, so it passed even if the new retry loop never gave up. The new
recovery-stuck case keeps the locks held until the copy returns, with a 1 s deadline, on both
backup paths: the copy must return False and leave no snapshot behind. With the busy-status
mask reverted, the retry loop spins past the deadline and both stuck cases go red.
2026-11-19 10:36:13 -08:00
..