Simpl-Resultat/src-tauri
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
..
capabilities feat: add Settings page with in-app updater support 2026-02-11 11:47:25 +00:00
icons feat(branding): replace default Tauri icon with custom design 2026-05-02 14:51:55 -04:00
src fix: scrub the errors of repair_migrations through repair_at (#497) 2026-10-26 21:24:25 -04:00
.gitignore Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00
build.rs Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00
Cargo.lock fix(deps): rustls-webpki 0.103.16 and webpki-root-certs 1.0.10 (RUSTSEC-2026-0382, RUSTSEC-2026-0383) 2026-10-20 21:29:09 -04:00
Cargo.toml chore: release v0.17.2 2026-10-18 14:49:17 -04:00
tauri.conf.json chore: release v0.17.2 2026-10-18 14:49:17 -04:00