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
+9
View File
@@ -202,6 +202,15 @@ type StatusResponse struct {
// Tiers (agent >= v0.131.0, R-517) — per tier: newest success, last attempt, storage presence.
// Absent on an older agent; the page then falls back to the single latest record.
Tiers []TierBackupState `json:"tiers,omitempty"`
// HostBusy (R-921, agent Unreleased 2026-10-19) — whether the agent's host-wide heavy-operation gate is held
// right now (then POST /backup answers 409). nil = an older agent that does not serve it.
HostBusy *HostBusyState `json:"host_busy,omitempty"`
}
// HostBusyState mirrors the agent's localapi.HostBusyState.
type HostBusyState struct {
Busy bool `json:"busy"`
What string `json:"what,omitempty"`
}
// TierBackupState mirrors the agent's localapi.TierBackupState.