Hold a dotted module on its own health condition at the gate
mesh/delivery-group group feat/a-module-says-how-it-is-healthy rejected: its order contradicts itself: novox/mesh-controller@497e8f6af700, novox/mesh-host@fad1…
mesh/delivery superseded: a newer head of the same pull request
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

This commit is contained in:
jochen
2026-10-07 02:03:59 +02:00
parent eba36f02af
commit 497e8f6af7
+3 -1
View File
@@ -200,7 +200,9 @@ func judgeHealth(module, component string, m catalogue.Manifest, machine string,
if !onIt {
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)
}
}