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.

Retain backup locations beside narrow Coverage evidence

pulse-triage[bot]d46b30685b22
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 32c702c5d3..f788125c84 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -10422,3 +10422,10 @@ keys, restore points, protection policy and guest operations are unchanged;
removing fabricated node metadata prevents one false unscoped-task match.
Desktop and phone browser proof exercises both existing detail views. This
corrects attribution, not #2681/#3248 causality or native recovery.
+
+When Coverage hides the Location column on narrow containers, each existing
+restore-evidence Source cell also wraps its labelled repository location.
+Removing a guessed node must not discard the useful namespace/datastore it
+misrepresented. `ProxmoxCoverageTable.test.tsx` checks narrow/full projection
+and complete long location text; the parsed inventory regressions also retain
+reader identity and full repository context without adding reads or routes.
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 67501d997b..c3e459c0f0 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -7950,3 +7950,10 @@ keys, restore points, protection policy and guest operations are unchanged;
removing fabricated node metadata prevents one false unscoped-task match.
Desktop and phone browser proof exercises both existing detail views. This
corrects attribution, not #2681/#3248 causality or native recovery.
+
+When Coverage hides the Location column on narrow containers, each existing
+restore-evidence Source cell also wraps its labelled repository location.
+Removing a guessed node must not discard the useful namespace/datastore it
+misrepresented. `ProxmoxCoverageTable.test.tsx` checks narrow/full projection
+and complete long location text; the parsed inventory regressions also retain
+reader identity and full repository context without adding reads or routes.
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 416336921c..aa71163dfd 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -8904,3 +8904,10 @@ keys, restore points, protection policy and guest operations are unchanged;
removing fabricated node metadata prevents one false unscoped-task match.
Desktop and phone browser proof exercises both existing detail views. This
corrects attribution, not #2681/#3248 causality or native recovery.
+
+When Coverage hides the Location column on narrow containers, each existing
+restore-evidence Source cell also wraps its labelled repository location.
+Removing a guessed node must not discard the useful namespace/datastore it
+misrepresented. `ProxmoxCoverageTable.test.tsx` checks narrow/full projection
+and complete long location text; the parsed inventory regressions also retain
+reader identity and full repository context without adding reads or routes.
diff --git a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
index 760f7f3fc4..417199e3da 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
@@ -755,6 +755,21 @@ export function ProxmoxCoverageTable(props: {
class={getPlatformTableCellClassForKind('name')}
>
<ArtifactSourceIdentity artifact={artifact} wrap />
+ <Show
+ when={
+ !isCoverageEvidenceColumnVisible(
+ layoutMode(),
+ 'location',
+ )
+ }
+ >
+ <span
+ class="mt-1 block whitespace-normal text-muted leading-snug wrap-anywhere"
+ data-coverage-evidence-location
+ >
+ Location: {artifact.location}
+ </span>
+ </Show>
</TableCell>
<Show
when={isCoverageEvidenceColumnVisible(
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx
index 9ee4b75feb..e6bd01a084 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx
@@ -132,6 +132,53 @@ describe('ProxmoxCoverageTable column visibility', () => {
expect(document.body.textContent).not.toContain('VM 100 · pve1');
});
+ it.each([330, 600, 1200])(
+ 'keeps backup locations readable as locations at %ipx without using them as nodes',
+ (width) => {
+ const model = buildProxmoxBackupRecoveryModel({
+ workloads: [],
+ pbsBackups: [],
+ snapshots: [],
+ tasks: [],
+ nowMs: BACKUP_IDENTITY_NOW,
+ archives: [
+ identityArchive({
+ node: '',
+ instance: 'reader-only',
+ storage: 'long-repository-'.repeat(8),
+ }),
+ ],
+ });
+ const current = model.coverageRows[0];
+ renderInRouter(() => (
+ <ProxmoxCoverageTable
+ rows={[current]}
+ hasAnyRows
+ emptyIcon={<span />}
+ emptyTitle=""
+ emptyDescription=""
+ sortKey={() => 'posture'}
+ sortDirection={() => 'asc'}
+ onSort={() => {}}
+ expandedKey={current.key}
+ onToggleExpand={() => {}}
+ showTaskColumn={false}
+ layoutWidth={() => width}
+ />
+ ));
+ const detail = screen.getByTestId('proxmox-coverage-detail');
+ const location = detail.querySelector('[data-coverage-evidence-location]')!;
+ expect(location).toHaveTextContent('long-repository-'.repeat(8));
+ expect(location).toHaveClass('whitespace-normal', 'wrap-anywhere');
+ if (width < 480)
+ expect(location.textContent).toBe(`Location: ${current.artifacts[0].location}`);
+ expect(within(detail).getByText('Node', { exact: true }).closest('tr')).toHaveTextContent(
+ 'Not reported',
+ );
+ expect(detail.querySelectorAll('[data-coverage-evidence-location]')).toHaveLength(1);
+ },
+ );
+
it('keeps provider evidence in the workload drill-down instead of every table row', () => {
const completedWithWarning: WorkloadCoverageRow = {
...row,