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.

fix(proxmox): govern overview PBS health

pulse-triage[bot]6bbf814548a3
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index b989c0a8d3..95ea3ea7a4 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -166,6 +166,13 @@ 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.
+`ProxmoxBackupServersTable` is the single PBS host-health composition on both
+Proxmox Overview and Backups. Overview places it between PVE nodes and guests
+so a standalone PBS host remains part of the estate scan; Backups places the
+same table beside recovery evidence. Overview must omit the backup-artifact
+count column because it does not own the PBS artifact request, while both
+placements retain the same responsive columns, row interaction, and canonical
+resource drawer rather than introducing an overview-only PBS row variant.
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
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 6453fc0100..078d136afd 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -42,12 +42,12 @@ backup artifact, recovery point, protection posture, or restore operation, and
storage/recovery consumers must continue to use the canonical resource and
provider identities for all domain authority.
The Proxmox overview is also a large-estate read-side consumer: it owns one
-canonical unified-resource snapshot for its node and guest regions, and its
-shared workloads adapter must consume that snapshot without starting a second
-workload or infrastructure inventory request. Backup and recovery tables keep
-their domain-specific evidence requests, while an overview refresh must update
-all overview regions from the same owner snapshot rather than mixing reads
-from different inventory generations.
+canonical unified-resource snapshot for its PVE node, PBS host-health, and guest
+regions, and its shared workloads adapter must consume that snapshot without
+starting a second workload or infrastructure inventory request. Backup and
+recovery tables keep their domain-specific evidence requests, while an overview
+refresh must update all overview regions from the same owner snapshot rather
+than mixing reads from different inventory generations.
The physical-disks surface consumes every page in the server-declared unified
resource result, scopes same-named Proxmox nodes by instance, and never hides a
disk behind a client-side page ceiling. Search includes vendor, WWN, transport,
@@ -486,14 +486,18 @@ summary row. Compact layouts must not stack those secondary facts beneath the
resource name and make the row taller: keep essential identity inline when no
detail disclosure exists, and otherwise preserve supporting context in its
existing column, the row's accessible title, or the expanded detail content.
-The Backup servers summary owns PBS reachability and datastore capacity, but
-its row expansion is the canonical unified-resource drawer, not a second
-storage-local detail model. A PBS resource merged with a Pulse Agent keeps the
-PBS service evidence and exposes the agent's system, hardware, network, disk,
-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 Backup servers summary owns PBS reachability and datastore capacity and is
+shared by Proxmox Overview and Backups, but its row expansion is the canonical
+unified-resource drawer, not a second storage-local detail model. Overview
+places this health summary after PVE nodes and before guests so bare-metal PBS
+hosts remain in the estate scan. Because Overview consumes only the canonical
+resource snapshot, it omits the artifact-count column rather than rendering
+zero from an unrequested PBS backup feed; the Backups placement supplies that
+domain API evidence and retains the count. A PBS resource merged with a Pulse
+Agent keeps the PBS service evidence and exposes the agent's system, hardware,
+network, disk, thermal, history, and management context through that shared
+drawer. 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
@@ -586,15 +590,17 @@ complete client-side result set; windowing must not become pagination, a partial
count, or a recovery-local `Next` / `Load more` control. Expanded coverage
evidence remains owned by the visible workload row.
The Proxmox shell hydrates Overview, Storage, Replication, Backups, Ceph, and
-Mail from route-scoped resource families. Only the visible tab consumes
-realtime reconciliation. Desktop background hydration may prefetch the other
-route families, while phone background hydration is bounded to Storage because
-the phone shell retains at most the two most-recent tab trees. Storage reuses
-the shell's bounded agent/PBS/storage/physical-disk/Ceph source instead of
-opening a duplicate page query or an all-estate subscription, and is prewarmed
-for the common Overview/Storage transition; hidden route-state effects remain
-dormant and a forced Proxmox storage scope is not serialized as redundant URL
-state.
+Mail from route-scoped resource families. Overview includes PBS service rows
+and Agent facets in its bounded snapshot so host health and the canonical PBS
+drawer do not depend on background hydration of Backups or Storage. Only the
+visible tab consumes realtime reconciliation. Desktop background hydration may
+prefetch the other route families, while phone background hydration is bounded
+to Storage because the phone shell retains at most the two most-recent tab
+trees. Storage reuses the shell's bounded agent/PBS/storage/physical-disk/Ceph
+source instead of opening a duplicate page query or an all-estate subscription,
+and is prewarmed for the common Overview/Storage transition; hidden route-state
+effects remain dormant and a forced Proxmox storage scope is not serialized as
+redundant URL state.
PBS server/datastore rows may display backup counts, but the
counts must come from the PBS backup API artifact identity, not from a
datastore-capacity approximation. The table owns which PBS artifact count is
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index c0d931851b..4804041e13 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -420,6 +420,14 @@ inventory: operator-visible guest names, VMIDs, node identities, status, and
provider scope may retain a parent node, but opaque unified-resource `id`
hashes must not create node matches that the normalized workload table cannot
show.
+That Overview snapshot also includes PBS service resources and their Agent
+facets. The page composes the same `ProxmoxBackupServersTable` used by Backups
+between PVE nodes and guests, so standalone PBS health and the canonical
+resource drawer remain discoverable without returning the Agent to Machines or
+building a second host projection. Overview does not own PBS artifact evidence
+and therefore suppresses that table's backup-count column; service identity,
+datastore capacity, current Agent telemetry, and History continue to use the
+same fail-closed correlation boundary as the Backups placement.
Large platform inventories may bound their initial row projection through the
shared platform-table preview primitive so the next canonical surface remains
in the initial reading flow. Proxmox node consumers retain the page model's
@@ -818,6 +826,10 @@ container inventory table.
10. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts` shared with `performance-and-scalability`: unified resource table state, grouping, and windowing are both a canonical unified-resource consumer surface and a fleet-scale performance hot-path boundary.
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.
+ The same table is composed on Proxmox Overview and Backups. Overview reads
+ PBS and Agent facets from its owner snapshot and suppresses artifact counts;
+ Backups may add counts from its PBS artifact request. Both placements keep
+ the canonical PBS row and drawer contract below.
Each row carries the canonical PBS `Resource` into the shared platform
resource-detail row. When coalescence has attached an agent facet, or when
the product-family projection contains exactly one separate Agent resource
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index 56d7cd838c..688c30730a 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,25 +1,21 @@
{
"version": 1,
- "base_sha": "1e75423116984e67ca92a8904f913e5e6a194324",
- "verified_at": "2026-08-27T13:41:54Z",
+ "base_sha": "699143b7b8411ad671af9ba60c74aa7f87d57758",
+ "verified_at": "2026-08-27T14:13:29Z",
"result": "passed",
"changed_paths": [
- "frontend-modern/src/components/Alerts/IncidentTimelinePanel.tsx",
- "frontend-modern/src/features/alerts/AlertHistoryMobileList.tsx",
- "frontend-modern/src/features/alerts/AlertHistoryTableAlertRow.tsx",
- "frontend-modern/src/features/alerts/AlertOverviewAlertCard.tsx"
+ "frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx",
+ "frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx"
],
"content_sha256": {
- "frontend-modern/src/components/Alerts/IncidentTimelinePanel.tsx": "2f32d34e7bfedd2e052cf20075a4eb711d114ee5715c13a108f6b3666f29ad91",
- "frontend-modern/src/features/alerts/AlertHistoryMobileList.tsx": "d5179ae59605d318f522483b13e5925fd7a6890a066b129eaf769d42b334d2d4",
- "frontend-modern/src/features/alerts/AlertHistoryTableAlertRow.tsx": "cc763cdadc2f48e47437cfddf61ebbd5723e74a6a89f3640da013b63f6598cdb",
- "frontend-modern/src/features/alerts/AlertOverviewAlertCard.tsx": "fc2822b803ab1c250811e8a374c7cba94ae1f4b08130acf48ba6b98cea3f0a5c"
+ "frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx": "58fe2feaf93d6f37d0fd2811c829ada884941bf7de77d8d386f723d97ce32c33",
+ "frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx": "67a7463ba44627ef48423bdcaf689153fe0d3d75c0b3b0aeeeeb6def953fe92c"
},
- "routes": ["/alerts/overview", "/alerts/history"],
+ "routes": ["/proxmox/overview"],
"viewports": [
{
"width": 1280,
- "height": 720
+ "height": 800
},
{
"width": 390,
@@ -27,18 +23,14 @@
}
],
"states": [
- "restored active alert visible while notification delivery is pending review",
- "canonical incident API returns the occurrence-specific fired event for the active alert",
- "expanded Overview timeline renders incident status, fired event, filters, timestamp, and note editor",
- "legacy JSON history imported once into SQLite and retained across backend restart",
- "history clear tombstone removes retired history while preserving the active alert overlay"
+ "mock-backed Proxmox Overview with PVE nodes, standalone PBS service rows, and guests",
+ "Overview PBS health table omits backup artifact counts while retaining service and datastore health",
+ "expanded canonical PBS resource detail exposes its History tab at desktop and narrow widths"
],
"interactions": [
- "opened Alerts Overview at 1280x720 and expanded the active alert timeline",
- "confirmed the Timeline control requested the canonical alert identifier and occurrence start time exactly once",
- "confirmed the rendered fired event replaced the unavailable-timeline state while delivery remained paused",
- "reloaded Alerts Overview at 390x844, expanded the same timeline, and confirmed no horizontal overflow",
- "restarted the managed real backend twice and confirmed history import, clear tombstone, and active-overlay continuity",
- "confirmed the five-test alert operator and real-backend qualification suite passed with no product errors"
+ "opened Proxmox Overview at 1280x800 and confirmed the PBS table is positioned between Nodes and Guests",
+ "expanded the first PBS row with its detail toggle and confirmed the shared resource detail and History tab",
+ "reloaded at 390x844, expanded the first PBS row through the whole-row interaction, and confirmed the same History tab",
+ "confirmed the narrow document scroll width did not exceed its client width"
]
}
diff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx
index 30ccfcc0f2..e74dceca7a 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx
@@ -245,6 +245,7 @@ export function buildBackupServerRows(
export function ProxmoxBackupServersTable(props: {
servers: readonly Resource[];
backups?: readonly PBSBackup[];
+ showBackupCounts?: boolean;
emptyIcon?: JSX.Element;
layoutWidth?: Accessor<number | null | undefined>;
}) {
@@ -256,7 +257,11 @@ export function ProxmoxBackupServersTable(props: {
? getBackupServerLayoutForContainer(width)
: 'full';
});
- const visibleColumns = createMemo(() => getBackupServerColumns(layoutMode()));
+ const visibleColumns = createMemo(() =>
+ getBackupServerColumns(layoutMode()).filter(
+ (column) => props.showBackupCounts !== false || column.id !== 'backups',
+ ),
+ );
const detail = createPlatformResourceDetailState({ idPrefix: 'proxmox-backup-server-detail' });
const columnVisible = (column: BackupServerColumnId) =>
visibleColumns().some((candidate) => candidate.id === column);
diff --git a/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx b/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx
index dcf591cf0e..af7674d92c 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx
@@ -531,7 +531,11 @@ function ProxmoxOverview(props: ProxmoxOverviewProps) {
inventoryCountsVisible={props.inventoryCountsVisible}
/>
</section>
- <ProxmoxBackupServersTable servers={currentModel().pbs} layoutWidth={overviewWidth.width} />
+ <ProxmoxBackupServersTable
+ servers={currentModel().pbs}
+ showBackupCounts={false}
+ layoutWidth={overviewWidth.width}
+ />
<section
id="proxmox-guests-section"
aria-label="Guests"
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupServersTable.drawer.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupServersTable.drawer.test.tsx
index 31d6e1b8fd..b3b4f4df5f 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupServersTable.drawer.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupServersTable.drawer.test.tsx
@@ -56,6 +56,15 @@ const makePbsResource = (): Resource =>
}) as Resource;
describe('ProxmoxBackupServersTable details', () => {
+ it('omits artifact counts when composed as overview health', () => {
+ render(() => (
+ <ProxmoxBackupServersTable servers={[makePbsResource()]} showBackupCounts={false} />
+ ));
+
+ expect(screen.queryByRole('columnheader', { name: 'Backups' })).not.toBeInTheDocument();
+ expect(screen.getByRole('columnheader', { name: /Backup server/ })).toBeInTheDocument();
+ });
+
it('opens the canonical resource drawer with merged host details expanded', () => {
render(() => <ProxmoxBackupServersTable servers={[makePbsResource()]} />);
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx
index 30e07b727d..1a99b7dce1 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx
@@ -357,7 +357,10 @@ describe('ProxmoxPageSurface contract', () => {
expect(screen.getByTestId('backup-servers-table')).toHaveAttribute('data-rows', '2');
expect(mockBackupServersTableProps).toHaveBeenCalledWith(
- expect.objectContaining({ servers: [pbsServer, pbsAgent] }),
+ expect.objectContaining({
+ servers: [pbsServer, pbsAgent],
+ showBackupCounts: false,
+ }),
);
});
@@ -440,6 +443,7 @@ describe('ProxmoxPageSurface contract', () => {
expect(proxmoxPageSurfaceSource).toContain("phoneViewport\n ? ['storage']");
expect(proxmoxPageSurfaceSource).toContain('resourceSource={storageResources}');
expect(proxmoxPageSurfaceSource).toContain('servers={currentModel().pbs}');
+ expect(proxmoxPageSurfaceSource).toContain('showBackupCounts={false}');
});
it('places workload controls beside the workload table they affect', () => {
diff --git a/tests/integration/tests/93-proxmox-pbs-overview.spec.ts b/tests/integration/tests/93-proxmox-pbs-overview.spec.ts
new file mode 100644
index 0000000000..5ca31dd6ec
--- /dev/null
+++ b/tests/integration/tests/93-proxmox-pbs-overview.spec.ts
@@ -0,0 +1,96 @@
+import { expect, test } from "@playwright/test";
+
+import { ensureAuthenticated, getMockMode, setMockMode } from "./helpers";
+
+test.describe("Proxmox PBS overview", () => {
+ test.setTimeout(180_000);
+
+ test("keeps standalone PBS health and details in the estate scan", async ({
+ page,
+ }) => {
+ await ensureAuthenticated(page);
+ const initialMockMode = await getMockMode(page);
+
+ try {
+ if (!initialMockMode.enabled) {
+ await setMockMode(page, true);
+ }
+
+ await page.setViewportSize({ width: 1280, height: 800 });
+ await page.goto("/proxmox/overview", { waitUntil: "domcontentloaded" });
+
+ const overview = page.getByTestId("proxmox-page");
+ const nodes = overview.locator(".proxmox-nodes-card");
+ const servers = overview.locator(
+ '[data-proxmox-backups-table="servers"]',
+ );
+ const guests = overview.locator("#proxmox-guests-section");
+
+ await expect(nodes).toBeVisible({ timeout: 60_000 });
+ await expect(servers).toBeVisible({ timeout: 60_000 });
+ const desktopRow = servers.locator("tbody tr[aria-expanded]").first();
+ await expect(desktopRow).toBeVisible();
+ await expect(desktopRow.locator("td").first()).not.toHaveText("");
+ await expect(
+ servers.getByRole("columnheader", { name: "Backups" }),
+ ).toHaveCount(0);
+ await expect(guests).toBeVisible();
+
+ const placement = await overview.evaluate((root) => {
+ const nodesElement = root.querySelector(".proxmox-nodes-card");
+ const serversElement = root.querySelector(
+ '[data-proxmox-backups-table="servers"]',
+ );
+ const guestsElement = root.querySelector("#proxmox-guests-section");
+ if (!nodesElement || !serversElement || !guestsElement) return null;
+ return {
+ nodesBeforeServers: Boolean(
+ nodesElement.compareDocumentPosition(serversElement) &
+ Node.DOCUMENT_POSITION_FOLLOWING,
+ ),
+ serversBeforeGuests: Boolean(
+ serversElement.compareDocumentPosition(guestsElement) &
+ Node.DOCUMENT_POSITION_FOLLOWING,
+ ),
+ };
+ });
+ expect(placement).toEqual({
+ nodesBeforeServers: true,
+ serversBeforeGuests: true,
+ });
+
+ const desktopToggle = desktopRow.getByRole("button", {
+ name: /details for/,
+ });
+ await desktopToggle.click();
+ await expect(desktopRow).toHaveAttribute("aria-expanded", "true");
+ await expect(
+ servers.getByRole("tab", { name: "History" }).first(),
+ ).toBeVisible();
+ await desktopToggle.click();
+
+ await page.setViewportSize({ width: 390, height: 844 });
+ await page.reload({ waitUntil: "domcontentloaded" });
+ await expect(servers).toBeVisible({ timeout: 60_000 });
+
+ const narrowRow = servers.locator("tbody tr[aria-expanded]").first();
+ await narrowRow.click();
+ await expect(narrowRow).toHaveAttribute("aria-expanded", "true");
+ await expect(
+ servers.getByRole("tab", { name: "History" }).first(),
+ ).toBeVisible();
+
+ const pageWidth = await page.evaluate(() => ({
+ clientWidth: document.documentElement.clientWidth,
+ scrollWidth: document.documentElement.scrollWidth,
+ }));
+ expect(pageWidth.scrollWidth).toBeLessThanOrEqual(
+ pageWidth.clientWidth + 1,
+ );
+ } finally {
+ if (!initialMockMode.enabled) {
+ await setMockMode(page, false);
+ }
+ }
+ });
+});