Skip to content

Retry status uploads with backoff #83

Description

@sspaink

StatusPlugin.Status.sendToService catches and logs exceptions, then drops the report on the floor. A transient HTTP failure means the next valid status snapshot is whatever the next periodic tick produces. For ops dashboards this masks brief outages.

  • Retry on failure with exponential backoff and a configurable max attempts.
  • On final failure, log and skip — status reports are periodic, so unlike decision logs there's no buffer to preserve.
  • Don't let retries from one tick overlap with the next scheduled tick: cap the total retry window at the upcoming interval.
  • Tests: 5xx then success delivers the report; permanent failure stops retrying within the budget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions