Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Match the execution-history snapshot to JSON map-key ordering

pulse-triage[bot]ae1a98e84d56
diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go
index 6457fc9439..7b2654e383 100644
--- a/internal/api/contract_test.go
+++ b/internal/api/contract_test.go
@@ -28815,5 +28815,5 @@ func TestContract_AgentRecentChangesRunbookProjection(t *testing.T) {
if err != nil {
t.Fatal(err)
}
- assertJSONSnapshot(t, got, `{"reason":"Runbook executed (partial)","metadata":{"alert_identifier":"alert-1","runbook_id":"rb-1","outcome":"partial","automatic":false},"commandRedacted":true}`)
+ assertJSONSnapshot(t, got, `{"commandRedacted":true,"metadata":{"alert_identifier":"alert-1","automatic":false,"outcome":"partial","runbook_id":"rb-1"},"reason":"Runbook executed (partial)"}`)
}