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.

Align Proxmox node search with visible guests

rcourtman1d3ee7a1b321
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 46bf04146d..a389455f84 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -1620,7 +1620,9 @@ Agent`), with the plain-language source phrase available through accessible
both the guest table and the node table: guest matches retain their owning
node, direct node matches retain that node, and unrelated nodes are hidden.
The node table must use the same provider-scoped search vocabulary rather
- than receiving an unfiltered copy of the estate.
+ than receiving an unfiltered copy of the estate. Opaque unified-resource ids
+ are not part of that visible search vocabulary and must not retain a node
+ when the normalized guest table has no corresponding match.
8. Keep summary chart interaction identity on one shared helper. Summary surfaces that expose row-hover, group-hover, chart-hover, or route-focus-driven chart emphasis must derive page/group/entity scope through `frontend-modern/src/components/shared/summaryCardInteraction.ts` and pass that same resolved scope into card-state, sparkline, and density-map primitives, rather than letting cards read `hovered || focused` while charts listen to a different page-local ID source. Hovering one summary chart must promote that series into the shared active entity so sibling cards highlight the same object instead of keeping chart-local hover islands, and hovering or pinning a workload group header, infrastructure cluster header, or storage pool-group header must scope the matching summary cards through that same shared contract instead of forking a page-local summary filter path. Sibling cards should surface that synchronized hover as one compact header readout through the shared summary-card contract, while the chart under the pointer keeps the only floating tooltip. Recovery is explicitly outside this interaction dialect: its retired posture-card strip must not return with row/group/chart hover behavior without a separate governed product decision.
9. Keep page summaries page-scoped when table rows enter contextual focus. Route-backed row selection may add a focused label and shared series emphasis, but infrastructure, workloads, and storage summary cards must continue to render the page-level series set instead of collapsing the summary down to the selected row or replacing the global trend view with row-local empty states.
10. Keep contextual row focus on the shared summary primitive. Summary surfaces and same-route table drill-ins must reuse `frontend-modern/src/components/shared/contextualFocus.ts` for interactive-series filtering, focused-name lookup, active-series derivation, local scroll preservation, and deliberate inline-detail reveal instead of rebuilding page-local `Set` filters, focused-label scans, drawer-aware scroll math, or ad hoc scroll restoration in each surface.
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index dde8926577..2dd69bf180 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -7471,6 +7471,7 @@
"frontend-modern/src/features/proxmox/proxmoxHostTableModel.ts",
"frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx",
"frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx",
+ "frontend-modern/src/features/proxmox/proxmoxPageModel.ts",
"frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx",
"frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx",
"frontend-modern/src/features/standalone/AgentsMachinesTable.tsx",
@@ -7666,6 +7667,7 @@
"frontend-modern/src/features/proxmox/proxmoxHostTableModel.ts",
"frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx",
"frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx",
+ "frontend-modern/src/features/proxmox/proxmoxPageModel.ts",
"frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx",
"frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx",
"frontend-modern/src/features/standalone/AgentsMachinesTable.tsx",
@@ -7737,6 +7739,7 @@
"frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx",
"frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx",
"frontend-modern/src/features/proxmox/__tests__/ProxmoxNodesTable.test.tsx",
+ "frontend-modern/src/features/proxmox/__tests__/proxmoxPageModel.test.ts",
"frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx",
"frontend-modern/src/features/standalone/__tests__/AgentsMachinesTable.test.tsx",
"frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsx",
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 184b6ed6bb..ab8da841e3 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -262,6 +262,7 @@ about the same disk cannot diverge.
121. `frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx`
122. `frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx`
122a. `frontend-modern/src/features/proxmox/proxmoxHostTableModel.ts`
+122b. `frontend-modern/src/features/proxmox/proxmoxPageModel.ts`
123. `frontend-modern/src/features/truenas/TrueNASAlertsTable.tsx`
124. `frontend-modern/src/features/truenas/TrueNASAppsTable.tsx`
125. `frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsx`
@@ -392,6 +393,11 @@ candidates. The frontend primitive owns ranking, common-prefix completion,
recognized abbreviated terms, removable pills, and inclusive multi-term query
serialization; each platform consumer remains responsible for applying that
query to the same canonical resource collection its table renders.
+The Proxmox overview applies that same rule when guest search narrows its node
+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.
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
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index 49e433881a..45f0867985 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,21 +1,17 @@
{
"version": 1,
- "base_sha": "10116cc17efb0004e3820f1a250335899d3b9bf0",
- "verified_at": "2026-08-23T19:17:24Z",
+ "base_sha": "679497119925fca16420fdc3cb7b5d940a50578f",
+ "verified_at": "2026-08-23T20:54:57Z",
"result": "passed",
- "changed_paths": [
- "frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts"
- ],
+ "changed_paths": ["frontend-modern/src/features/proxmox/proxmoxPageModel.ts"],
"content_sha256": {
- "frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts": "f21b70f169cc595b31337584e3df20022342e39d50bdfc9eac96a04770bcf7ba"
+ "frontend-modern/src/features/proxmox/proxmoxPageModel.ts": "a8de01ecbcca7f65b2b5145ab6a239d6c2f9f10eb7073f74883a273aa12f2418"
},
- "routes": [
- "/proxmox/overview"
- ],
+ "routes": ["/proxmox/overview"],
"viewports": [
{
"width": 1280,
- "height": 800
+ "height": 720
},
{
"width": 390,
@@ -23,16 +19,16 @@
}
],
"states": [
- "The connected public mock estate rendered 50 nodes and 929 guests with the grouped workload window active",
- "Across 24 consecutive 600-pixel desktop wheel steps from scrollTop 10000 to 24400, every sample retained at least 26 visible guest rows",
- "Across 24 consecutive 600-pixel wheel steps at 390x844 from scrollTop 10000 to 24400, every sample retained at least 22 visible guest rows",
- "Desktop and narrow verification both retained the 140-row mounted guest budget throughout rapid scrolling",
- "The verified route reported no browser error-level runtime logs during responsive and sustained-scroll checks"
+ "Before the fix, searching 315 retained 8 of 50 nodes while the guest table showed only 3 matching guests",
+ "The five false parent nodes were admitted only by opaque VM or LXC resource ids containing 315",
+ "After the fix, searching 315 retained exactly Analytics A, Analytics F, and East Production E for the three visible guest matches",
+ "The same exact three-node result rendered at 390x844 with document clientWidth and scrollWidth both equal to 390 pixels",
+ "Direct navigation back to the unfiltered overview restored all 50 nodes and the browser console remained free of warnings and errors"
],
"interactions": [
- "Reloaded /proxmox/overview and confirmed the complete large-estate mock snapshot and bounded workload window",
- "Applied repeated physical wheel input through the workload viewport and sampled visible and mounted rows immediately after every desktop step",
- "Repeated the same sustained wheel-input sequence at a 390x844 phone viewport and visually inspected the populated table",
- "Inspected browser runtime logs after both responsive scroll sequences"
+ "Loaded /proxmox/overview against the connected 50-node and 929-guest mock estate and entered 315 in the shared workload search",
+ "Compared the Nodes and Guests results before and after the search-vocabulary correction",
+ "Repeated the numeric search at a 390x844 viewport and checked the three expected parent nodes plus page overflow dimensions",
+ "Navigated to the clean overview route to remove search state and confirmed the complete node estate returned"
]
}
diff --git a/frontend-modern/src/features/proxmox/__tests__/proxmoxPageModel.test.ts b/frontend-modern/src/features/proxmox/__tests__/proxmoxPageModel.test.ts
index 5cea78c806..a57c524d00 100644
--- a/frontend-modern/src/features/proxmox/__tests__/proxmoxPageModel.test.ts
+++ b/frontend-modern/src/features/proxmox/__tests__/proxmoxPageModel.test.ts
@@ -295,4 +295,58 @@ describe('proxmoxPageModel', () => {
'site-b-node',
]);
});
+
+ it('does not retain nodes whose only match is an opaque resource id', () => {
+ const nodes = [
+ makeResource({
+ id: 'agent-node-315-hidden',
+ type: 'agent',
+ name: 'Branch Services D',
+ displayName: 'Branch Services D',
+ proxmox: { instance: 'branch-services', nodeName: 'pve46' },
+ }),
+ makeResource({
+ id: 'analytics-a',
+ type: 'agent',
+ name: 'Analytics A',
+ displayName: 'Analytics A',
+ proxmox: { instance: 'analytics', nodeName: 'pve31' },
+ }),
+ makeResource({
+ id: 'production-east-e',
+ type: 'agent',
+ name: 'East Production E',
+ displayName: 'East Production E',
+ proxmox: { instance: 'production-east', nodeName: 'pve11' },
+ }),
+ ];
+ const guests = [
+ makeResource({
+ id: 'system-container-bbf38a3159484caf',
+ type: 'system-container',
+ name: 'auth-service-218',
+ displayName: 'auth-service-218',
+ proxmox: { instance: 'branch-services', nodeName: 'pve46', vmid: 467 },
+ }),
+ makeResource({
+ id: 'system-container-visible-name',
+ type: 'system-container',
+ name: 'billing-worker-315',
+ displayName: 'billing-worker-315',
+ proxmox: { instance: 'analytics', nodeName: 'pve31', vmid: 680 },
+ }),
+ makeResource({
+ id: 'system-container-visible-vmid',
+ type: 'system-container',
+ name: 'reporting-api-124',
+ displayName: 'reporting-api-124',
+ proxmox: { instance: 'production-east', nodeName: 'pve11', vmid: 315 },
+ }),
+ ];
+
+ expect(filterProxmoxNodes(nodes, guests, '315').map((node) => node.id)).toEqual([
+ 'analytics-a',
+ 'production-east-e',
+ ]);
+ });
});
diff --git a/frontend-modern/src/features/proxmox/proxmoxPageModel.ts b/frontend-modern/src/features/proxmox/proxmoxPageModel.ts
index 8aec53a4a3..14c37122ca 100644
--- a/frontend-modern/src/features/proxmox/proxmoxPageModel.ts
+++ b/frontend-modern/src/features/proxmox/proxmoxPageModel.ts
@@ -211,16 +211,15 @@ export function getResourceVmid(resource: Resource): string {
return '';
}
+// Search here mirrors the operator-visible Proxmox workload vocabulary. Raw
+// unified-resource ids are intentionally excluded: VM/LXC rows expose their
+// canonical node-scoped id/VMID instead, and matching an opaque hash would
+// retain a parent node for a result the guest table cannot show.
const getProxmoxSearchValues = (resource: Resource): Array<string | number | undefined> => [
resource.name,
resource.displayName,
- resource.id,
resource.parentName,
- resource.platformId,
resource.status,
- resource.identity?.hostname,
- ...(resource.identity?.ips ?? []),
- ...(resource.tags ?? []),
resource.proxmox?.node,
resource.proxmox?.nodeName,
resource.proxmox?.nodeIdentity,
@@ -228,8 +227,6 @@ const getProxmoxSearchValues = (resource: Resource): Array<string | number | und
...(resource.proxmox?.nodeAliases ?? []),
resource.proxmox?.clusterName,
resource.proxmox?.instance,
- resource.proxmox?.host,
- resource.proxmox?.pveVersion,
getResourceVmid(resource),
];