You can make Buildkite always set the same commit statuses by going into your pipeline’s settings, into GitHub, and then changing the Separate statuses for pull requests checkbox:
We added this for folks that do different steps for builds on push versus builds from pull requests.
You might also like to check the other settings in repository builds there. We use master in the Branch Filter Pattern so that master pushes and merges are always built and deployed but other branches are only built once they get turned into pull requests and have a full pull request context, for example.
But I want to use separate statuses for pull requests. It works as expected the first time but if I push an update to the pull request a second build is created that doesn’t use the /pr suffix. It seems like a bug? Perhaps your system doesn’t recognize that the update is part of the same pull request?
Ah, that does sound like a problem. Want to email the specifics of the pipeline and builds you’re wrestling with to support@buildkite.com so we can take a look?
I started an email thread with Eleanor Kiefel Haggerty via email over the weekend since I wasn’t sure if this post got lost in the noise. I’ll continue to follow up with her.
Hmm, we don’t have this as an active issue Could you email support@buildkite.com with more details of the pipelines and builds where you are having this problem?
Sometimes happens that builds statuses are visible on the PR because they use different labels, as GitHub stores build status against a commit sha only. This means all statuses submitted for the commit are visible, regardless of whether they were intended to be linked with the PR.