You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 951d56b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): doctor reports read failures as inspection failures
--dry-run against an unreadable database said compaction failed. Also
say "No recommended repairs" under --fix and show KiB below 1 MiB.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@@ -26,6 +26,8 @@ export class DatabaseMaintenanceError extends Schema.TaggedError<DatabaseMainten
26
26
return"No existing T3 Code database was found in this data directory.";
27
27
case"invalid-projections":
28
28
return"Database projections need repair before compaction. Start T3 Code once so it rebuilds them, then run doctor again. If this CLI is older than the one that wrote the database, update T3 Code first.";
29
+
case"inspect":
30
+
return"Could not read the database. Check that this user can open it.";
29
31
case"compact":
30
32
return"Database compaction failed. Check that no other process has the database open and enough disk space is available.";
31
33
}
@@ -82,18 +84,17 @@ const make = Effect.gen(function* () {
0 commit comments