v0.335.0: no app stop for a tier the agent will refuse because its host is busy (host_busy pre-check, R-921)
gates / gates (push) Successful in 53s

This commit is contained in:
2026-10-19 20:05:52 +02:00
parent db980ff2cc
commit 15ea002458
9 changed files with 282 additions and 13 deletions
+8
View File
@@ -3642,6 +3642,14 @@ func (b quiesceBackend) BackupJobsInFlight(ctx context.Context) ([]string, error
return b.c.BackupJobsInFlight(ctx)
}
// HostBusy satisfies quiesce.HostBusyProber (R-921, controller 0.335.0): the agent's host-wide gate, read before
// any app is stopped. The assertion is the wiring pin, as above.
var _ quiesce.HostBusyProber = quiesceBackend{}
func (b quiesceBackend) HostBusy(ctx context.Context) (bool, string, bool, error) {
return b.c.HostBusy(ctx)
}
// quiesceTierNotifier adapts *notify.Notifier to quiesce.TierNotifier (R-97a).
//
// The whole-guest tier had NO route to the hub at all — `internal/quiesce` did not import