Skip to content

Add circuit-breaker mode for unstable upstream model provider #23

Description

@Flamki

Problem

Repeated provider failures can cascade into poor UX and excessive latency.

Scope

  • Add failure threshold + cool-down window
  • Short-circuit to fallback behavior while breaker is open
  • Emit breaker state changes in status/logs

Acceptance Criteria

  • Repeated failures open the breaker
  • Breaker half-open/close behavior is deterministic
  • Dashboard/API status reflects degraded mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programarea/backendBackend APIs and orchestrationenhancementNew feature or requestpriority/P2Medium priority, planned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions