sqliteBackupAdvisory (src/selfhost/health.ts:50) returns a one-time boot warning when running on a single unbacked SQLite file, but it's only logged — there's no gittensory metric an operator can alert on for 'this instance has no acknowledged backup', which is exactly the data-loss SPOF #1821 cares about. Expose a gittensory_backup_acknowledged gauge (1 when acknowledged or on Postgres, 0 when the advisory would fire) registered at boot.
Deliverables
References
src/selfhost/health.ts:50
src/server.ts:504
src/selfhost/metrics.ts:54
Part of #1821.
size: XS · gittensor:bug
sqliteBackupAdvisory (src/selfhost/health.ts:50) returns a one-time boot warning when running on a single unbacked SQLite file, but it's only logged — there's no gittensory metric an operator can alert on for 'this instance has no acknowledged backup', which is exactly the data-loss SPOF #1821 cares about. Expose a gittensory_backup_acknowledged gauge (1 when acknowledged or on Postgres, 0 when the advisory would fire) registered at boot.
Deliverables
References
src/selfhost/health.ts:50src/server.ts:504src/selfhost/metrics.ts:54Part of #1821.
size: XS · gittensor:bug