Skip to content

Add exponential back-off retrying for the github API tools in generate-release #1317

@alice-i-cecile

Description

@alice-i-cecile

When using the various methods to interact with Github's API, it's possible to get rate-limited. This is particularly common with the various mutating operations, like opening issues or leaving comments.

Rather than simply aborting due to failure, we should retry, using the standard exponential back-off strategy, up to a max time.

This will make the tool much more reliable to run automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-AutomationTools to make repetitive tasks easierC-FeatureA new feature, making something new possibleS-Ready-For-ImplementationThe core questions are answered: just add code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions