MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / wal-heal.test.ts

File wal-heal.test.ts

__tests__/wal-heal.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Regression tests for #1431: a SIGKILL'd session (the #850 liveness watchdog,
3 * OOM, a crash) leaves the SQLite WAL on disk; the next session appends to the
4 * same file; and before the fix NOTHING ever truncated it — PASSIVE

Callers

nothing calls this directly

Calls 13

resolveWalHealBytesFunction · 0.90
watchdogProgressPathsFunction · 0.90
stampLogChunkFunction · 0.90
growWalThenSigkillFunction · 0.85
walSizeFunction · 0.85
healOversizedWalMethod · 0.80
closeMethod · 0.65
pragmaMethod · 0.65
getMethod · 0.65
prepareMethod · 0.65
joinMethod · 0.45
initializeMethod · 0.45

Tested by

no test coverage detected