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 every CORE recovery regression poll cycle
pulse-triage[bot]c0f5e98d5db5
diff --git a/internal/monitoring/truenas_poller_test.go b/internal/monitoring/truenas_poller_test.goindex e22cbc3d44..eedb2c6eb4 100644--- a/internal/monitoring/truenas_poller_test.go+++ b/internal/monitoring/truenas_poller_test.go@@ -3003,11 +3003,17 @@ func TestTrueNASPollerCOREUnknownRotationRate(t *testing.T) {diskFailure.Store(cycle == 2)if cycle > 0 {poller.mu.Lock()- poller.statusByOrg["default"][connection.ID].nextPollAt = time.Time{}+ // Zero re-derives the normal interval from lastAttemptAt. Use a+ // nonzero past deadline to exercise the next explicit due cycle.+ poller.statusByOrg["default"][connection.ID].nextPollAt = time.Unix(1, 0)poller.mu.Unlock()}prior := poller.ConnectionSummaries("default", []config.TrueNASInstance{connection})[connection.ID]+ priorRequests := diskRequests.Load()poller.pollAll(context.Background())+ if diskRequests.Load() <= priorRequests {+ t.Fatalf("cycle %d never reached the disk endpoint", cycle)+ }summary := poller.ConnectionSummaries("default", []config.TrueNASInstance{connection})[connection.ID]if summary.Poll == nil || summary.Poll.LastAttemptAt == nil {t.Fatalf("no ordinary poll attempt in cycle %d: %+v", cycle, summary)