mix durable.doctor (Durable v0.1.0-rc)
View SourceHealth check for a Durable instance. Surfaces the classes of stuck state that recovery doesn't always fix on its own:
- zombies —
:waitingworkflows with no pending inputs or events - stale locks —
:runningworkflows whose lock hasn't been refreshed for longer thanstale_lock_timeout - compensation stragglers —
:compensatingworkflows that never reached:compensatedor:compensation_failed - disabled schedules — scheduled workflows auto-disabled after repeated failures
Pass --fix to invoke the adapter's recovery (same path the
background StaleJobRecovery GenServer runs on its interval).
Usage
mix durable.doctor [--fix] [--name NAME]Options
--fix- Run recovery for stale locks + zombies after reporting--json- Emit the findings as JSON--name NAME- The Durable instance name (default: Durable)