-
Bug
-
Resolution: Incomplete
-
Major
-
All Env's
Environment
- Jenkins Version: 2.516.2
- GitHub Branch Source Plugin: 1848.v42f74f7f4500
- GitHub API Plugin: 1.330-492.v3941a_032db_2a_
- GitHub: Enterprise (using GitHub App authentication)
Context
- Jenkins is integrated with GitHub Enterprise using a GitHub App for authentication and API calls.
- Webhooks are used to trigger Jenkins builds per service.
Issue
- We are experiencing very high API call usage against GitHub’s core API.
- Within a 40-minute period, the reported rate limit headers show:
-
- x-ratelimit-limit: 15000
-
- x-ratelimit-remaining: 2953
-
- x-ratelimit-reset: 1757590036
-
- x-ratelimit-used: 12047
-
- x-ratelimit-resource: core
This means more than 12,000 API calls are consumed in just ~40 minutes, which seems excessive.
Investigation
- After contacting GitHub Support, they informed us that Jenkins is frequently calling the rate limit checker and /meta endpoints, causing unnecessary API load.
Request
- Please advise how to reduce or prevent this excessive API usage.
- Is this a known issue in the GitHub Branch Source or GitHub API Plugin?
- Are there recommended configuration changes, patches, or updated plugin versions that mitigate this problem?