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
Check guest source identity through its canonical read alias
pulse-triage[bot]391ec105d0b2
diff --git a/internal/monitoring/guest_agent_optional_read_integration_test.go b/internal/monitoring/guest_agent_optional_read_integration_test.goindex e6a5bf8692..1099a1ebab 100644--- a/internal/monitoring/guest_agent_optional_read_integration_test.go+++ b/internal/monitoring/guest_agent_optional_read_integration_test.go@@ -132,11 +132,12 @@ func testGuestAgentOptionalReadOrdering(t *testing.T, withoutStatus bool) {m.recordGuestMetrics([]models.VM{vm}, nil, time.Now().Add(-time.Second))registry.IngestSnapshot(models.StateSnapshot{VMs: []models.VM{vm}})view := registry.VMs()[0]- if view.ID() != id || view.DiskUsed() != vm.Disk.Used || view.DiskStatusReason() != vm.DiskStatusReason {- t.Fatal("filesystem observation changed at the read boundary")+ canonicalID, resolved := registry.ResolveReferenceID(id)+ if !resolved || view.ID() != canonicalID || view.DiskUsed() != vm.Disk.Used || view.DiskStatusReason() != vm.DiskStatusReason {+ t.Fatalf("filesystem observation changed at the read boundary: id=%q resolved=%q ok=%v used=%d/%d reason=%q/%q", view.ID(), canonicalID, resolved, view.DiskUsed(), vm.Disk.Used, view.DiskStatusReason(), vm.DiskStatusReason)}encoded, err := json.Marshal(m.buildBroadcastFrontendStateFromSnapshot(models.StateSnapshot{VMs: []models.VM{vm}}).Resources)- if err != nil || !strings.Contains(string(encoded), id) {+ if err != nil || !strings.Contains(string(encoded), canonicalID) {t.Fatal("guest identity missing from JSON read projection")}next := previousVMFromView(view)