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

feat: add retry-errors option #354

Merged
merged 1 commit into from Nov 10, 2021
Merged

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Nov 10, 2021

Adds retry-errors option for retrying 5xx and network errors.

CC: @tmatsuo

Adds retry-errors option for retrying 5xx and network errors
@bcoe
Copy link
Contributor Author

bcoe commented Nov 10, 2021

@JustinBeckwith I think this will hopefully solve some of the flakyness in GitHub Actions, like this which I believe to be caused by occasional network errors.

This feature will attempt to retry network errors and 5xx errors three times, adding by default a 3s jitter, in an effort to reduce thundering herds.

Copy link
Owner

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Thank you!

@JustinBeckwith JustinBeckwith merged commit 2ca5a36 into JustinBeckwith:main Nov 10, 2021
@github-actions
Copy link

🎉 This PR is included in version 2.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants