Skip to content

fix(success): post comments one at a time - #1043

Open
syphernl wants to merge 1 commit into
semantic-release:masterfrom
syphernl:fix/post-notes-sequentially
Open

syphernl wants to merge 1 commit into
semantic-release:masterfrom
syphernl:fix/post-notes-sequentially

Conversation

@syphernl

@syphernl syphernl commented Nov 12, 2026 •

Copy link
Copy Markdown

Post the success comments sequentially instead of all at once with Promise.all.

A release that closes many issues and merge requests sends every note in the same instant, and GitLab answers with 429 on the notes endpoint. The release is already published at that point, but the job fails. Sending them one at a time keeps the release under the rate limit in the first place.

This complements #1039, which retries a note on 429. The two changes touch different lines and do not conflict.

The new test asserts that the second note is only sent after the first one has completed.

All success comments were posted at once with Promise.all. A release
that closes many issues and merge requests hits GitLab's notes rate
limit with a 429, which fails the whole release job after the release
itself was already published.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant