Skip to content

An empty balance should not spend the retry budget #195

Closed

Description

@WaylandYang

A job that fails on OutOfCredit still spends its three attempts at 30s, 120s and 270s. A balance does not refill in seven minutes, so the retries only restate the same error and delay the failure the operator needs to see.

RateLimited deserves those retries; #176 separated the two types precisely because one recovers on its own and the other does not. The retry policy has not caught up with that split.

Either skip retries for OutOfCredit, or give the job table a way for a handler to say "this one is final".

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions