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
Align node filter source contracts with inventory options
rcourtman709eeb2f7719
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 c71532cba1..20016a56cc 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@@ -1227,8 +1227,8 @@ describe('Workloads performance contract', () => {expect(workloadsWorkloadRouteStateSource).toContain('WORKLOADS_WORKLOAD_ROUTE_RESET_STATE');expect(workloadsWorkloadRouteStateSource).toContain('isWorkloadsRoute,');expect(workloadsWorkloadFilterOptionsSource).toContain("from './workloadFilterConfigModel'");- expect(workloadsWorkloadFilterOptionsSource).toContain(- 'buildWorkloadNodeOptions(platformScopedGuests())',+ expect(workloadsWorkloadFilterOptionsSource).toMatch(+ /const workloadNodeOptions = createMemo\(\(\) =>\s*buildWorkloadNodeOptions\(\s*platformScopedGuests\(\),/,);expect(workloadsWorkloadFilterOptionsSource).not.toContain('const onContextChange = (value: string) =>',diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.tsindex 7df9ac6186..35e2debb92 100644--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts@@ -665,9 +665,13 @@ describe('frontend resource type boundaries', () => {expect(workloadsControlsStateSource).toContain('DEFAULT_WORKLOADS_SORT_KEY');expect(workloadsWorkloadRouteStateSource).toContain('useWorkloadFilterOptions');expect(workloadsWorkloadFilterOptionsSource).toContain("from './workloadFilterConfigModel'");+ expect(workloadsWorkloadFilterOptionsSource).toMatch(+ /buildWorkloadNodeOptions\(\s*platformScopedGuests\(\),/,+ );expect(workloadsWorkloadFilterOptionsSource).toContain(- 'buildWorkloadNodeOptions(platformScopedGuests())',+ "sourcePlatformScopeMatchesFilter('proxmox-pve', options.platformScope?.())",);+ expect(workloadsWorkloadFilterOptionsSource).toContain('? (options.nodes?.() ?? [])');expect(workloadsWorkloadFilterOptionsSource).not.toContain('const onContextChange = (value: string) =>',);