Text of github.com › golang › go › issues › 44406 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

x/build/cmd/coordinator: add health check and graph to track hourly remaining GitHub API rate limit · Issue #44406 · golang/go · GitHub

Skip to content 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 x/build/cmd/coordinator: add health check and graph to track hourly remaining GitHub API rate limit #44406 New issue Copy link New issue Copy link Closed Closed x/build/cmd/coordinator: add health check and graph to track hourly remaining GitHub API rate limit #44406 Copy link Labels Builders x/build issues (builders, bots, dashboards) x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.

The path to resolution is known, but the work has not been done. Milestone Unreleased Description dmitshur opened on Feb 19, 2021 Issue body actions While investigating #44404 , I noticed in GopherBot's logs that it was failing to take some actions due to exceeding GitHub API rate limit quota: $ kubectl logs -f gopherbot-deployment-6c6d86d5b9-s88c8 | grep "API rate limit" [...] 2021/02/19 00:19:47 cl2issue: GET https://api.github.com/repos/golang/go/issues/44295/comments?per_page=1000&since=2021-02-19T00%3A14%3A00Z: 403 API rate limit of 5000 still exceeded until 2021-02-19 00:47:55 +0000 UTC, not making remote request. [rate reset in 28m08s] [...] When rate limit is exceeded, GopherBot stops being reliable for its users, and regular maintenance tasks do not occur.

This may be related to heavy activity, or perhaps it's caused by increased deterioration of issue #28320 . This issue is to keep an eye on big of a problem it is and what we need to do here. CC @golang/release. Activity Next dmitshur added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. on Feb 19, 2021 dmitshur added this to the Unreleased milestone on Feb 19, 2021 gopherbot added Builders x/build issues (builders, bots, dashboards) x/build issues (builders, bots, dashboards) on Feb 19, 2021 dmitshur changed the title [-] x/build/cmd/gopherbot: GopherBot may exceed rate limit [/-] [+] x/build/cmd/gopherbot: may exceed GitHub API rate limit [/+] on Feb 19, 2021 dmitshur commented on Feb 19, 2021 dmitshur on Feb 19, 2021 Member Author More actions Based on golang/crypto#143 (comment) , this issue might be affecting more services than just GopherBot.

Reacted by Carlos Amédée dmitshur commented on Mar 1, 2021 dmitshur on Mar 1, 2021 Member Author More actions This is happening today too, affecting the "close cherry pick issues" task. 2021/03/01 20:54:36 close cherry pick issues: GET https://api.github.com/repos/golang/go/issues/44464/comments?per_page=1000&since=2021-02-26T10%3A29%3A53Z: 403 API rate limit of 5000 still exceeded until 2021-03-01 20:56:13 +0000 UTC, not making remote request. [rate reset in 1m43s] dmitshur commented on Mar 15, 2021 dmitshur on Mar 15, 2021 Member Author More actions From GerritBot logs today: 2021/03/15 17:47:59 getFullPR(ctx, "golang", "website", 40): b.githubClient.Do: GET https://api.github.com/repos/golang/website/pulls/40: 403 API rate limit of 5000 still exceeded until 2021-03-15 18:05:45 +0000 UTC, not making remote request. [rate reset in 17m45s] Reacted by Carlos Amédée toothrot assigned toothrot and jeremyfaller and unassigned toothrot on Mar 16, 2021 jeremyfaller commented on Mar 16, 2021 jeremyfaller on Mar 16, 2021 More actions Ticket opened w/ Github , awaiting response.

Reacted by Dmitri Shuralyov jeremyfaller commented on Mar 17, 2021 jeremyfaller on Mar 17, 2021 More actions Poked Github. No rate limit increase is in the cards. We'll be held to 5k/hour unless we upgrade to an enterprise account (being related to the Google {which is an enterprise account} doesn't seem to help us here). I think we'll need to fix the underlying issues. edit : We'd get 15k/hour if we upgraded. dmitshur commented on Mar 17, 2021 dmitshur on Mar 17, 2021 Member Author More actions Thanks for the update.

I'm working on getting a graph of our rate limit usage. Having that should help get a sense of how much/often the rate limit is being exceeded, and how much we need to decrease its usage by. Reacted by Carlos Amédée dmitshur self-assigned this on Mar 19, 2021 gopherbot commented on Mar 22, 2021 gopherbot on Mar 22, 2021 Contributor More actions Change https://golang.org/cl/303670 mentions this issue: cmd/coordinator: add health check for GitHub API quota 1 remaining item gopherbot added 2 commits that reference this issue on Mar 23, 2021 cmd/coordinator: migrate to OpenCensus for metrics bbf6dcb cmd/coordinator: add health check for GitHub API quota d7600ec dmitshur commented on Apr 6, 2021 dmitshur on Apr 6, 2021 Member Author More actions I'm going to retitle this issue to be about adding a health check and metrics to improve visibility into this issue, and close it since it's done.

We can file new issues for future improvements to reduce the amount of time the rate limit is exceeded. dmitshur changed the title [-] x/build/cmd/gopherbot: may exceed GitHub API rate limit [/-] [+] x/build/cmd/coordinator: add health check and graph to track hourly remaining GitHub API rate limit [/+] on Apr 6, 2021 dmitshur closed this as completed on Apr 6, 2021 dmitshur added NeedsFix The path to resolution is known, but the work has not been done.

The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. on Apr 6, 2021 gopherbot commented on Apr 9, 2021 gopherbot on Apr 9, 2021 Contributor More actions Change https://golang.org/cl/308790 mentions this issue: cmd/gopherbot: add more deleted issues to deletedIssues map gopherbot added a commit that references this issue on Apr 9, 2021 cmd/gopherbot: add more deleted issues to deletedIssues map da7dfab golang locked and limited conversation to collaborators on Apr 9, 2022 gopherbot added FrozenDueToAge on Apr 9, 2022 rsc unassigned dmitshur and jeremyfaller on Jun 23, 2022 heschi moved this to Done in Release/Build Infrastructure on Sep 27, 2022 heschi added this to Release/Build Infrastructure on Sep 27, 2022 Sign up for free to join this conversation on GitHub.

Already have an account? Sign in to comment Metadata Metadata Assignees No one assigned Labels Builders x/build issues (builders, bots, dashboards) x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. The path to resolution is known, but the work has not been done. Type No type Projects Release/Build Infrastructure Status Done Show more project fields Milestone Unreleased Relationships None yet Development No branches or pull requests Issue actions You can’t perform that action at this time.