Why are my pipelines getting cancelled automatically?
Last updated: March 4, 2026
Codemagic automatically cancels builds that have been waiting in the queue for more than 5 hours. This timeout mechanism helps prevent builds from sitting indefinitely in the queue and ensures optimal resource allocation.
How to prevent automatic cancellations
If your builds are being cancelled due to long queue times, the recommended solution is to increase your build concurrency. This allows more builds to run simultaneously, which helps clear the queue faster and reduces wait times.
To increase your build concurrency:
Review your current concurrency limits in your account settings
Consider upgrading your plan or purchasing additional concurrent build slots
This will allow more builds to run in parallel, reducing queue wait times
Important notes
The 5-hour queue timeout cannot be extended or customized per account
This timeout only applies to builds waiting in the queue, not to builds that are actively running
Increasing build concurrency is the most effective way to resolve queue-related cancellations