You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
github_branch_protection still slow with version 4.0.0 #606
As was reported earlier with version 3.1.0, the performance of the github_branch_protection resource has slowed down significantly now that this resource is using v4 of the GitHub API. It makes using the github provider unusable when working with dozens of repositories.
Is there a way to keep using the v3 version of the API somehow?
Reacted by Yevhen Sakhniuk, Kurt McAlpine, Shreyas Balakrishna, Bryce Cahill, adedamolawuraola, Ming Chen, Joban, Jamie Wark, Benjamin, andystewart12 and 16 more
There was some discussion around a new resource pinned at the v3 / REST implementation over here. Still unclear on what an acceptable migration path would be though if we went ahead with this approach. Any ideas?
🤔 there is also the optimization approach in case anyone can recommend ways to improve the GraphQL implementation.
Hmm, I understand the problem. I'm not sure what the best approach would be. Adding the github_branch_protection_v3 resource sounds like a reasonable option. As long as I can use future versions of this provider with the branch protection performance of API v3, I don't have a strong preference for a specific implementation. I can't comment on which implementation would be the easiest to maintain moving forward.
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
github_branch_protection_v3 still uses the REST API, which may help. I'd be very receptive to thoughts on how to improve the experience using the GraphQL API.
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Activity
jcudit commentedon Nov 17, 2020
There was some discussion around a new resource pinned at the v3 / REST implementation over here. Still unclear on what an acceptable migration path would be though if we went ahead with this approach. Any ideas?
🤔 there is also the optimization approach in case anyone can recommend ways to improve the GraphQL implementation.
SanderKnape commentedon Nov 18, 2020
Hmm, I understand the problem. I'm not sure what the best approach would be. Adding the
github_branch_protection_v3resource sounds like a reasonable option. As long as I can use future versions of this provider with the branch protection performance of API v3, I don't have a strong preference for a specific implementation. I can't comment on which implementation would be the easiest to maintain moving forward.lijok commentedon Jul 5, 2021
Reason for its slowness: #849
github-actions commentedon Dec 7, 2022
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!akloss-terion commentedon Dec 7, 2022
Oof... this is still super annoying. Like really. A lot.
kfcampbell commentedon Dec 8, 2022
github_branch_protection_v3still uses the REST API, which may help. I'd be very receptive to thoughts on how to improve the experience using the GraphQL API.github-actions commentedon Sep 5, 2023
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!akloss-terion commentedon Sep 5, 2023
It's still slow. We pretty heavily use/abuse
-targetto avoid planning around github things because of how much longer it takes to run the plans.github-actions commentedon Jun 2, 2024
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!