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
Add built-in retry handling in the State Manager so ERRORED states are requeued with backoff until a max attempts limit, aligning with the documented lifecycle and fault-tolerance goals. ([Exosphere Docs]1)
Why
The architecture mentions retry mechanisms and error handling, but concrete behavior and knobs are not yet specified in the State Manager service. Implementing this at the service that manages state lifecycles keeps it consistent across runtimes and APIs. ([Exosphere Docs]1)
Scope
On transition to ERRORED, if attempts < max_retries, schedule a retry and move the state back to QUEUED after backoff. Keep the existing lifecycle names. ([Exosphere Docs]1)
Persist per-state counters and next attempt time so retries survive restarts.
Defaults configurable at service level; optional per-graph override can follow later.
Idempotency guard in runtimes by state id to avoid duplicate execution.
Logs and basic metrics for attempts, successes after retry, and exhausted retries.
Config
Users should be able to add as config in graph template with some default value and method of retry
Activity
[-]Add support for retry logics[/-][+]Add support for retries in StateManager[/+]