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(proxmox): govern PBS host history correlation

pulse-triage[bot]3d91709ebad0
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 2898035b54..1c1ffc4ea2 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -166,6 +166,14 @@ focus restoration, and responsive drawer behavior on one primitive. Proxmox
Backup Server rows follow this rule and request the shared host-details
disclosure open initially so a merged agent's system, hardware, network, disk,
and thermal facts remain discoverable from the PBS surface.
+When that surface receives the provider-owned PBS resource and its host Agent
+as separate canonical resources, `ProxmoxBackupServersTable` may assemble a
+presentation-only drawer resource only after one unique normalized host
+identity match. The row retains the PBS id and service facet while current host
+telemetry, host details, and stored History use the Agent facet and Agent
+metrics target. Zero or multiple matches must leave the PBS resource unchanged
+rather than guessing; this presentation correlation must not mutate either
+canonical input or create a second mobile disclosure interaction.
Presentation helpers that mirror a server-side classification must name the
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 10c5fab28f..6453fc0100 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -494,6 +494,13 @@ thermal, history, and management context through that shared drawer. Bare-metal
PBS hosts therefore remain fully inspectable after leaving the standalone
Machines surface, while storage/recovery does not duplicate agent telemetry or
invent a competing provider drawer hierarchy.
+The product-family projection may still deliver the PBS service and its Agent
+host as separate resources. In that case the Backup servers table correlates
+only a unique normalized host-identity match for drawer presentation, preserves
+the PBS row identity and datastore/service evidence, and delegates host current
+metrics and stored History to the Agent metrics target. An absent or ambiguous
+Agent match fails closed on the original PBS resource; datastore names, backup
+artifacts, and proximity in the input list are never host-correlation evidence.
The Proxmox backup view selector follows the same ownership split:
storage/recovery owns the chronological-versus-coverage view values and backup
semantics, while the visible segmented selector shell must compose the
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 1563ec7729..c0d931851b 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -819,10 +819,16 @@ container inventory table.
11. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts` shared with `performance-and-scalability`: unified resource table viewport sync and selected-row reveal are both a canonical unified-resource consumer surface and a fleet-scale performance hot-path boundary.
12. `frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx` shared with `storage-recovery`: Proxmox backup server table rows are both a storage/recovery backup-health surface and a unified-resource platform-table consumer boundary.
Each row carries the canonical PBS `Resource` into the shared platform
- resource-detail row. When coalescence has attached an agent facet, that
- same drawer must expose host system, hardware, network, disks, thermals,
- history, and management context without recreating a PBS-local host model
- or returning the provider-owned resource to the standalone Machines list.
+ resource-detail row. When coalescence has attached an agent facet, or when
+ the product-family projection contains exactly one separate Agent resource
+ with a matching normalized host identity, that same drawer must expose
+ host system, hardware, network, disks, thermals, history, and management
+ context without recreating a PBS-local host model or returning the
+ provider-owned resource to the standalone Machines list. Presentation-only
+ correlation retains the canonical PBS row id and service facet, uses the
+ Agent metrics target and telemetry facets, and fails closed when no Agent
+ matches or more than one candidate matches. It must not alter registry
+ identity or treat input order as correlation evidence.
13. `frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx` shared with `storage-recovery`: Proxmox workload coverage rows are both a storage/recovery protection-posture surface and a unified-resource identity consumer boundary.
14. `frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx` shared with `storage-recovery`: Proxmox recoverable workload table rows are both a storage/recovery coverage surface and a unified-resource platform-table consumer boundary.
15. `frontend-modern/src/routing/routePreload.ts` shared with `frontend-primitives`, `performance-and-scalability`: the app-shell route preload registry is a canonical frontend shell boundary, an authenticated hot-path performance boundary, and the entry point for the unified-resource Actions workspace.
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index aca1a6c778..feb6a786e6 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,23 +1,11 @@
{
"version": 1,
- "base_sha": "ff27c3881f0c418de856b26175cb2fcd96a962ec",
- "verified_at": "2026-08-27T10:55:17Z",
+ "base_sha": "118c90d1f0df2ff007a3494e25139f019a38137d",
+ "verified_at": "2026-08-27T11:18:00Z",
"result": "passed",
- "changed_paths": [
- "frontend-modern/src/features/alerts/AlertHistoryFrequencyCard.tsx",
- "frontend-modern/src/features/alerts/alertsConfigurationModel.ts",
- "frontend-modern/src/features/alerts/useAlertsConfigurationSnapshotState.ts",
- "frontend-modern/src/types/alerts.ts",
- "frontend-modern/src/types/resource.ts"
- ],
- "content_sha256": {
- "frontend-modern/src/features/alerts/AlertHistoryFrequencyCard.tsx": "7794ba25adfb94f5bf11a718ad774ea717dc7e8b543572ddfb461465c0593515",
- "frontend-modern/src/features/alerts/alertsConfigurationModel.ts": "d295586ac8044fda4930ee56a9ea6b1ca2bfb27792ce594f4fb9d5fc0cbf1243",
- "frontend-modern/src/features/alerts/useAlertsConfigurationSnapshotState.ts": "3cd18ea4cf402a5a5594e63eec7bb98bc0dbad8031c8b610ee9c10f3d2caed98",
- "frontend-modern/src/types/alerts.ts": "5d57daaa49c83caa5ce40217b9bca1daf17867743d311d472724d6d5210349b1",
- "frontend-modern/src/types/resource.ts": "b1c07de178e5b8a6725bb555031af8df0abf9a731dcf84e7791c70d95b399053"
- },
- "routes": ["/alerts/history"],
+ "changed_paths": [],
+ "content_sha256": {},
+ "routes": ["/proxmox/backups"],
"viewports": [
{
"width": 1440,
@@ -29,15 +17,17 @@
}
],
"states": [
- "live development History tab loaded with the seven-day alert-frequency chart and 114 history rows",
- "desktop chart rendered all five time-axis labels without overlap or horizontal page overflow",
- "phone chart rendered the start, midpoint, and Now labels without overlap or horizontal page overflow",
- "phone history cards remained contained and readable at 390px width"
+ "mock-mode Proxmox Backups loaded with standalone PBS service and correlated Agent host resources",
+ "backup-vault expanded into the canonical resource detail row with PBS service identity and Agent metrics target",
+ "History rendered stored utilization, network, disk, and thermal samples instead of Collecting History",
+ "History range changed from 24 hours to 7 days and retained populated charts",
+ "backup-vault collapsed back to the originating summary row"
],
"interactions": [
- "opened the History tab against the running development backend and inspected the rendered alert-frequency chart",
- "measured every visible desktop and phone axis-label bounding box and confirmed no adjacent boxes overlapped",
- "resized from 1440x1000 to 390x844 and confirmed document scroll width continued to match the viewport",
- "confirmed the browser console contained no errors during the final desktop and phone verification flow"
+ "opened backup-vault from the Backup servers table and selected the shared History tab at 1440x1000",
+ "confirmed the desktop drawer showed populated Agent-backed charts and the document and body scroll widths matched the viewport",
+ "repeated the whole-row touch expansion and History flow at 390x844, selected the 7 day range, and confirmed every chart card remained contained",
+ "collapsed the phone detail through the originating backup-vault row and confirmed focus returned to that row",
+ "confirmed the browser console contained no errors during the final desktop and phone verification flows"
]
}
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index 3094811bb5..091bc44a3a 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -556,6 +556,13 @@ describe('ProxmoxBackupsTable', () => {
expect(proxmoxBackupServersTableSource).toContain('PlatformResourceDetailTableRow');
expect(proxmoxBackupServersTableSource).toContain('resource={row.resource}');
expect(proxmoxBackupServersTableSource).toContain('initialShowHostDetails');
+ expect(proxmoxBackupServersTableSource).toContain('uniquelyCorrelatedAgent');
+ expect(proxmoxBackupServersTableSource).toContain(
+ 'return matches.length === 1 ? matches[0] : undefined;',
+ );
+ expect(proxmoxBackupServersTableSource).toContain(
+ 'metricsTarget: agent.metricsTarget ?? server.metricsTarget',
+ );
expect(proxmoxBackupServersTableSource).not.toContain(
'<span class="font-medium text-base-content">Server:</span>',
);