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
This commit is contained in:
pulse-triage[bot] 2026-09-30 04:16:08 +01:00
parent 80e654381b
commit 5cc1f2f7b0

View file

@ -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}`,