Hold a dotted module on its own health condition at the gate
mesh/merge-gate pass: builds build-agent, mesh-controller, route-proxy → ace, g14, novox, shanks; no bus step; every machine composes with the change as it…
mesh/repo-check pass: its merge-check.sh passed
mesh/delivery delivered
mesh/delivery-group group feat/a-module-says-how-it-is-healthy delivered: every member is delivered

This commit is contained in:
jochen
2026-10-07 02:28:16 +02:00
parent 1cc6a2d759
commit 725fcd977e
+3 -1
View File
@@ -200,7 +200,9 @@ func judgeHealth(module, component string, m catalogue.Manifest, machine string,
if !onIt { if !onIt {
continue continue
} }
if c.Subject.Scope == conditions.ScopeMachine || slices.Contains(strings.Split(c.Subject.ID, "."), module) { // A module's own health condition names it whole, its name's dots and all (ADR 0240).
ownHealth := c.Subject.Scope == conditions.ScopeModule && c.Subject.ID == module+"."+machine
if c.Subject.Scope == conditions.ScopeMachine || ownHealth || slices.Contains(strings.Split(c.Subject.ID, "."), module) {
return healthNotYet, fmt.Sprintf("raised since it was sent: %s — %s", c.Key, c.Summary) return healthNotYet, fmt.Sprintf("raised since it was sent: %s — %s", c.Key, c.Summary)
} }
} }