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
Match the Unraid test transport to its disabled policy
pulse-triage[bot]92251bf809e3
diff --git a/internal/alerts/host_unraid_lifecycle_test.go b/internal/alerts/host_unraid_lifecycle_test.goindex 89498acef1..5d995179d4 100644--- a/internal/alerts/host_unraid_lifecycle_test.go+++ b/internal/alerts/host_unraid_lifecycle_test.go@@ -1773,6 +1773,11 @@ func TestUnraidOnlyTemperatureRetainsPendingContinuity(t *testing.T) {t.Run(fmt.Sprintf("%s/explicit=%v", gap, explicit), func(t *testing.T) {m, elapsed := continuityManager(t, explicit)disk := models.HostUnraidDisk{Name: "disk1", Device: "sda", Serial: "CONTINUITY-1", Transport: "sata", Temperature: 85}+ if gap == "type-off" {+ // Canonical SATA zero triggers are restored to defaults on save.+ // Custom transport entries support disabling through UpdateConfig.+ disk.Transport = "custom"+ }host := unraidTempHost(nil, disk)id := hostDiskTemperatureResourceID(host.ID, "sda")// The inventory also has its separate array-health alert.@@ -1798,7 +1803,7 @@ func TestUnraidOnlyTemperatureRetainsPendingContinuity(t *testing.T) {cfg := m.GetConfig()cfg.DiskTempByType = map[string]HysteresisThreshold{"custom": {Trigger: 0}}m.UpdateConfig(cfg)- if threshold := m.DiskTemperatureThreshold("custom"); threshold != nil && threshold.Trigger > 0 {+ if threshold := m.DiskTemperatureThreshold(disk.Transport); threshold != nil && threshold.Trigger > 0 {t.Fatalf("type-off fixture did not disable temperature alerts: %+v", threshold)}cfg.DiskTempByType = map[string]HysteresisThreshold{"custom": {Trigger: 80, Clear: 70}}