hub: controller_unresponsive_restart (R-1344 restart, agent >= 0.171.0) — one mail per restart, not also controller_restarted_by_agent; the unresponsive alarm text says what the agent will do

This commit is contained in:
admin committed 2026-10-30 09:23:51 +01:00
1 parent 28f3e15738
commit be538975fc
6 files changed
+108 -14

No files matched your search

@@ -10,7 +10,7 @@ import (
// allowlisted (the project's single register of legitimate types) AND operator-only (a missing
// customerMessages entry is not a block — the v0.78.0 defect).
func TestControllerSupervisorEventsAreAllowlistedAndOperatorOnly(t *testing.T) {
for _, et := range []string{"controller_restarted_by_agent", "controller_crashloop"} {
for _, et := range []string{"controller_restarted_by_agent", "controller_crashloop", "controller_unresponsive", "controller_unresponsive_restart"} {
if !allowedEventTypes[et] {
t.Fatalf("%s must be in allowedEventTypes (R-77: an unregistered type is an inert seam)", et)
}