Integration Reliability Center
CaseSolo now has a production-visible, admin-facing Integration Reliability Center at /integrations/health with a dedicated API at /api/integrations/reliability.
Source Of Truth
src/lib/integrations/reliability-center.tsaggregates readiness, connector health, adapter manifests, webhook delivery history, workflow impact, sync backlog, credential expiry, and provider action logs.src/app/api/integrations/reliability/route.tsexposes the report toADMINandSUPER_ADMINusers only.src/app/(dashboard)/integrations/health/page.tsxrenders the Reliability Center UI.src/lib/nav/nav-config.tsandsrc/lib/nav/command-palette-actions.tsexpose the screen to admins in production mode.
Signals Included
- OAuth readiness from
buildIntegrationReadinessReport(). - Connector health from
getIntegrationHealth(). - Adapter capabilities and reliability promises from
src/lib/automation-adapters/. - Webhook active endpoints, failed deliveries, dead letters, last delivery, and last HTTP status.
- Credential expiry state from connector token metadata.
- Sync backlog from connector error queues, failed provider logs, and webhook dead letters.
- Replay backlog from dead letters and failed workflow runs.
- Failed jobs as an explicit connector and report summary metric.
- Impacted workflows discovered from workflow triggers, nodes, and metadata.
- Recent provider action logs from firm-scoped
Activityrecords. - The Open replay queue control routes operators to the webhook replay surface for replayable backlog.
Security Notes
- The API is admin-only and firm-scoped.
- The report intentionally omits raw OAuth tokens, provider secrets, webhook secrets, and delivery payloads.
- Replay counts and the replay queue entry point are surfaced, but replay execution still stays in provider/webhook-specific admin surfaces until Command Graph policy enforcement is complete.
- The report intentionally separates failed jobs from replay backlog so operators can distinguish workflow fallout from delivery backlog.
Verification
npm run test:run -- integration-reliability-center navigation-consolidation command-palette-actions integrations-reliability --reporter=verbose: 22 tests passing.npm run typecheck: passing for this worktree snapshot.npm run lint -- src/lib/integrations/reliability-center.ts src/app/'(dashboard)'/integrations/health/page.tsx src/lib/launch/platform-mode.ts src/lib/nav/nav-config.ts src/lib/nav/command-palette-actions.ts src/__tests__/lib/integration-reliability-center.test.ts src/__tests__/lib/navigation-consolidation.test.ts src/__tests__/lib/command-palette-actions.test.ts src/__tests__/api/integrations-reliability.test.ts e2e/integrations.spec.ts: passing.env CASESOLO_PLAYWRIGHT_PORT=3120 npx playwright test e2e/integrations.spec.ts --project=chromium --no-deps: 20 tests passing.