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!