[PR #13633] fix: add WAL checkpoint on database open #14747

Closed
opened 2026-02-16 18:19:30 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13633

State: closed
Merged: Yes


Summary

  • Add PRAGMA wal_checkpoint(PASSIVE) on database open to clean up stale WAL data from interrupted writes
  • This prevents SQLITE_MISUSE errors when the process is killed mid-write
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13633 **State:** closed **Merged:** Yes --- ## Summary - Add `PRAGMA wal_checkpoint(PASSIVE)` on database open to clean up stale WAL data from interrupted writes - This prevents SQLITE_MISUSE errors when the process is killed mid-write
yindo added the pull-request label 2026-02-16 18:19:30 -05:00
yindo closed this issue 2026-02-16 18:19:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14747