Ask a module again at the next look when the bus did not answer, and fail the plan only after ten minutes (issue 1334)

This commit is contained in:
2026-10-20 11:56:28 +00:00
parent 6c2a8d6210
commit 3d49a971a1
4 changed files with 167 additions and 1 deletions
+3
View File
@@ -340,6 +340,9 @@ type PlanModule struct {
State string `json:"state,omitempty"`
AskedAt *time.Time `json:"asked_at,omitempty"`
BuiltAt *time.Time `json:"built_at,omitempty"`
// BusWaitFrom is when the bus first did not answer an ask of this module (issue 1334): the module stays unasked and is
// asked again at the next look, until the bus has been silent for the bound, when the plan fails as for any refusal.
BusWaitFrom *time.Time `json:"bus_wait_from,omitempty"`
// SentAt is when the plan sent the machines running this module its new build, because a
// later tier is built by it (ADR 0163's gate): the reports that open the gate are the ones
// after this.