Simpl-Resultat/src-tauri/src
le king fu e3e043644d fix: scrub the errors of repair_migrations through repair_at (#497)
repair_migrations built its two errors without scrub: rusqlite appends
the full path of a database it cannot open, so "Cannot open database"
carried the profile folder, and the OS user name with it, to the
Journal. The body moves to repair_at(db_path), which passes every error
it returns through scrub once, at its exit, with the database's parent
folder; the command resolves the path, then calls it.

The test replaces the database file with a folder of the same name: the
exists() guard passes and rusqlite fails to open it even as root, where
a read-only file would simply open read-only. It first checks that
rusqlite's own message names the folder, then that repair_at's error
names the file and <profile folder>, and no segment of the folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:24:25 -04:00
..
commands fix: scrub the errors of repair_migrations through repair_at (#497) 2026-10-26 21:24:25 -04:00
database style(profiles): rewrap the sync comment of backup_to 2026-10-12 20:27:33 -04:00
lib.rs fix(profiles): catch secondary profiles up on missed migrations (#390) 2026-10-06 20:35:00 -04:00
main.rs Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00