What seems strange to me is that sometimes it works and someties it doesn’t… What I noticed is that the build where it worked has the ENV BUILDKITE_SOURCE="webhook" while the build where it was stuck has BUILDKITE_SOURCE="schedule".
Thanks for providing more details regarding the pipeline. Interesting!
My hunch would be that the branch conditional is not met in all cases.
We’d recommend reaching out to us via email on support@buildkite.com and provide link to the problematic pipeline, so we can examine it in more details.