From be18333570be6ba428c690942d7b4def64d4a678 Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 02:58:04 +0100 Subject: [PATCH] Corroborate PBS host identities in retained drawer fixtures Keep the existing guest deduplication and refresh-omission assertions, supplying a reported node name or unchanged backend Agent link instead of the obsolete endpoint-name guess. Runtime and its parent-bound browser proof are unchanged. Change-source: pulse-maintainer --- .../ProxmoxBackupServersTable.drawer.test.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 fc7b310456..05854d4787 100644 --- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupServersTable.drawer.test.tsx +++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupServersTable.drawer.test.tsx @@ -348,11 +348,22 @@ describe('ProxmoxBackupServersTable details', () => { pbs.name = 'proxback'; pbs.displayName = 'proxback'; pbs.platformId = 'pbs-1'; - pbs.pbs = { ...pbs.pbs!, instanceId: 'proxback', hostname: 'proxback-vm' }; + // The reported node, not the configured endpoint, corroborates this host. + pbs.pbs = { + ...pbs.pbs!, + instanceId: 'proxback', + hostname: 'proxback-vm', + nodeName: 'proxback-vm', + }; pbs.metricsTarget = { resourceType: 'agent', resourceId: 'pbs-1' }; pbs.platformData = { sources: ['pbs'], - pbs: { instanceId: 'proxback', hostname: 'proxback-vm', datastoreCount: 1 }, + pbs: { + instanceId: 'proxback', + hostname: 'proxback-vm', + nodeName: 'proxback-vm', + datastoreCount: 1, + }, }; const sharedAgent = { agentId: 'agent-proxback', hostname: 'proxback-vm' }; const guest = { @@ -412,6 +423,7 @@ describe('ProxmoxBackupServersTable details', () => { pbs.pbs = { instanceId: 'proxback', hostname: 'proxback-vm', + linkedAgentId: 'agent-proxback', version: '3.2.1', connectionHealth: 'healthy', datastores: [{ name: 'tank', total: 1000, used: 400, available: 600, usagePercent: 40 }],