Do not ask the operator to stop a delivery that is already stopped; say what ends it (issue 1581) #413

Merged
mesh-tools merged 3 commits from fix/1581-stopped-alert into main 2026-10-21 08:52:15 +00:00
Showing only changes of commit cddf150871 - Show all commits
+1 -1
View File
@@ -968,7 +968,7 @@ func stalledWords(l stalledLine, o conditions.Observation) (headline, explanatio
// merge that delivers its modules ends it — the operator's"): the part that says what ends it.
func stoppedNeeds(l stalledLine) string {
ends := strings.TrimSpace(strings.TrimPrefix(l.H2, "none:"))
ends, _, _ = strings.Cut(ends, " \\u2014 ")
ends, _, _ = strings.Cut(ends, " — ")
if ends == "" {
ends = "a later merge that delivers its modules ends it"
}