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
Assert the retained warm guest cache's actual source
pulse-triage[bot]b7589f2ed195
diff --git a/docs/release-control/v6/internal/subsystems/monitoring.md b/docs/release-control/v6/internal/subsystems/monitoring.mdindex 17ca448023..3b8a6e3f4f 100644--- a/docs/release-control/v6/internal/subsystems/monitoring.md+++ b/docs/release-control/v6/internal/subsystems/monitoring.md@@ -1012,9 +1012,9 @@ cluster aliases, VM/source isolation, unchanged expiry and valid resumption.null, partial-row, escaped-text and truncated-measurement compatibility.`TestGuestAgentTypedReplyMonitoringContract` connects all three field kinds tothe real poll builder, broadcast resource and History, with untouched-healthy-read cache and observation origins: original memory/disk and-metadata evidence remain last-known, CPU advances, and guest metrics are not-renewed. This is synthetic source/consuming-surface proof, not attribution of+healthy-read cache and observation origins: original memory/disk remain+last-known with their QGA provenance, metadata is not renewed, CPU advances,+and guest metrics are not renewed. This is synthetic source/consuming-surface proof, not attribution ofthe original freeze or native thaw/restart recovery.The completed-error boundary uses the actual HTTP status retained by the requestdiff --git a/internal/monitoring/guest_agent_transport_integration_test.go b/internal/monitoring/guest_agent_transport_integration_test.goindex 26933d59d8..beddf35d73 100644--- a/internal/monitoring/guest_agent_transport_integration_test.go+++ b/internal/monitoring/guest_agent_transport_integration_test.go@@ -160,6 +160,10 @@ func testGuestAgentTransportDeferralKeepsLastKnownHistory(t *testing.T, kinds ..m.guestMetadataLimiter = make(map[string]time.Time)phase.Store(1)res.CPU = 0.2+ wantMemorySource := "previous-snapshot"+ if strings.HasPrefix(kind, "typed ") {+ wantMemorySource = "guest-agent-meminfo" // The untouched warm cache retains its actual origin.+ }for i := 0; i < 2; i++ {deferred, source := build()wantReason := "prev-agent-cooldown"@@ -173,7 +177,7 @@ func testGuestAgentTransportDeferralKeepsLastKnownHistory(t *testing.T, kinds ..wantReason = "prev-agent-redirect"}}- if deferred.ID != initial.ID || deferred.GuestAgentStatus != "deferred" || deferred.DiskStatusReason != wantReason || deferred.Memory.Used != initial.Memory.Used || source != "previous-snapshot" || deferred.Disk.Used != initial.Disk.Used || !reflect.DeepEqual(deferred.NetworkInterfaces, initial.NetworkInterfaces) {+ if deferred.ID != initial.ID || deferred.GuestAgentStatus != "deferred" || deferred.DiskStatusReason != wantReason || deferred.Memory.Used != initial.Memory.Used || source != wantMemorySource || deferred.Disk.Used != initial.Disk.Used || !reflect.DeepEqual(deferred.NetworkInterfaces, initial.NetworkInterfaces) {t.Fatalf("uncertain command lost truthful continuity: source=%s vm=%+v", source, deferred)}if strings.HasPrefix(kind, "typed ") && (deferred.Memory.Observation.State != "last-known" || !deferred.Memory.Observation.ObservedAt.Equal(initial.Memory.Observation.ObservedAt)) {