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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Show reported Coverage dates without hover
pulse-triage[bot]614c4d914028
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 75fc0b1419..4a5d4b3367 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -20,6 +20,23 @@## Purpose+### Coverage dates are inspectable without hover++Open Coverage evidence retains each point’s exact reported date as wrapping+literal text beside its identifier and metadata, including seconds, fractions+and timezone offsets. Missing dates say “Not reported”. Invalid and future raw+dates remain inspectable without becoming valid ages or ordered evidence. The+existing Unknown age and uncertainty notices still apply. This works in both+the Details column and its folded phone projection; it adds no read or recovery+operation and does not change completion, posture, chronology or preview rules.++Normal-suite `coverageRestorePointIdentity.test.tsx` exercises parsed PVE/PBS+inventory for all three point kinds, valid/invalid/future/missing/literal dates,+responsive projections, same-row polling and namesake isolation. Desktop and+narrow browser proof inspects the real Backups consumer and its updated dates.+The canonical bytes formatter supplies the existing Unknown size fallback in+both projections; no byte admission or sorting rule changes.+### Coverage restore points retain their identifiers without hoverThe existing open Coverage evidence rows show each point's full identifier anddiff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex 0e7729ae41..b96cbf2489 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -21,6 +21,23 @@## Purpose+### Coverage dates are inspectable without hover++Open Coverage evidence retains each point’s exact reported date as wrapping+literal text beside its identifier and metadata, including seconds, fractions+and timezone offsets. Missing dates say “Not reported”. Invalid and future raw+dates remain inspectable without becoming valid ages or ordered evidence. The+existing Unknown age and uncertainty notices still apply. This works in both+the Details column and its folded phone projection; it adds no read or recovery+operation and does not change completion, posture, chronology or preview rules.++Normal-suite `coverageRestorePointIdentity.test.tsx` exercises parsed PVE/PBS+inventory for all three point kinds, valid/invalid/future/missing/literal dates,+responsive projections, same-row polling and namesake isolation. Desktop and+narrow browser proof inspects the real Backups consumer and its updated dates.+The canonical bytes formatter supplies the existing Unknown size fallback in+both projections; no byte admission or sorting rule changes.+### Coverage restore points retain their identifiers without hoverThe existing open Coverage evidence rows show each point's full identifier anddiff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex f81396adac..7d2765be1e 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -23,6 +23,23 @@ and sort the complete canonical change table while startup and ingestion wait.## Purpose+### Coverage dates are inspectable without hover++Open Coverage evidence retains each point’s exact reported date as wrapping+literal text beside its identifier and metadata, including seconds, fractions+and timezone offsets. Missing dates say “Not reported”. Invalid and future raw+dates remain inspectable without becoming valid ages or ordered evidence. The+existing Unknown age and uncertainty notices still apply. This works in both+the Details column and its folded phone projection; it adds no read or recovery+operation and does not change completion, posture, chronology or preview rules.++Normal-suite `coverageRestorePointIdentity.test.tsx` exercises parsed PVE/PBS+inventory for all three point kinds, valid/invalid/future/missing/literal dates,+responsive projections, same-row polling and namesake isolation. Desktop and+narrow browser proof inspects the real Backups consumer and its updated dates.+The canonical bytes formatter supplies the existing Unknown size fallback in+both projections; no byte admission or sorting rule changes.+### Coverage restore points retain their identifiers without hoverThe existing open Coverage evidence rows show each point's full identifier anddiff --git a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsxindex 2993e7fbbd..e52a5c2409 100644--- a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx@@ -464,12 +464,12 @@ const buildCoverageDetailSections = (row: WorkloadCoverageRow): DetailSection[]]);// Several points can share a reader, location and rounded age. Preserve the-// point's own identifier and full metadata in the open evidence at every width;-// a hidden Details column or hover-only volume cannot identify it on a phone.+// point's identifier, reported date and metadata in the open evidence at every+// width. Raw dates remain inspectable even when they cannot establish an age.function coverageRestorePointDetails(artifact: RecoverableArtifact) {return (<div class="whitespace-pre-line wrap-anywhere" data-coverage-evidence-detail>- {`Identifier: ${artifact.nativeId}\nMetadata: ${artifact.detailTitle || artifact.detail}`}+ {`Identifier: ${artifact.nativeId}\nReported date: ${artifact.createdAt || 'Not reported'}\nMetadata: ${artifact.detailTitle || artifact.detail}`}</div>);}@@ -1044,9 +1044,10 @@ export function ProxmoxCoverageTable(props: {data-coverage-evidence-size>Size:{' '}- {artifact.size && artifact.size > 0- ? formatPlatformTableBytesValue(artifact.size)- : 'Unknown size'}+ {formatPlatformTableBytesValue(+ artifact.size,+ 'Unknown size',+ )}</span></Show><Show@@ -1093,10 +1094,9 @@ export function ProxmoxCoverageTable(props: {<TableCellclass={`${getPlatformTableCellClassForKind('numeric-value')} tabular-nums text-base-content`}>- {artifact.size && artifact.size > 0 ? (- formatPlatformTableBytesValue(artifact.size)- ) : (- <span class="text-muted">Unknown size</span>+ {formatPlatformTableBytesValue(+ artifact.size,+ 'Unknown size',)}</TableCell></Show>diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsxindex 33e49eae22..bebe3c4b8a 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx@@ -623,6 +623,9 @@ describe('ProxmoxCoverageTable column visibility', () => {expect(panel.querySelector('[data-coverage-evidence-detail]')).toHaveTextContent('Identifier: pbs-1',);+ expect(panel.querySelector('[data-coverage-evidence-detail]')).toHaveTextContent(+ 'Reported date: 2026-07-18T23:00:00Z',+ );expect(panel.querySelector('[data-coverage-evidence-detail]')).toHaveTextContent('Metadata: vm/100/2026-07-18T23:00:00Z',);diff --git a/frontend-modern/src/features/proxmox/__tests__/coverageRestorePointIdentity.test.tsx b/frontend-modern/src/features/proxmox/__tests__/coverageRestorePointIdentity.test.tsxindex e5ad3ad7f2..64de062db9 100644--- a/frontend-modern/src/features/proxmox/__tests__/coverageRestorePointIdentity.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/coverageRestorePointIdentity.test.tsx@@ -26,8 +26,9 @@ const guests = [const literal = '<img src=x onerror=alert(1)>';const volume = `local:backup/very-long-production-archive-${'preserved-'.repeat(8)}.vma.zst`;let updated: boolean;+let dateEvidence: boolean;function inventories() {- return {+ const data = {backups: [identityPBS({ id: 'same-time-pbs-a', namespace: 'east', size: updated ? 0 : 2048 }),identityPBS({@@ -53,6 +54,17 @@ function inventories() {],backupTasks: [],};+ if (dateEvidence) {+ data.backups[0].backupTime = updated+ ? '2026-10-04T10:15:34.123456789+02:00'+ : '2026-10-04T10:00:00.123456789Z';+ data.backups[1].backupTime = '2026-09-31T10:00:00Z';+ data.storageBackups[0].time = '2026-10-04T11:00:01+00:00';+ data.storageBackups[1].time = '2099-10-04T11:00:00Z';+ data.guestSnapshots[0].time = '';+ data.guestSnapshots[1].time = literal;+ }+ return data;}function mount() {api.fetch.mockImplementation((url: string) => {@@ -94,6 +106,7 @@ beforeEach(() => {resetCreateNonSuspendingQueryCacheForTest();api.width = 320;updated = false;+ dateEvidence = false;window.history.replaceState({}, '', '/proxmox/backups/coverage');});afterEach(() => {@@ -103,6 +116,55 @@ afterEach(() => {});describe('Coverage restore-point identity through parsed inventory', () => {+ it.each([320, 480, 720, 1200])(+ 'keeps exact reported dates inspectable without hover at %ipx',+ async (width) => {+ api.width = width;+ dateEvidence = true;+ mount();+ const panel = await open();+ const expected = [+ ['same-time-pbs-a', '2026-10-04T10:00:00.123456789Z'],+ ['same-time-pbs-b', '2026-09-31T10:00:00Z'],+ ['same-time-archive-a', '2026-10-04T11:00:01+00:00'],+ [`same-time-archive-b ${literal}`, '2099-10-04T11:00:00Z'],+ ['same-time-snapshot-a', 'Not reported'],+ ['same-time-snapshot-b', literal],+ ];+ for (const [id, date] of expected) {+ const details = Array.from(+ panel.querySelectorAll<HTMLElement>('[data-coverage-evidence-detail]'),+ ).find((element) => element.textContent?.startsWith(`Identifier: ${id}\n`))!;+ expect(details).toHaveTextContent(`Reported date: ${date}`);+ expect(details).not.toHaveAttribute('title');+ expect(details).toHaveClass('whitespace-pre-line', 'wrap-anywhere');+ if (id !== 'same-time-pbs-a' && id !== 'same-time-archive-a') {+ expect(+ within(details.closest('tr')!).getByText('Unknown', { exact: true }),+ ).toBeVisible();+ }+ }+ expect(panel.querySelector('img')).toBeNull();+ expect(panel).toHaveTextContent('entries cannot be placed in time');+ expect(screen.getByRole('button', { name: '2 unknown' })).toBeInTheDocument();+ const before = evidenceRows(panel);+ const toggle = screen.getByRole('button', { name: /Collapse details for east-100/ });+ toggle.focus();+ updated = true;+ await vi.advanceTimersByTimeAsync(30_000);+ await waitFor(() =>+ expect(panel).toHaveTextContent('Reported date: 2026-10-04T10:15:34.123456789+02:00'),+ );+ expect(panel).not.toHaveTextContent('2026-10-04T10:00:00.123456789Z');+ expect(screen.getByTestId('proxmox-coverage-detail')).toBe(panel);+ for (const row of before) expect(evidenceRows(panel)).toContain(row);+ expect(toggle).toHaveFocus();+ expect(api.fetch).toHaveBeenCalledTimes(4);+ await fireEvent.click(screen.getByRole('button', { name: /Expand details for west-100/ }));+ expect(screen.getByTestId('proxmox-coverage-detail')).not.toHaveTextContent('Reported date:');+ },+ );+it.each([320, 479, 480, 719, 720, 960, 1200])('distinguishes same-time points with full identifiers and metadata at %ipx',async (width) => {