Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71849

Request to not make an API limit decision for the user

XMLWordPrintable

    • 1740.v51d5810e9e8c

      Specifically https://github.com/jenkinsci/github-branch-source-plugin/blob/3f1889ac475b706b31c186e31ca8266a0a847504/src/main/java/org/jenkinsci/plugins/github_branch_source/ApiRateLimitChecker.java#L100-L120

      This impacts our ability to get proper GitHub support. Our company has enterprise support and one of the conditions for us to get higher GitHub App limits is that we actually use up to the limit and show errors of us hitting the limit. GitHub enterprise support worked with us to raise our app limits once but will not raise them again due to our usage profile.

      Because this setting is ignored for github.com (of which we're using hosted GitHub Enterprise). Jenkins throttles API limits despite us configuring limits to be ignored.

      • This produces a terrible developer experience because our users see delays.
      • It has a bad admin experience because we're challenged by GitHub support to hit our limits when this simply isn't possible with the current implementation of the GitHub branch source plugin.

      We tried disabling limit monitoring but the logs state:

      2023-08-17 17:20:00.949+0000 [id=3390317]	INFO	o.j.p.g.ApiRateLimitChecker$RateLimitCheckerAdapter#checkRateLimit: GitHub throttling is disabled, which is not allowed for public GitHub usage, so ThrottleOnOver will be used instead. To configure a different rate limiting strategy, go to "GitHub API usage" under "Configure System" in the Jenkins settings.
      

            Unassigned Unassigned
            sag47 Sam Gleske
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: