From 5cc1f2f7b06b6b6d98f08ed177e8326beea407e1 Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 04:16:08 +0100 Subject: [PATCH] Corroborate PBS History integration fixtures with reported machine names PR #2341 Core E2E run 36660586289 fails its desktop and phone PBS target assertions because the old fixture supplies only labels and a non-contract pbs.hostname. The reviewed identity repair requires reported pbs.nodeName or an explicit Agent link. Supply nodeName and retain the expected guest/standalone History targets and wrong-target rejection. No runtime behavior changes. Contract-Neutral: Integration-fixture machine identity only; existing History assertions and runtime contracts are unchanged. Change-source: pulse-maintainer --- tests/integration/tests/63-pbs-history-targets.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/tests/63-pbs-history-targets.spec.ts b/tests/integration/tests/63-pbs-history-targets.spec.ts index 2c85e8016..2abc4c08c 100644 --- a/tests/integration/tests/63-pbs-history-targets.spec.ts +++ b/tests/integration/tests/63-pbs-history-targets.spec.ts @@ -95,7 +95,8 @@ for (const width of [1280, 390]) { id: `pbs-${type}`, type: 'pbs', name: `backup-${type}`, displayName: `backup-${type}`, platformId: `backup-${type}`, platformType: 'proxmox-pbs', sources: ['pbs'], metricsTarget: { resourceType: 'agent', resourceId: `wrong-${type}` }, - pbs: { instanceId: `backup-${type}`, hostname: `backup-${type}`, datastores: [] }, + // Correlate with the machine name PBS reports, never its presentation label. + pbs: { instanceId: `backup-${type}`, nodeName: `backup-${type}`, datastores: [] }, })); const hosts = ['vm', 'agent'].map(type => ({ ...common, id: `host-${type}`, type, name: `backup-${type}`, displayName: `backup-${type}`, platformId: `host-${type}`,