Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(mcp-host): derive the ready fixture from the real producer status shape [R4-M9]
Alfredo Lopeza8ae99b61099
diff --git a/mcp-host/src/__tests__/main.mcpInitialization.test.ts b/mcp-host/src/__tests__/main.mcpInitialization.test.tsindex c90bad869..02e9e9c75 100644--- a/mcp-host/src/__tests__/main.mcpInitialization.test.ts+++ b/mcp-host/src/__tests__/main.mcpInitialization.test.ts@@ -22,7 +22,12 @@ function readyServer(overrides: Partial<McpServerInfo> = {}): McpServerInfo {transport: { type: 'streamableHttp', url: 'http://secured-server.test/mcp' },auth: { type: 'bearer', secretRef: 'secured-server-auth' },enabled: true,- status: { deployed: true, ready: true },+ // Mirror the real producer contract: HCC's reconciler.getStatus() (surfaced+ // through k8sClient.toServerInfo) always stamps `authoritative` explicitly —+ // a ready, identity-matched snapshot carries authoritative: true. The legacy+ // shape that omitted it is never emitted for a live server, so the default+ // fixture must carry it too.+ status: { deployed: true, ready: true, authoritative: true },...overrides,}}