hub 0.164.0 (unreleased): host_swap_short / host_swap_ok operator alarm from the agent's host and guest swap numbers (R-1192 follow-up); wire gate allowlists guests.spec.swap_bytes
gates / gates (push) Failing after 14m53s

This commit is contained in:
admin committed 2026-10-21 21:55:15 +02:00
1 parent dbfe5dac06
commit 3c620f8d2e
8 files changed
+169

No files matched your search

@@ -0,0 +1,13 @@
package notify
import "testing"
// R-1192 follow-up (night 2026-10-21): the household cannot add swap to its host — the host-swap alarm and its
// recovery are the operator's only.
func TestR1192_HostSwapEventsAreOperatorOnly(t *testing.T) {
for _, e := range []string{"host_swap_short", "host_swap_ok"} {
if !operatorOnlyEvents[e] {
t.Fatalf("%s must be operator-only", e)
}
}
}