Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

docs(alerts): govern stateful reducer cutover

pulse-triage[bot]2a317cbd6b76
diff --git a/docs/release-control/v6/internal/subsystems/alerts.md b/docs/release-control/v6/internal/subsystems/alerts.md
index 104be7d059..6649b6aa28 100644
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@ -587,6 +587,17 @@ to map access and must not dispatch, persist history, invoke callbacks, or
perform notification work. Canonical lifecycle and stateful cooldown refires
consume resolved state through the shared lock-order-aware helper, preserve the
original alert `StartTime`, and keep the five-minute refire/history semantics.
+The reducer core owns transitions for the canonical stateful family: health
+assessments, posture thresholds, and change thresholds, including ZFS pool
+state, backup and snapshot age, and Docker update-delay state. Legacy
+pending-since maps are read-only mirrors during migration and must not decide
+activation. Stateful occurrences retain their established timestamp boundary:
+the current observation, or a caller-supplied override such as the backup
+timestamp, rather than the pending-run start. A manual clear must pass its
+clear time into the reducer, record the firing incident as recently resolved,
+and start acknowledgement retention so a refire inside five minutes restores
+the same occurrence without duplicating history. Regression ownership is
+`internal/alerts/canonical_stateful_test.go`.
The browser thresholds surface is also platform-shaped: Proxmox, Docker,
Kubernetes, TrueNAS, vSphere, PBS, PMG, and Systems. Route-backed platform
choices must use the shared `Subtabs` navigation above the shared `FilterBar`;
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 80acbd7d7f..5ce769a42d 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -2327,6 +2327,7 @@
"allow_same_subsystem_tests": false,
"test_prefixes": [],
"exact_files": [
+ "internal/alerts/canonical_stateful_test.go",
"internal/alerts/intent_policy_test.go",
"internal/alerts/migration_characterization_test.go",
"internal/alerts/operational_contract_test.go",
@@ -2536,6 +2537,7 @@
"internal/alerts/alerts_test.go",
"internal/alerts/callback_config_coverage_test.go",
"internal/alerts/canonical_override_migration_test.go",
+ "internal/alerts/canonical_stateful_test.go",
"internal/alerts/config_validation_test.go",
"internal/alerts/external_probe_test.go",
"internal/alerts/filter_evaluation_test.go",