'Bitrise Build Start' step aborts current workflow if Rolling Builds is set to cancel running builds

We want to start using parallel builds as described on https://blog.bitrise.io/start-multiple-builds-with-the-same-trigger to save a lot of build time.
We have Rolling Builds enabled, and set it to auto-cancel running builds.
Now, as soon as the main workflow starts a second workflow with the ā€˜Bitrise Build Startā€™ step, the main workflow gets aborted with reason ā€œAutomatically aborted via Rolling Builds.ā€.

The obvious workaround is to disable the ā€œRunning buildsā€ option in the Rolling Builds settings, but this causes a lot of unnecessary builds for us.

This issue is probably related to this feature request: Do not cancel builds on same branch if another workflow is triggered.
Iā€™m filing it as a bug anyway, as I think it is one.

1 Like

Hi @jcopini,
thanks for the report! We created a ticket for the tooling team, to fix this.

2 Likes

Hi, any update on this? I just tried to use the Bitrise Build Start step, but canā€™t use it because of the above issue :frowning:

Hi @marianeum !

Sorry for the delayed answer!
The Tooling Team has a ticket for this, but itā€™s not solved yet.
For now, you canā€™t use the ā€œBuild Startā€ step with the Rolling Build option if the ā€œCancel Running Buildsā€ option is set.

Sorry for the inconvenience.

Thanks for the update! Is there any timeline for a fix? We currently have two tasks which both take 10-15 minutes, which canā€™t run in parallel because of this issue :frowning: as itā€™s something thatā€™s running on pull request not using ā€œCancel running buildsā€ can cause a lot of running builds, so we donā€™t want to use that at the moment.

Hi @marianeum!

Sorry for the delay and for keeping you waiting! Unfortunately, we canā€™t really provide an ETA, there is a ton our Tooling Teamā€™s plate sadly but rest assured they are working on resolving this as we speak!

Thanks for your patience and understanding in the while, we will definitely get back to you once we have an update!

Sorry is there any update yet? Would really like to speed up our 35 minutes builds with this.

This is also affecting us

Hi @yonaskolb and @marianeum

Sorry about the delay! Some urgent changes came up and unfortunately so our Tooling team couldnā€™t prioritize this task due to them, but they are working on resolving this and will notify this thread once they are done.

In the while, feel free to contact us on our on-site chat about these problems to see if thereā€™s something else we could recommend!

Thanks for the update @bitce! We ended having to remove the ā€œBuild Build Startā€ workflows, and putting everything into a single workflow. Itā€™s a lot slower now as things arenā€™t parallel, but at least builds get auto cancelled on new commits.
Was there a technical reason why Bitrise couldnā€™t allow multiple workflows to be triggered from the same trigger? (or multiple duplicate trigger conditions that start different workflows)

Hi @yonaskolb, sorry for the awfully long delay here!

As to answer your question, yes, but we are looking to implement this in the future. Please see and vote for our related feature request here: Parallel Builds: Seperate stacks for seperate workflows + trigger multiple workflows (builds) at the same time

Sorry to bother again, but is there any update? Weā€™re now at 45 minutes build times - thereā€™s at least two things running for 10-15 minutes each that could be parallelised, but weā€™re blocked by this issue.
This is different to the feature request as an existing feature thatā€™s supposed to parallelise steps is not working with rolling builds enabled.
This is wasting a lot of time for us as we have to spend a lot of time waiting for CI to finish and is causing a huge amount of frustration.

1 Like

@marianeum This is so frustrating! The only work around I can think of is put parallel workflows into separate apps. And use different triggers on them.

@bitce This is getting a little bit ridiculous. It shouldnā€™t be that hard to fix right? Since all the parallel builds have the same build number, the newer ones could JUST cancel the builds with the same trigger that also have a smaller build number. Whatā€™s so hard about that?

@zhubofei we are working on fixing this issue, it should be released soon.

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 reporting the issue and let me know if you have any questions!

2 Likes