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 224740a
Browse filesBrowse the repository at this point in the historyBrowse files
feat: Settings reclaims freed database space in one click
Databases created before automatic shrinking keep the space that history
cleanup frees, and the only way to get it back was quitting T3 Code and
running `t3 doctor` in a terminal. Settings > Maintenance now offers a
Reclaim button when the desktop app or background service runs the server.
It checks free disk space, stops the server like a SIGTERM, runs the existing
repair once the database is closed, and lets the supervisor start it again.
Failures show in Settings. Servers started by hand keep the command hint.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
/** Offers to reclaim the space on every machine whose database still holds at least 1 GiB of freed pages. */
12
22
exportfunctionDatabaseStorageNotice({
13
23
targets,
14
24
}: {
@@ -31,18 +41,16 @@ export function DatabaseStorageNotice({
31
41
return(
32
42
<SettingsSection
33
43
title="Reclaim database space"
34
-
footer="These databases still hold space freed by history cleanup. Run the command on each machine to reclaim it. It restarts the background service. Quit the desktop app first if it hosts the environment."
44
+
footer={`These databases still hold space freed by history cleanup.${
0 commit comments