Raise plan-failed for a failed delivery plan, with Retry when a retry would run (issue 1314, ADR 0449)

This commit is contained in:
2026-10-19 21:26:43 +00:00
parent 666dcff79b
commit 248fe521a3
6 changed files with 455 additions and 0 deletions
+5
View File
@@ -429,6 +429,11 @@ var plainWordings = map[string]func(conditions.Observation) words{
"out) has not let it start yet.",
Resolved: "Resolved: the delivery is no longer waiting"}
}),
kindPlanFailed: worded(func(o conditions.Observation) words {
return words{Headline: "A delivery failed",
Explanation: "A delivery did not finish. Nothing is tried again until you say so.",
Resolved: "Resolved: the delivery is no longer failed"}
}),
"ask-lost": worded(func(o conditions.Observation) words {
return words{Headline: "A build has no result",
Explanation: "A build was asked for and never answered. It is asked again with the next delivery.",