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
Load guest physical disks with the drawer to keep Workloads in budget
rcourtman7b362b353239
diff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.mdindex f78c71e278..5071809ca9 100644--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md@@ -1182,6 +1182,11 @@ change may globally weaken the Task 03 lifecycle-state idempotency invariant.Saves run one metadata write per changed link, then dispatch themetadata-changed events together so whole-snapshot listeners coalesceonto one in-flight refetch instead of refetching per link.+ The drawer overview lazy-loads `GuestPhysicalDisks.tsx` under a local+ `Suspense`, so the physical-disk presentation module+ (`diskPresentation.ts`) loads with an open agent guest's drawer instead+ of joining the WorkloadsSurface chunk.+ `WorkloadsSurface.performance.contract.test.tsx` pins the dynamic import.Drawer history charts belong to `frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx`.A current metric may remain visible in a chart legend only when labelled`current`; it must never be expanded into synthetic timestamps or a flatdiff --git a/frontend-modern/browser-verification/fb12a674d61da775.json b/frontend-modern/browser-verification/fb12a674d61da775.jsonnew file mode 100644index 0000000000..78a9f2ccca--- /dev/null+++ b/frontend-modern/browser-verification/fb12a674d61da775.json@@ -0,0 +1,35 @@+{+ "version": 1,+ "base_sha": "94b7870855120b2c62fce19102903601b9fc4bfc",+ "verified_at": "2026-10-06T22:30:00Z",+ "result": "passed",+ "changed_paths": [+ "frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx"+ ],+ "content_sha256": {+ "frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx": "6e4003a1508856b944680e35234d9f93ef59a02f870fea6f9f1173f7e641c905"+ },+ "routes": [+ "/proxmox/overview"+ ],+ "viewports": [+ {+ "width": 1440,+ "height": 900+ },+ {+ "width": 390,+ "height": 844+ }+ ],+ "states": [+ "Private mock stack (8 nodes, local uncommitted generator overlay pinning pve3 /dev/nvme2 at 72C). Mock guests carry no agent facet and no linked physical disks, so Playwright route interception added agent.agentVersion '6.5.0' to redis-cache-01 (vm-3ae77f2c237ff912) in /api/resources responses and answered the guest's type=physical_disk&parent=<guest id> query with the stack's real 72C Crucial MX500 resource reparented to that guest",+ "Production builds: with this commit (base 8259a74c9d plus the verdict commit 94b7870855) check-bundle-size reports WorkloadsSurface 64.31 kB gzip against a 70.23 kB max, every tracked chunk ok and none missing; origin/main d9ffb39ce8 plus 94b7870855 without this commit measured 70.64 kB (over by 0.40) and d9ffb39ce8 alone 70.20 kB. diskPresentation and GuestPhysicalDisks now build as their own chunks and the WorkloadsSurface chunk no longer contains the disk verdict strings",+ "Guest drawer at 1440 and 390: the GuestPhysicalDisks module is requested only after the guest row is clicked open (none before), the parent query is sent once for the guest id, and the card reads 'Physical Disks & SMART (1)', 'Crucial MX500 2TB', '/dev/nvme2', 'Running Hot' (title 'Disk temperature is 72C', rgb(185,28,28)), '72\u00b0C', '1.82 TB'"+ ],+ "interactions": [+ "Loaded /proxmox/overview at 1440x900 and 390x844, recorded module requests, then clicked the redis-cache-01 guest row to open its drawer and waited for the guest physical-disk card",+ "Read the card text, the verdict label, its title and computed colour, and clipped a screenshot of the card at both widths",+ "Ran vite build and check-bundle-size on d9ffb39ce8, on d9ffb39ce8 plus 94b7870855, and on this branch"+ ]+}diff --git a/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx b/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsxindex de41cfe2e4..9b30b81b1f 100644--- a/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx+++ b/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx@@ -1,4 +1,4 @@-import { Show } from 'solid-js';+import { Show, Suspense, lazy } from 'solid-js';import { formatDiscoveryAge } from '@/api/discovery';import {@@ -29,11 +29,19 @@ import {} from './guestDrawerModel';import type { NestedWorkloadContext } from './nestedWorkloadContext';import { WORKLOAD_ACTION_AGENT_LABEL } from './workloadAgentReadiness';-import { GuestPhysicalDisks } from './GuestPhysicalDisks';import { RaidCard } from '@/components/shared/cards/RaidCard';import type { GuestDrawerProps } from './guestDrawerModel';+// Linked physical disks render only inside an open agent guest's drawer. Load+// them on demand so the disk presentation module stays out of the+// WorkloadsSurface table chunk.+const GuestPhysicalDisks = lazy(() =>+ import('./GuestPhysicalDisks').then(({ GuestPhysicalDisks }) => ({+ default: GuestPhysicalDisks,+ })),+);+interface GuestDrawerOverviewProps {guest: GuestDrawerProps['guest'];guestOsSummary: string;@@ -317,7 +325,9 @@ export function GuestDrawerOverview(props: GuestDrawerOverviewProps) {props.guest.agentRaid?.length}>- <GuestPhysicalDisks parentId={props.guest.canonicalResourceId ?? props.guest.id} />+ <Suspense fallback={null}>+ <GuestPhysicalDisks parentId={props.guest.canonicalResourceId ?? props.guest.id} />+ </Suspense></Show><Show when={props.guest.agentRaid?.length}><RaidCard arrays={props.guest.agentRaid} title="Guest RAID" />diff --git a/frontend-modern/src/components/Workloads/__tests__/WorkloadsSurface.performance.contract.test.tsx b/frontend-modern/src/components/Workloads/__tests__/WorkloadsSurface.performance.contract.test.tsxindex d2aa75fff9..4fa12f172d 100644--- a/frontend-modern/src/components/Workloads/__tests__/WorkloadsSurface.performance.contract.test.tsx+++ b/frontend-modern/src/components/Workloads/__tests__/WorkloadsSurface.performance.contract.test.tsx@@ -1667,6 +1667,12 @@ describe('Workloads performance contract', () => {expect(guestDrawerManageSource).toContain('ResourceOperatorStateSection');expect(guestDrawerOverviewSource).toContain('buildWorkloadsDiskPresentation');expect(guestDrawerOverviewSource).toContain('Filesystems');+ // Linked physical disks load with an open agent guest's drawer, so the+ // disk presentation module stays out of the WorkloadsSurface chunk.+ expect(guestDrawerOverviewSource).toContain("import('./GuestPhysicalDisks')");+ expect(guestDrawerOverviewSource).not.toMatch(+ /^import (?!type )[^;]*from '\.\/GuestPhysicalDisks';/m,+ );// The shared DetailSectionTable gives the earlier of the last two sections// the wider span, so the longer filesystem list must be declared before the// short tag list for mount points to get the readable panel width.