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

fix: make graphql error retries actually work #403

Merged
merged 1 commit into from Feb 18, 2023
Merged

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Feb 18, 2023

This is really just a refactoring, I didn't touch tests besides reordering the order of state, octokit arguments for consistency. But for some reason the retries didn't work when the retry plugin was used with octokit. With this change, it does. It's also more efficient because it calls the error handler directly instead of throwing an error and assuming it will be caught and handled correctly.

I confirmed this is working with our production app.

@ghost ghost added this to Inbox in JS Feb 18, 2023
@gr2m gr2m added the Type: Bug Something isn't working as documented label Feb 18, 2023
@ghost ghost moved this from Inbox to Bugs in JS Feb 18, 2023
@gr2m gr2m merged commit f29b398 into main Feb 18, 2023
@gr2m gr2m deleted the actually-make-retries-work branch February 18, 2023 20:53
JS automation moved this from Bugs to Done Feb 18, 2023
@github-actions
Copy link

🎉 This PR is included in version 4.1.2 🎉

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
released Type: Bug Something isn't working as documented
Projects
Archived in project
JS
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants