You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automation failure circuit breaker: pause after N consecutive failures #160
Automations get consecutive-failure thresholds with durable failure counts and explicit re-enable, heartbeat mode, cooldowns and max runs (changelog).
Solenta today
electron/automations.js is hourly/daily/weekly presets only; grep finds no failure/retry/disable logic, so a broken automation fires and fails forever. Related: #85 (Run now failure is an unhandled rejection) and #134 (each fire mints a thread with no retention).
Why it matters
An unattended recurring prompt that fails silently every night burns budget. A failure circuit breaker is table stakes for scheduled agent work.
Fix direction
Track consecutive failures per automation; auto-pause after N with a notification and an explicit re-enable; add optional cooldown and max-runs fields.
Round 29 intel: bernstein's task store ships with retry plus a dead-letter queue: tasks that exhaust retries move to a visible DLQ instead of looping or vanishing. For automation circuit-breaking this is the right end state: after N consecutive failures, the trigger pauses (this issue) AND the failed items land in a dead-letter view the user can inspect, replay, or discard. The DLQ makes the circuit breaker recoverable without losing work, and it gives the morning digest (#323) a concrete section: "3 items dead-lettered overnight."
Activity
currentbits commentedon Aug 18, 2026
Round 29 intel: bernstein's task store ships with retry plus a dead-letter queue: tasks that exhaust retries move to a visible DLQ instead of looping or vanishing. For automation circuit-breaking this is the right end state: after N consecutive failures, the trigger pauses (this issue) AND the failed items land in a dead-letter view the user can inspect, replay, or discard. The DLQ makes the circuit breaker recoverable without losing work, and it gives the morning digest (#323) a concrete section: "3 items dead-lettered overnight."
Pause automations after 3 consecutive failures (#160)
Pause automations after 3 consecutive failures (#160) (#1580)
Pause automations after 3 consecutive failures (#160)