From ae42bb5978ca9f52a2d2d93ace727528f0d84944 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Fri, 24 Jul 2026 21:41:10 +0200 Subject: [PATCH] =?UTF-8?q?hub=20v0.73.1:=20REPORT=20=E2=80=94=20appended?= =?UTF-8?q?=20(allowlist=20disk=5Fhealth=5Fdegraded,=20400=E2=86=92200=20l?= =?UTF-8?q?ive=20proof)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- REPORT.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/REPORT.md b/REPORT.md index 32c6451..f98f026 100644 --- a/REPORT.md +++ b/REPORT.md @@ -1,3 +1,32 @@ +# REPORT — hub v0.73.1: allowlist `disk_health_degraded` (2026-07-24) + +Part of the disk-health train (agent v0.94.0 + controller v0.169.0/.1 + hub v0.73.1). Appended above +the previous report (kept below). + +**Baseline:** felhom.eu `be9edb4` → code `19dbb02` (allowlist) → manifest `5902703` (deploy). Clean at start. + +**Change:** added `"disk_health_degraded": true` to `allowedEventTypes` (`hub/internal/api/handler.go`) +so the controller v0.169.0 per-disk SMART degradation notification is ingested, not 400-rejected. Like +`offbox_enlarge_blocked`, **no `customerMessages` entry** — the controller sends a dynamic Hungarian +message (disk label + attribute names) that the `FormatCustomerEmail` fallback preserves; a static entry +would discard the specifics. Test `TestHandleEvent_DiskHealthDegradedAccepted`; red-proof: drop the +allowlist line → 400 (confirmed). Full hub suite: 17 packages pass, 0 fail; build + vet clean. + +**Deploy (GitOps):** built `felhom-hub:0.73.1` (digest `79dc3082…`), bumped `manifests/hub.yaml` tag, +ArgoCD sync → **Synced/Healthy**, pod `hub-59857b486f-hzw48` running `:0.73.1`, clean startup. + +**§13(3) end-to-end notification proof (the exact `/api/v1/event` POST the controller's notifier makes, +customer `demo-felhom`, via curl — no committed fixture):** +- **BEFORE (v0.73.0):** `400 Invalid event_type: disk_health_degraded` — the allowlist was genuinely + required (without it the customer's disk-degradation email is silently dropped). +- **AFTER (v0.73.1):** `200 {"ok":true}`; hub log: `Event from demo-felhom: disk_health_degraded + (warning) — Lemez állapot romlás: teszt-lemez — romló érték: függőben lévő szektorok` and **`Operator + email sent for demo-felhom/disk_health_degraded`** → hub accepted + dispatched through the Resend + notification pipeline. Nothing to revert (curl only); the demo's real disks are all "Nincs adat", so + normal operation stays quiet. + +--- + # REPORT — ISO train v1.25.0 + hub v0.73.0 (2026-07-23) **Task:** the four-ruling ISO train (F9 belt-everywhere, apt no-subscription, R-63 console ő/ű,