Fail-fast Github commit status

Hi Buildkite crew,

Background: We are using bors-ng to merge our Github pull requests (PRs). Bors merges one or more PRs at a time in batches and it will not continue with a new batch until a specific Github commit status is set to green or red, or a timeout occurs (generally after 30 min or so).

Currently we have a pipeline consisting of multiple step running in parallel (ie. there is no wait step); a few quick code linters (take 30 seconds) and a very slow unit test step (takes ~10 minutes).

Here’s our issue: If a single developer is merging a pull request which breaks some linting rule, Buildkite will not report back that that the commit is Broken until all parallel steps have finished. This means that Buildkite reports back to Github that the commit is RED after 10 minutes (the time it takes for our tests to finish) even though it knew the build failed within 30 seconds . This is waste to us as it blocks another developers pull request to get merged.

Do you have any plans/options/possibilities to make Buildkite submit that the pipeline has failed even though not all steps have finished? It would make wonders for us. If not, see this as feedback and a feature request.

Our current workaround is that we’ve added a “wait” step between the linting and the unit tests, however, this has the cost of adding yet another 30 seconds to every succesful merge which really also is waste.

Thanks,

Jens

Hi,

We have a similar request. We’d like a build which will eventually fail to show up as a status as soon as the first job in it fails. We could add a per job status but this’d increase the noise for our developers in the list of Github statuses.

Wondering if you could provide us with a opt-in “Fail fast” for github status for the build when any of the job in it fails.

Thanks,
Sridhar