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
Identify backup provider scopes in Coverage evidence
pulse-triage[bot]61b38db871b7
diff --git a/frontend-modern/browser-verification/d51661303a9a35ac.json b/frontend-modern/browser-verification/d51661303a9a35ac.jsonnew file mode 100644index 0000000000..bcc4c964ee--- /dev/null+++ b/frontend-modern/browser-verification/d51661303a9a35ac.json@@ -0,0 +1,44 @@+{+ "version": 1,+ "base_sha": "0c0532e843fd2b82ebb76b44334ba506d1ad2217",+ "verified_at": "2026-10-25T12:53:44Z",+ "result": "passed",+ "changed_paths": [+ "frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx"+ ],+ "content_sha256": {+ "frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx": "74e1da39ad59104068ce82b993d09174cbc6bbdb7e01412d440a87400d3366d0"+ },+ "routes": [+ "/proxmox/backups/coverage (offline consuming fixture: production ProxmoxBackupsTable, protection hook, API client, recovery model, Coverage detail panel and application CSS; synthetic HTTP, not full-app authentication)"+ ],+ "states": [+ "Two same-kind backup providers retain distinct readable and denied scope identities beside their own job, history and access evidence. Missing scope is explicitly Unknown; server-owned Attention and independently readable artifact remain unchanged.",+ "Long unbroken scope wraps visibly at desktop/light and 320px/dark without horizontal page overflow. Baseline and final screenshots opened with native view_image."+ ],+ "interactions": [+ "26 final browser checks: desktop keyboard expansion/collapse, narrow natural row tap/collapse, provider/status association, missing scope, long-name wrapping and document width. Read-only fixture traffic and no page runtime errors.",+ "12 baseline checks independently reproduce absent source identities at both widths. Driver/setup failures are retained separately and not counted as passing proof."+ ],+ "viewports": [+ {+ "width": 1440,+ "height": 1000,+ "browser": "Chromium",+ "browser_version": "141.0.7390.37",+ "theme": "light"+ },+ {+ "width": 320,+ "height": 760,+ "browser": "Chromium",+ "browser_version": "141.0.7390.37",+ "theme": "dark",+ "touch": true+ }+ ],+ "evidence": "Lane RECEIPTS.md, BROWSER-BINDING.json, PIXEL-REVIEW.md and browser/baseline-*.png, browser/final-*.png. Fixture and drivers are evidence only.",+ "limitations": [+ "Synthetic HTTP sources; no backend collection/authentication, installed recovery, guest/QGA action, restore/thaw, reporter-cause reproduction or release acceptance."+ ]+}diff --git a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsxindex 016b34615b..77ca3f0644 100644--- a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx@@ -203,6 +203,7 @@ const buildCoverageDetailSections = (row: WorkloadCoverageRow): DetailSection[]makeDetailRow(providerLabel(provider.provider),[+ `Scope ${provider.scope?.trim() || 'Unknown'}`,`Job ${evidenceQualityLabel(provider.jobState)}`,`History ${evidenceQualityLabel(provider.historyCompleteness)}`,`Access ${evidenceQualityLabel(provider.permissions)}`,@@ -210,10 +211,15 @@ const buildCoverageDetailSections = (row: WorkloadCoverageRow): DetailSection[]{layout: 'stacked',valueContent: (- <span class="flex flex-wrap gap-x-3 text-left font-normal leading-snug">- <span>Job {evidenceQualityLabel(provider.jobState)}</span>- <span>History {evidenceQualityLabel(provider.historyCompleteness)}</span>- <span>Access {evidenceQualityLabel(provider.permissions)}</span>+ <span class="block space-y-1 text-left font-normal leading-snug">+ <span class="block whitespace-normal wrap-anywhere">+ Scope {provider.scope?.trim() || 'Unknown'}+ </span>+ <span class="flex flex-wrap gap-x-3">+ <span>Job {evidenceQualityLabel(provider.jobState)}</span>+ <span>History {evidenceQualityLabel(provider.historyCompleteness)}</span>+ <span>Access {evidenceQualityLabel(provider.permissions)}</span>+ </span></span>),},diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsxindex 482642dd71..3b04bb5fc7 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx@@ -170,6 +170,112 @@ describe('ProxmoxCoverageTable column visibility', () => {expect(document.body.textContent).toContain('Access Sufficient');});+ it('keeps each provider scope beside its own access and history evidence', () => {+ const scoped = {+ ...row,+ protectionPosture: {+ ...row.protectionPosture!,+ providerStates: [+ row.protectionPosture!.providerStates[0],+ {+ ...row.protectionPosture!.providerStates[0],+ scope: 'pbs-other-estate',+ jobState: 'unknown',+ historyCompleteness: 'unavailable',+ permissions: 'denied',+ },+ ],+ },+ } as WorkloadCoverageRow;+ renderInRouter(() => (+ <ProxmoxCoverageTable+ rows={[scoped]}+ hasAnyRows+ emptyIcon={<span />}+ emptyTitle=""+ emptyDescription=""+ sortKey={(() => 'posture') as Accessor<CoverageSortKey>}+ sortDirection={() => 'asc'}+ onSort={() => {}}+ expandedKey="w1"+ onToggleExpand={() => {}}+ showTaskColumn={false}+ />+ ));++ const readable = screen.getByText('Scope pbs-main').closest('tr')!;+ const denied = screen.getByText('Scope pbs-other-estate').closest('tr')!;+ expect(readable).not.toBe(denied);+ expect(within(readable).getByText('Access Sufficient')).toBeVisible();+ expect(within(readable).getByText('History Complete')).toBeVisible();+ expect(within(denied).getByText('Access Denied')).toBeVisible();+ expect(within(denied).getByText('History Unavailable')).toBeVisible();+ expect(within(denied).queryByText('Access Sufficient')).not.toBeInTheDocument();+ });++ it.each(['', ' ', undefined])(+ 'names absent scope %j Unknown instead of guessing the guest node',+ (scope) => {+ const unscoped = {+ ...row,+ protectionPosture: {+ ...row.protectionPosture!,+ providerStates: [{ ...row.protectionPosture!.providerStates[0], scope }],+ },+ } as WorkloadCoverageRow;+ renderInRouter(() => (+ <ProxmoxCoverageTable+ rows={[unscoped]}+ hasAnyRows+ emptyIcon={<span />}+ emptyTitle=""+ emptyDescription=""+ sortKey={(() => 'posture') as Accessor<CoverageSortKey>}+ sortDirection={() => 'asc'}+ onSort={() => {}}+ expandedKey="w1"+ onToggleExpand={() => {}}+ showTaskColumn={false}+ />+ ));++ const provider = screen.getByText('Scope Unknown').closest('tr')!;+ expect(within(provider).getByText('Access Sufficient')).toBeVisible();+ expect(provider).not.toHaveTextContent('pve1');+ },+ );++ it('renders a long markup-like scope as wrapping text, not HTML or a link', () => {+ const scope = '<img src=x onerror=alert(1)>' + 'a'.repeat(200);+ const scoped = {+ ...row,+ protectionPosture: {+ ...row.protectionPosture!,+ providerStates: [{ ...row.protectionPosture!.providerStates[0], scope: ` ${scope} ` }],+ },+ };+ renderInRouter(() => (+ <ProxmoxCoverageTable+ rows={[scoped]}+ hasAnyRows+ emptyIcon={<span />}+ emptyTitle=""+ emptyDescription=""+ sortKey={(() => 'posture') as Accessor<CoverageSortKey>}+ sortDirection={() => 'asc'}+ onSort={() => {}}+ expandedKey="w1"+ onToggleExpand={() => {}}+ showTaskColumn={false}+ layoutWidth={() => 320}+ />+ ));++ const label = screen.getByText(`Scope ${scope}`);+ expect(label).toHaveClass('whitespace-normal', 'wrap-anywhere');+ expect(label.querySelector('img, a')).toBeNull();+ });+it('heads the workload drawer with its posture and links to the workload', async () => {const onToggleExpand = vi.fn();const linked = {