Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alice-i-cecile opened this issue Jun 3, 2024 · 0 comments
Labels
C-Automation Tools to make repetitive tasks easier C-Enhancement New feature or request S-Ready-For-Implementation The core questions are answered: just add code

Comments

@alice-i-cecile
Copy link
Member

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.

@alice-i-cecile alice-i-cecile added C-Enhancement New feature or request A-Build-System S-Ready-For-Implementation The core questions are answered: just add code labels Jun 3, 2024
@alice-i-cecile alice-i-cecile added this to the Release v0.14 milestone Jun 3, 2024
@alice-i-cecile alice-i-cecile added C-Automation Tools to make repetitive tasks easier and removed A-Build-System labels Jun 5, 2024
@alice-i-cecile alice-i-cecile removed this from the Release v0.14 milestone Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Automation Tools to make repetitive tasks easier C-Enhancement New feature or request S-Ready-For-Implementation The core questions are answered: just add code
Projects
None yet
Development

No branches or pull requests

1 participant