GET /health returns a bare {status:"ok"} (src/server.ts:558-561) with no way to confirm which image/commit is running or how long it has been up — operators can't tell after a deploy whether the new build actually rolled. Enrich the liveness body with version (from package.json or a build-time env), uptimeSeconds (Date.now()-startedAt, already tracked at server.ts:523), and the DB backend name (sqlite|postgres). Keep it binding-free (no DB call — that's /ready's job).
Deliverables
References
src/server.ts:558
src/server.ts:523
src/selfhost/health.ts:5
size: S · gittensor:feature
GET /health returns a bare {status:"ok"} (src/server.ts:558-561) with no way to confirm which image/commit is running or how long it has been up — operators can't tell after a deploy whether the new build actually rolled. Enrich the liveness body with version (from package.json or a build-time env), uptimeSeconds (Date.now()-startedAt, already tracked at server.ts:523), and the DB backend name (sqlite|postgres). Keep it binding-free (no DB call — that's /ready's job).
Deliverables
References
src/server.ts:558src/server.ts:523src/selfhost/health.ts:5size: S · gittensor:feature