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

Use Rate-limit Aware HTTP Transport #41

Merged
merged 4 commits into from
Sep 5, 2023

Conversation

alex-bourla-form3
Copy link
Contributor

This provider, whilst fully functional, currently lacks awareness of how to hand rate limiting responses from GitHub. This causes a range of issues, not just for the workspace in question, but ultimately the whole IP/host which the Terraform plan/apply is being triggered from.

This PR implements a rate-limiting-aware HTTP client, following the same pattern initially introduced in this integrations/terraform-provider-github#145 for the main GitHub provider, in fact the PR just imports the HTTP client implementation directly from the other provider for full consistency.

* Leveraging existing patterns/code used for the normal terraform-provider-github package which was first implimented in [this PR](integrations/terraform-provider-github#145)
* Upgraded GH client to v54 for compatibility
@alex-bourla-form3 alex-bourla-form3 requested a review from a team as a code owner September 5, 2023 10:13
* Leveraging existing patterns/code used for the normal terraform-provider-github package which was first implimented in [this PR](integrations/terraform-provider-github#145)
* Upgraded GH client to v54 for compatibility
@alex-bourla-form3 alex-bourla-form3 merged commit 0e7e86c into master Sep 5, 2023
@alex-bourla-form3 alex-bourla-form3 deleted the alex-rate-limit-aware-transport branch September 5, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants