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
Exercise actual memory withdrawal without changing health semantics
pulse-triage[bot]a057604a3c0b
diff --git a/frontend-modern/src/features/truenas/__tests__/TrueNASSystemMemory.test.tsx b/frontend-modern/src/features/truenas/__tests__/TrueNASSystemMemory.test.tsxindex 381657ad03..cbced4bd37 100644--- a/frontend-modern/src/features/truenas/__tests__/TrueNASSystemMemory.test.tsx+++ b/frontend-modern/src/features/truenas/__tests__/TrueNASSystemMemory.test.tsx@@ -143,14 +143,20 @@ describe('TrueNAS system memory inspection through the actual table', () => {setSystems(0, 'agent', 'memory', 'cache', undefined);expect(within(dialog).queryByText('Reclaimable cache')).toBeNull();expect(rowValue(dialog, 'Free')).toHaveTextContent('20.0 GB');- setSystems(0, 'status', 'unknown');+ setSystems(0, 'memory', undefined);expect(screen.queryByRole('dialog')).toBeNull();expect(screen.queryByRole('button', { name: 'Memory composition for nas-core' })).toBeNull();expect(document.body.style.overflow).not.toBe('hidden');});- it('offers no composition from an unreported metric or unknown system', () => {- mount([system({ memory: undefined }), system({ id: 'unknown', status: 'unknown' })]);+ it('offers no composition from unreported or non-finite memory', () => {+ mount([+ system({ memory: undefined }),+ system({+ id: 'not-finite',+ memory: { current: Number.NaN, used: Number.NaN, total: Number.NaN },+ }),+ ]);expect(screen.queryByRole('button', { name: /Memory composition for/ })).toBeNull();});