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
Preserve the existing empty timeline envelope in read proof
pulse-triage[bot]27fad4c41fbb
diff --git a/internal/api/resource_read_authority_test.go b/internal/api/resource_read_authority_test.goindex 6ccba7491f..f273f1719b 100644--- a/internal/api/resource_read_authority_test.go+++ b/internal/api/resource_read_authority_test.go@@ -188,8 +188,14 @@ func TestResourceReadsStoreOnlyEntrancesKeepAdmission(t *testing.T) {f.current(t, "", "header", http.StatusUnauthorized)f.current(t, snapshotAuthorityToken, "header", http.StatusForbidden)wire := f.current(t, snapshotAuthorityControl, "header", http.StatusOK)- if strings.Contains(path, "timeline") && (!strings.Contains(wire.Body, `"recentChanges":[]`) || !strings.Contains(wire.Body, `"count":0`)) {- t.Fatalf("timeline lost empty evidence: %s", wire.Body)+ if strings.Contains(path, "timeline") {+ var timeline struct {+ Count int `json:"count"`+ RecentChanges []json.RawMessage `json:"recentChanges"`+ }+ if json.Unmarshal([]byte(wire.Body), &timeline) != nil || timeline.Count != 0 || len(timeline.RecentChanges) != 0 || !strings.Contains(wire.Body, `"recentChanges":`) {+ t.Fatalf("timeline lost empty evidence: %s", wire.Body)+ }}})}