Parallel semantic-release jobs interfere with each other #300
Unanswered
martinkrulltott
asked this question in
Gotchas
Replies: 1 comment 3 replies
-
@martinkrulltott @amcgee We should be able to use github's new https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency It's in beta, but I haven't encountered any stability issues with it so far. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In team analytics we've noticed that running parallel semantic-release jobs, e.g. by triggering two PRs targeting different branches to merge at the same time, interfere with each other in a way that the jobs fail.
As seen here and here.
A common occurrence of this in our repos is when working with backports, where each PR target a different base. Merging these at simultaneously causes the jobs to fail.
The simplest work-around seems to be to re-run the jobs one by one (i.e. not parallel). As pointed out by @varl here.
As CI logs expire after a while, I've attached a part of the log below for reference:
Beta Was this translation helpful? Give feedback.
All reactions