Hub v0.149.0: a box the household switched off is not an outage for 14 days (R-998)
gates / gates (push) Successful in 6m40s
gates / gates (push) Successful in 6m40s
hosts.deliberate_off_at follows the agent's deliberate_off field (set, then cleared by the first report of a new boot; one info event each way). While held, every silence alarm is held: host and node staleness, the 05:00 backup deadlines, off-site and restore-test freshness, the OS alarms and the kernel notice. After 14 days the usual alarms fire once, naming the power-off. Pages show KIKAPCSOLVA and the time. Consequence tests with controls; each guard red-proofed.
This commit is contained in:
1 parent
ed59bf3cbd
commit
50e47e29af
24 files changed
+638
-17
No files matched your search
@@ -188,6 +188,9 @@ func (c *RestoreTestChecker) Check() {
|
||||
}
|
||||
now := c.now()
|
||||
for _, id := range ids {
|
||||
if _, held := c.store.CustomerDeliberatelyOff(id, now); held {
|
||||
continue // R-998: switched off by the household — no restore test can run; held for the 14 days
|
||||
}
|
||||
latest, rerr := c.store.GetLatestHostReportJSON(id)
|
||||
if rerr != nil || latest == "" {
|
||||
continue // no agent host-report → nothing to judge (the R-81 legacy-shape branch)
|
||||
|
||||
Reference in new issue
Block a user