mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
The SQLite WAL was never checkpointed during container shutdown, leaving uncommitted data (including schema migrations) in the -wal file. On restart, partial WAL recovery could cause inconsistent query results, making the queue appear empty until a filter was applied. Add PRAGMA wal_checkpoint(TRUNCATE) and engine.dispose() to the lifespan shutdown handler.