The node-engine reports reads-wants; a failed apply is said; the have's fingerprint and digest follow its health (R6-A A6)

This commit is contained in:
2026-10-24 16:43:26 +02:00
parent b2003e7a38
commit 96d0322498
4 changed files with 80 additions and 0 deletions
+1
View File
@@ -491,6 +491,7 @@ func (a *Agent) apply(ctx context.Context, module string, w wantNow, comp compNo
if res.Failed {
a.attempt[module] = attempt{FP: fp, Composed: dig, WantRev: w.Rev, CompRev: comp.Rev}
a.mu.Unlock()
a.env.Say(fmt.Sprintf("applying %s at %s failed: %s", module, fp, res.Detail))
a.env.Haves.Write(ctx, Have{Module: module, FP: fp, Composed: dig, Phase: string(delivery.PhaseFailed), Detail: res.Detail})
return
}