Add a /healthz route that reports sync lag #15
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: #7
Health route with sync lag.
What to build
GET /healthz, outside bearer auth, that returns 200 withokand the seconds since the oldest account's last successful sync, or 503 when that lag exceeds a configured limit (default: 10 ×sync.interval_seconds). It returns no account ids, addresses or counts.apireadiness and liveness probes indeploy/k8s/base/deployment.yamlfromtcpSockettohttpGet /healthz. Liveness must not fail on sync lag alone: use a separate path or a query flag so that a stalled sync marks the pod unready but does not restart it.Acceptance
make checkgreen.