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
We are running into the gitlab API limit on some projects when multiple semantic-releases are running at the same time from share IPs.
[8:07:42 AM] [semantic-release] › ℹ Start step "success" of plugin "@semantic-release/gitlab"
[8:07:44 AM] [semantic-release] [@semantic-release/gitlab] › ✖ An error occurred while posting comments to related issues and merge requests:
HTTPError: Response code 429 (Too Many Requests)
at Request.<anonymous> (/usr/local/lib/node_modules/@semantic-release/gitlab/node_modules/got/dist/source/as-promise/index.js:117:42)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_NON_2XX_3XX_RESPONSE',
for very Commit the script is looking for a MR, with those MR the script is searching for an resolved issue. So there will be at least commits * MR Requests. As we do not use gitlab issues (but like the MR comment), what about a configuration to disable the Issue Comments and hence those requests? This will limit the requests to count of commits.
Another Option would be rate limiting the requests, but that seems like a lot more work but more sustainable solution.
The text was updated successfully, but these errors were encountered:
We are running into the gitlab API limit on some projects when multiple semantic-releases are running at the same time from share IPs.
As far as I understand the code
gitlab/lib/success.js
Line 72 in 3051799
Another Option would be rate limiting the requests, but that seems like a lot more work but more sustainable solution.
The text was updated successfully, but these errors were encountered: