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 MCP wrapper's guarded delegate in its contract

pulse-triage[bot]48bf5f522939
diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go
index 61e462c11e..5e1c888a2d 100644
--- a/internal/api/contract_test.go
+++ b/internal/api/contract_test.go
@@ -20791,7 +20791,7 @@ func TestContract_PulseMCPAdapterProjectsAgentCapabilitiesManifest(t *testing.T)
`Manifest: manifest`,
`agentcapabilities.FetchManifest(context.Background(), manifestClient, *baseURL)`,
`agentcapabilities.StreamMCPEventNotifications(ctx, pulseMCPAgentSurfaceHTTPDoer{}, s.baseURL, path, s.token, func(notification agentcapabilities.JSONRPCRequest) error`,
- `agentcapabilities.DoAgentHTTPRequest(client, req)`,
+ `agentcapabilities.DoAgentHTTPRequest(d.next, req)`,
}
for _, fragment := range required {
if !strings.Contains(src, fragment) {