Skip to content

Retry on HTTP 410#621

Merged
wolfy1339 merged 2 commits into
octokit:mainfrom
camchenry:camchenry/retry-on-410
Mar 18, 2025
Merged

Retry on HTTP 410#621
wolfy1339 merged 2 commits into
octokit:mainfrom
camchenry:camchenry/retry-on-410

Conversation

@camchenry
Copy link
Copy Markdown
Contributor

Resolves #620


Before the change?

Requests returning HTTP 410, resulting in 3x more requests to the API for the default settings, despite the API not returning a different response.

After the change?

Request which return a 410 status code will not be retried automatically, acting the same as if it returned 404.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link
Copy Markdown

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@wolfy1339 wolfy1339 merged commit 40a8c8b into octokit:main Mar 18, 2025
@github-project-automation github-project-automation Bot moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Active Mar 18, 2025
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 7.2.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

released Type: Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Requests returning HTTP 410 Gone should not be retried

4 participants