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.

Supply the required actor in the MCP disclosure fixture

pulse-triage[bot]7ea6a871c8cc
diff --git a/cmd/pulse-mcp/action_disclosure_test.go b/cmd/pulse-mcp/action_disclosure_test.go
index 004b766508..633fee3101 100644
--- a/cmd/pulse-mcp/action_disclosure_test.go
+++ b/cmd/pulse-mcp/action_disclosure_test.go
@@ -79,7 +79,7 @@ func TestServer_ActionDisclosureThroughRealAgentHandlers(t *testing.T) {
}
record := unified.ActionAuditRecord{
ID: "mcp-action", CreatedAt: now, UpdatedAt: now, State: unified.ActionStateFailed,
- Request: unified.ActionRequest{ResourceID: "vm:101", CapabilityName: "restart", Params: map[string]any{"command": "printf " + privateDetail}},
+ Request: unified.ActionRequest{ResourceID: "vm:101", CapabilityName: "restart", RequestedBy: "fixture-operator", Params: map[string]any{"command": "printf " + privateDetail}},
Result: &unified.ExecutionResult{ErrorMessage: "plan_drift: " + privateDetail, ActionResultV2: &truth},
}
if err := store.RecordActionAudit(record); err != nil {