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.

Merge candidate 20260908T021505Z-web-product

pulse-triage[bot]f526f72c2109
diff --cc docs/release-control/v6/internal/subsystems/alerts.md
index 342bc9952f,7752a9d281..0fd8d6ae12
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@@ -15,24 -15,21 +15,38 @@@
## Purpose
+Mobile incident drawers transfer their exact context to Assistant and close
+through the shared explicit handoff callback. Keeping the source drawer above
+Assistant, or dropping its occurrence identity to make navigation work, fails
+the linked investigation journey. Both timeline and resource handoffs require
+mounted regression and final-build narrow browser proof.
+
+### Incident history preserves unavailable reads and provenance
+
+Timeline and resource-history views use the shared incident projection. A failed
+canonical read stays visibly unavailable, including after an error toast expires
+or when cached evidence remains. Empty-history copy is shown only after a
+successful empty read. Retry or Refresh repeats the read without discarding
+saved notes. The event card keeps canonical observation/occurrence timestamps,
+source, actor and record ID behind the same accessible evidence disclosure.
+Unknown timestamps remain unavailable. Truncation is explicit. The Assistant
+handoff preserves occurrence identity and the latest bounded event window, and
+labels history as insufficient to establish current health.
+
+ ### Incident resource error-state ownership
+
+ Resource incident errors follow the same per-resource latest-request ownership
+ as history and loading. Superseded or disposed reads cannot set an error;
+ reset clears errors and invalidates pending reads. A retry clears the current
+ error while retaining cached history until the current request succeeds.
+ A stale success cannot clear a newer failure. This reconciles the merged error
+ accessor with lifecycle protection, without changing notification delivery.
+
+ Verification: resource hook lifecycle assertions cover ordering and retry;
+ `scripts/check-incident-request-ownership.mjs` checks the real hook and panel
+ in Chromium at desktop and narrow widths, including error state and retry.
+ Its scripted fixture is not full merged-UI or installed delivery acceptance.
+
-
### Retained-queue recovery feedback has no reading deadline
Retry and Dismiss failures have a view-local untimed equivalent beside the
diff --cc docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 263a8af7ec,d72c9f324d..d3cf8d5621
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@@ -7248,13 -7241,14 +7248,15 @@@ notification delivery
### Resource incident reads retain lifecycle ownership
The resource incident hook gives each started read a unique per-resource owner.
-Only that owner may publish history, report a failure or clear loading. Reset
-invalidates all pending owners before clearing state; disposal invalidates them
-and prevents new loads. Overlapping reads for different resources remain
-independent. Closing a row still permits its in-flight result to populate the
-existing cache; reopening cached history and explicit refresh are unchanged.
-Requests are not transport-cancelled. No API, retention or notification-delivery
-policy changes.
+Only that owner may publish history, set the failed-read state, report a failure
+or clear loading. Reset invalidates all pending owners before clearing state;
+disposal invalidates them and prevents new loads. Overlapping reads for different
+resources remain independent. Closing a row still permits its in-flight result
+to populate the existing cache; reopening cached history and explicit refresh
+are unchanged. Requests are not transport-cancelled. No API, retention or
- notification-delivery policy changes.
++notification-delivery policy changes. A retry clears the current failed-read
++state while retaining cached history until the owning request succeeds, and a
++superseded success cannot clear a newer failure.
The hook's ten ordinary regression/control cases cover success, catch and
finally writes, reset/reopen and disposal. The existing panel tests cover its
diff --cc frontend-modern/browser-verification.json
index 94ceb897a3,6b56058a5c..96140d5a16
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@@ -70,21 -23,24 +70,27 @@@
}
],
"states": [
- "loading",
- "latest result survives older success/failure",
- "reset stays empty",
- "disposed state unchanged by success/failure",
- "current failure reported",
- "current error accessor is true on failure",
- "retry clears current error and renders latest incident",
- "obsolete and disposed failures do not set error accessor"
+ "Canonical merged occurrence and source evidence, resolved alert with independently unknown current health.",
+ "Loading and disabled Refresh, initial/cached read failures, Retry/Refresh, successful empty, partial history and unknown times.",
+ "Saved operator note and unsaved draft across desktop/phone layout changes, long-note wrapping and persisted reload.",
+ "Timeline/resource handoff into Assistant, reopened composer focus, saved funded history-and-note response across widths.",
+ "Request reset, reverse completion, superseded success/failure, current failure, and success/failure after disposal.",
- "Latest per-resource owner controls incident content, failed-read state, notifications, and loading completion."
++ "Latest per-resource owner controls incident content, failed-read state, notifications, and loading completion.",
++ "Retry clears the current failed-read state while retaining cached history until the owning response succeeds.",
++ "Obsolete and disposed failures do not set the resource error accessor."
],
"interactions": [
- "Open row",
- "Overlap refresh while initial request remains pending",
- "Reset before response",
- "Unmount before response",
- "Resolve and reject deferred API reads in controlled order"
+ "Expand/collapse native Evidence details by keyboard, All/None event filters and note draft enable/clear.",
+ "Expand resource Events, inject read errors, retry and reload.",
+ "Resize source and open Assistant destination across 390/900/767/768/1440 widths.",
+ "Type in a modal without clearing background search, Escape and return focus to the selected card.",
+ "Resume the exact saved upstream session, scroll through its note explanation and inspect actual pixels.",
+ "Open a resource row, overlap refresh, reset or unmount, and resolve or reject deferred reads in controlled order."
],
- "notes": "The protected upstream receipt remains exact for 13 unchanged runtime files. The sole combined-content change, useAlertResourceIncidentsState.ts, was freshly exercised with its real panel in 14 Chromium cases at desktop and phone widths after adding ownership to the upstream failed-read signal. Screenshots are retained under /tmp/pulse-incident-ownership. This is component lifecycle evidence, not an installed Alerts route, provider delivery, touch-device, production rollout, backup/restore, or population-reliability receipt.",
- "command": "pulse-heavy-run -- node scripts/check-incident-request-ownership.mjs"
++ "notes": "The protected upstream receipt remains exact for 13 unchanged runtime files. The sole combined-content change, useAlertResourceIncidentsState.ts, was freshly exercised with its real panel in 16 Chromium cases at desktop and phone widths after adding ownership to the upstream failed-read signal. Screenshots are retained under /tmp/pulse-incident-ownership. This is component lifecycle evidence, not an installed Alerts route, provider delivery, touch-device, production rollout, backup/restore, or population-reliability receipt.",
++ "command": "pulse-heavy-run -- node scripts/check-incident-request-ownership.mjs",
+ "limitations": [
- "Fixture lifecycle controls and scripted API; not full merged Alerts route, installed acceptance, or notification delivery. Supplied panel does not render PR1973 error accessor; accessor verified through fixture snapshot."
- ],
- "command": "pulse-heavy-run -- node scripts/check-incident-request-ownership.mjs"
++ "The 16-case qualification route uses fixture lifecycle controls and a scripted API; the supplied panel does not expose the error accessor directly, so that state is asserted through the fixture snapshot.",
++ "This is not installed acceptance, provider delivery, touch-device, production rollout, backup/restore, or population-reliability proof."
++ ]
}