Skip to content

Conversation

jyasskin
Copy link
Contributor

This tries to fix #632, but I haven't tested it.

@gr2m gr2m added the Type: Bug Something isn't working as documented label Oct 24, 2023
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Thank you so much for investigating the problem and for sending the pull request. We will need a test for it, and a replicable test case to confirm the change works as expected

@jyasskin jyasskin changed the title GraphQL queries can exceed the rate limit even with x-ratelimit-remaining === 0. fix(graphql): GraphQL queries can exceed the rate limit even with x-ratelimit-remaining !== 0. Oct 24, 2023
@jyasskin jyasskin force-pushed the graphql-can-rate-limit-above-0 branch from f4b4bbd to 0c5cd08 Compare October 24, 2023 16:42
@jyasskin
Copy link
Contributor Author

I've adjusted the tests so they cover this case. Is https://github.com/jyasskin/testing/actions/runs/6630237322/job/18011241976 what you meant by a replicable test case?

Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Thank you, that works!

@gr2m gr2m enabled auto-merge (squash) October 25, 2023 16:51
@gr2m gr2m merged commit 94da99a into octokit:main Oct 25, 2023
@github-actions
Copy link
Contributor

🎉 This PR is included in version 8.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jyasskin jyasskin deleted the graphql-can-rate-limit-above-0 branch October 25, 2023 20:55
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
None yet
Development

Successfully merging this pull request may close these issues.

GraphQL rate limit errors don't always get retried.
2 participants