Workflow ManagerDefinitionsInstancesObservability
Home
Observability

Phase 1 stub. Connect to Supabase instance store and Redis completion queues per the Workflow Manager spec (GET /api/observability/summary for JSON consumers).

{
  "phase": 1,
  "workflowInstances": {
    "total": 0,
    "running": 0,
    "failed": 0,
    "awaitingHuman": 0,
    "note": "Stub — connect to WM persistence (Supabase) when engine lands."
  },
  "queues": {
    "completionDepth": 128,
    "retryDepth": 74,
    "note": "Redis: completion stream length → completionDepth; dispatch stream length → retryDepth; see redisStreams for XPENDING."
  },
  "deployment": {
    "redisCompletionAndDispatchConfigured": true,
    "sequentialDispatchStubEnabled": false,
    "dispatchWorkerTickEnabled": true,
    "mutatingAuthConfigured": false,
    "staticBearerConfigured": false,
    "jwtHs256Configured": false,
    "metricsScrapeTokenConfigured": false,
    "sensitiveKeyRedactionHelper": "wm-log-redaction"
  },
  "process": {
    "uptimeSeconds": 1829,
    "pid": 20,
    "node": "v20.20.2"
  },
  "httpMetrics": {
    "httpCompletionsAccepted": 1,
    "httpInstancesStarted": 2,
    "httpBackpressure429": 0,
    "httpDispatchBackpressure429": 0,
    "httpInstancePause": 0,
    "httpInstanceInterrupt": 0,
    "httpInstanceResume": 0,
    "hitlNotifyWebhookAttempt": 0,
    "hitlNotifyWebhookFailure": 0,
    "completionLatencyObservations": 1,
    "completionLatencySumSec": 1.1234401160001288,
    "instanceStartLatencyObservations": 2,
    "instanceStartLatencySumSec": 0.5899531090001693
  },
  "generatedAt": "2026-05-16T13:24:49.565Z",
  "redisStreams": {
    "probeOk": true,
    "completionStreamLength": 128,
    "dispatchStreamLength": 74,
    "completionGroupPending": null,
    "dispatchWorkerGroupPending": 1,
    "dispatchStubGroupPending": null
  }
}