From d7b3c821447f9a2acd4d0b72d3970b6dd6786109 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sun, 12 Jul 2026 10:09:54 +0200 Subject: [PATCH] =?UTF-8?q?hub:=20accept=20app=5Fstart=5Ffailed=20event=20?= =?UTF-8?q?(controller=20fix-3,=20CAMPAIGN-3)=20=E2=80=94=20allowlist=20+?= =?UTF-8?q?=20customer=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017CDMFpFx84pfviCTVuGGhf --- hub/internal/api/handler.go | 1 + hub/internal/notify/templates.go | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hub/internal/api/handler.go b/hub/internal/api/handler.go index b30e1c4..a6dcb74 100644 --- a/hub/internal/api/handler.go +++ b/hub/internal/api/handler.go @@ -1326,6 +1326,7 @@ var allowedEventTypes = map[string]bool{ "health_recovered": true, "app_deployed": true, "app_removed": true, + "app_start_failed": true, // controller fix-3 (CAMPAIGN-3): a deployed app is not running "disaster_recovery_started": true, "disaster_recovery_completed": true, // Controller→agent channel health (controller v0.90.0) — operator-only (not customer toggles) diff --git a/hub/internal/notify/templates.go b/hub/internal/notify/templates.go index c4b8aeb..894a65c 100644 --- a/hub/internal/notify/templates.go +++ b/hub/internal/notify/templates.go @@ -96,8 +96,9 @@ var customerMessages = map[string]string{ "expected_dbdump_missed": "A mai adatbázis mentés nem készült el a határidőig!", // App lifecycle events - "app_deployed": "Alkalmazás telepítve.", - "app_removed": "Alkalmazás eltávolítva.", + "app_deployed": "Alkalmazás telepítve.", + "app_removed": "Alkalmazás eltávolítva.", + "app_start_failed": "Egy telepített alkalmazás nem fut — ellenőrizze a rendszermonitort.", // Disaster recovery events "disaster_recovery_started": "Katasztrófa helyreállítás elindítva.",