Files
ten31-database/start9/0.4/startos/versions/v0.1.0.63.ts
T
Keysat 3893a4fb9f system-status: show storage usage (DB, attachments, backups, disk free) — v0.1.0:63
/api/system/status now returns a best-effort storage block: database file size
(crm.db + WAL + SHM), the email_attachments dir, the backups dir, and disk
total/used/free via shutil.disk_usage(DATA_DIR). System Status renders a Storage
section with human-readable sizes so growth can be watched over time.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 13:34:18 -05:00

16 lines
664 B
TypeScript

import { VersionInfo } from '@start9labs/start-sdk'
// System Status now shows a Storage section: database file size, email attachments,
// backups, and disk free/total — so growth can be watched over time. Read-only,
// best-effort (never fails the status call). No schema migration.
export const v_0_1_0_63 = VersionInfo.of({
version: '0.1.0:63',
releaseNotes: {
en_US: [
'System Status now shows storage usage: how much space the database, email attachments,',
'and backups are using, plus free disk on the server, so you can watch it grow over time.',
].join(' '),
},
migrations: { up: async () => {}, down: async () => {} },
})