test: cover Uptime Kuma status normalization matrix - #18
Conversation
🤖 Automated Review PanelReviewer A — GPT-5.6-terraAPPROVE — exact table-driven parser matrix covers all four declared statuses and required normalized fields; existing negative coverage is retained. Reviewer B — Gemini 3 FlashAPPROVE — no substantive correctness or goal-alignment concerns.
|
Auto-Merge GateConfidence: 0.97 This is a narrowly scoped regression-evidence change for COD-472. The diff replaces the single successful-status assertion with a table-driven matrix covering all four documented Uptime Kuma statuses while preserving signature verification and existing negative tests. Checks observed: CI Scope limits: one test module; no production behavior, credentials, public-surface, deployment, or data-handling changes. |
Summary
Adds compact table-driven parser regression coverage for all supported Uptime Kuma heartbeat statuses:
0→down/ critical1→up/ info2→pending/ warning3→maintenance/ infoEach case verifies normalized source, event type, action, severity, and retained metadata. Existing signature and malformed/unknown-status failure coverage remains intact.
Verification
All passed locally.
Closes COD-472.