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
Verify task continuity without timezone or full-snapshot noise
pulse-triage[bot]118e2640ba80
diff --git a/internal/monitoring/backup_task_history.go b/internal/monitoring/backup_task_history.goindex acdeeb707c..16c88206bb 100644--- a/internal/monitoring/backup_task_history.go+++ b/internal/monitoring/backup_task_history.go@@ -121,7 +121,7 @@ func (m *Monitor) retainUnreadBackupTasks(instance string, nodes []proxmox.Backufor _, task := range tasks {seen[task.ID] = true}- for _, task := range m.state.GetSnapshot().PVEBackups.BackupTasks {+ for _, task := range m.state.GetBackupTasks() {if task.Instance == instance && unread[task.Node] && !seen[task.ID] {tasks = append(tasks, task)seen[task.ID] = truediff --git a/internal/monitoring/backup_task_inventory_lifecycle_test.go b/internal/monitoring/backup_task_inventory_lifecycle_test.goindex 3a6b462878..0363f88007 100644--- a/internal/monitoring/backup_task_inventory_lifecycle_test.go+++ b/internal/monitoring/backup_task_inventory_lifecycle_test.go@@ -81,7 +81,7 @@ func TestBackupHistoryUnreadNodeRetainsAcceptedTasksWithoutRenewal(t *testing.T)case 0, 4, 7:require.True(t, present)require.Equal(t, "running", a.Status)- require.Equal(t, start, a.StartTime)+ require.True(t, start.Equal(a.StartTime), "preserve the instant regardless of Go's local-zone representation")require.True(t, a.EndTime.IsZero())require.False(t, a.ObservedAt.IsZero())accepted = a@@ -159,17 +159,26 @@ func TestBackupHistoryUnreadTaskCannotCompleteRunningArchive(t *testing.T) {client, err := proxmox.NewClient(proxmox.ClientConfig{Host: server.URL, TokenName: "fixture@pam!readonly", TokenValue: "fixture"})require.NoError(t, err)var before models.BackupTask+ var beforePoint recovery.RecoveryPointfor i := range 3 {phase.Store(int32(i))f.m.pollBackupTasks(context.Background(), "cluster", client)f.m.pollStorageBackupsWithNodes(context.Background(), "cluster", storageClient, f.nodes, f.online)f.wait(t)snapshot, points := f.m.state.GetSnapshot(), f.points(t)+ taskPoint, exists := points["pve-task:cluster-writer"]+ require.True(t, exists, "the actual task must reach retained execution history")require.Len(t, snapshot.PVEBackups.BackupTasks, 1)if i == 0 {before = snapshot.PVEBackups.BackupTasks[0]+ beforePoint = taskPoint} else if i == 1 {require.Equal(t, before, snapshot.PVEBackups.BackupTasks[0], "unread task cannot refresh backup intent")+ require.Equal(t, beforePoint, taskPoint, "carried task cannot renew durable point evidence")+ coverage, err := f.store.BackupHistoryCoverage(context.Background(), now.Add(-time.Hour), time.Now().UTC())+ require.NoError(t, err)+ require.Len(t, coverage.Sources, 1)+ require.False(t, coverage.Sources[0].Complete, "malformed task reads cannot qualify report history")}require.Len(t, snapshot.PVEBackups.StorageBackups, 2)for _, archive := range snapshot.PVEBackups.StorageBackups {