From 618b22db1589b9be44c89472732074920ab1038e Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 9 Nov 2026 08:56:22 +1100 Subject: [PATCH] fix(releaseupdate): canary ignores task alerts, which the park rate already judges --- internal/releaseupdate/canary_dashboard.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/releaseupdate/canary_dashboard.go b/internal/releaseupdate/canary_dashboard.go index eda1ba39b..ad7b251e5 100644 --- a/internal/releaseupdate/canary_dashboard.go +++ b/internal/releaseupdate/canary_dashboard.go @@ -88,6 +88,7 @@ func (d CanaryDashboard) ready(ctx context.Context) (bool, error) { func (d CanaryDashboard) actionAlerts(ctx context.Context, since time.Time) ([]string, error) { var body struct { Alerts []struct { + Kind string `json:"kind"` Severity string `json:"severity"` Title string `json:"title"` FirstRaised time.Time `json:"first_raised"` @@ -98,7 +99,10 @@ func (d CanaryDashboard) actionAlerts(ctx context.Context, since time.Time) ([]s } var titles []string for _, a := range body.Alerts { - if a.Severity == "action" && !a.FirstRaised.Before(since) { + // A task needing a decision is the task's outcome, which the park + // rate already judges against the baseline; counting each one as a + // hard failure rolls back every release on a busy host. + if a.Severity == "action" && !strings.HasPrefix(a.Kind, "task.") && !a.FirstRaised.Before(since) { titles = append(titles, a.Title) } }