Skip to content

Conversation

@alex-b-form3
Copy link
Contributor

@alex-b-form3 alex-b-form3 commented Sep 1, 2023

Background

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 PR for the main GitHub provider, in fact the PR just imports the HTTP client implementation directly from the other provider for full consistency.

* Leveraged existing patterns/code used for the normal terraform-provider-github package which was first implimented in [this PR](integrations/terraform-provider-github#145)
@alex-b-form3 alex-b-form3 requested a review from a team as a code owner September 1, 2023 15:50
@alex-b-form3 alex-b-form3 force-pushed the alex-add-retry-http-transport branch from c145931 to 2c330a6 Compare September 4, 2023 13:28
@alex-b-form3 alex-b-form3 changed the title Alex add retry http transport Use Rate-limit-aware HTTP Transport Sep 4, 2023
@alex-b-form3 alex-b-form3 changed the title Use Rate-limit-aware HTTP Transport Use Rate-limit Aware HTTP Transport Sep 4, 2023
Copy link
Contributor

@markhowardform3 markhowardform3 left a comment

Choose a reason for hiding this comment

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

lgtm.

* Now the required changes have been merged to main branch in go-github-utils am upgrading to latest version
@alex-b-form3 alex-b-form3 merged commit ceed630 into master Sep 5, 2023
@alex-b-form3 alex-b-form3 deleted the alex-add-retry-http-transport branch September 5, 2023 10:37
@alex-b-form3 alex-b-form3 restored the alex-add-retry-http-transport branch September 5, 2023 10:49
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.

3 participants