OBS-8 [PROTO] Real GetStatus health surface (uptime/sync_state/outbox_depth/last_error + counters) #364

Closed
opened 2026-07-31 22:40:40 +00:00 by KofTwentyTwo · 1 comment
KofTwentyTwo commented 2026-07-31 22:40:40 +00:00 (Migrated from github.com)

Extend GetStatusResponse with real health from AppState + atomic RPC/sync/outbox counters + latency; liveness vs readiness; regen golden. Serial proto queue. Reconcile with WS-F10. Part of the Observability-to-9/10 program. Full brief: scratchpad/design/OBS-ROADMAP.md. DoD per docs/STORY-WORKFLOW.md; gate green; no unwrap/expect/panic in non-test; SSH-signed; PR to dev.

Extend GetStatusResponse with real health from AppState + atomic RPC/sync/outbox counters + latency; liveness vs readiness; regen golden. Serial proto queue. Reconcile with WS-F10. Part of the Observability-to-9/10 program. Full brief: scratchpad/design/OBS-ROADMAP.md. DoD per docs/STORY-WORKFLOW.md; gate green; no unwrap/expect/panic in non-test; SSH-signed; PR to dev.
KofTwentyTwo commented 2026-08-01 00:40:54 +00:00 (Migrated from github.com)

Delivered via PR #376 (OBS-8, also closes old WS-F10). GetStatusResponse now returns real health: uptime(Duration), accounts_loaded, unread_count, last_error, outbox_depth, repeated AccountSyncState{account_id,state(IDLE/SYNCING/ERROR),last_synced,last_error}, ready, db_healthy — backed by live state (count_unread_messages/count_pending_mutations/ping + SyncDispatcher::sync_status + boot Instant). Honest degradation on store-read failure (db_healthy=false), no fabricated values. Golden regenerated + contract_stability green; CLI system status renders text+json. 582 tests.

Delivered via PR #376 (OBS-8, also closes old WS-F10). GetStatusResponse now returns real health: uptime(Duration), accounts_loaded, unread_count, last_error, outbox_depth, repeated AccountSyncState{account_id,state(IDLE/SYNCING/ERROR),last_synced,last_error}, ready, db_healthy — backed by live state (count_unread_messages/count_pending_mutations/ping + SyncDispatcher::sync_status + boot Instant). Honest degradation on store-read failure (db_healthy=false), no fabricated values. Golden regenerated + contract_stability green; CLI system status renders text+json. 582 tests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/nuncio#364