We wanted to split up our CI into separate workflows that are run if need-be.
However because we have enabled rolling builds it will cancel the previous workflow that triggers another workflow, because only one build can run for a given PR/branch.
I think it would make sense to allow multiple different workflows for the same PR/branch. Although if there are two identical workflows being run, then it should probably cancel the old one.
that triggered a build âCheck-PRâ #1 which is currently running.
I think I observed that if in the meanwhile I open a second PR âbranch2 > masterâ, the rolling build feature will abort #1 and trigger a âCheck-PRâ build #2. Eventhough the 2 PRs do not originate from the same branch (branch1!= branch2).
Then again, while #2 is still running if I push on branch. It triggers a third build #3 that aborts #2.
Instead, for me expected behaviour would be :
Opening the PR âbranch2 > masterâ does not abord currently running builds regarding PR âbranch1 > masterâ similarly pushing on branch2 does not abort currently running builds regarding PR âbranch1 > masterâ
Pushing on branch1 while a build regarding PR âbranch1 > masterâ is running abort that last build and starts a new build (but do not abort build regarding PR âbranch2 > masterâ)
In short ârolling buildâ should abort older running builds having the exact same couple âbranchToBeMerged/targetedBranchâ not just having the same âtargetedBranchâ.
Is that clear ? Is that the same feature that is requested by @j.kaan in the current thread ?
Are you sure about this? If youâd see this happen please open a #issues:website-issues issue report as thatâs a bug which should not happen - two separate branchâs builds should not abort each other.
Correct, thatâs how rolling build is expected to work even today. This feature request is not about that, itâs about NOT aborting builds on the same branch if those builds are running with different workflows (e.g. both builds running on master branch but one is running with WF1 the other with WF2 those should not abort each other even though both are running for master branch).
Weâve just rolled out this feature, from now on only builds triggered on the same workflow gets aborted when a new build is started. Thanks for the feature request and let me know if you have any questions!