Files
codex/codex-rs/cli
David de Regt 878c1da249 Automatic SQLite DB recovery
We're seeing increasing user reports of corrupted SQLite databases, and the vast majority of those have been recoverable with sqlite's built-in recovery process.  Unfortunately, the rust crate we're using doesn't have the recovery code compiled in, so we have to compile the recovery functions specifically ourselves, so we vendor those files into the repo here and run it if we detect a malformed DB during sqlite startup.  If the recovery attempt fails, it reverts to the original logic where it asks if the user wants to blow away their current database and start over.
2026-05-21 10:39:37 -07:00
..
2026-05-21 10:39:37 -07:00