Skip to content

buildchecker: return first N builds in series of failures

Administrator requested to merge buildchecker/get-first-of-consecutive into main

Created by: bobheadxi

In today's branch lock, because >3 failures occurred before buildchecker got a chance to run, the root cause of the incident was not tagged because we take the most recent N builds in the series of consecutive failures. This change corrects buildchecker to take the oldest N builds in a series to ensure the root cause of the incident is included.

Nice side effect: checkConsecutiveFailures findConsecutiveFailures is now completely uniform across buildchecker and buildchecker history 😁

Merge request reports

Loading