Skip to content

Automation failure circuit breaker: pause after N consecutive failures #160

Closed

Description

@currentbits

What Synara does

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.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 16, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    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."

  3. added
    plan:doing
    and removed
    plan:todo
    on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions