From 3ee6ff43c1696a5a5269bd4aa5de72f7e5f40627 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 13 Oct 2026 04:36:45 +0800 Subject: [PATCH] test(mcp): preserve coverage in unchanged function fixtures Carry the source relationship coverage into the synthetic counterpart used by public function comparison and reconstruction verification. Keep missing coverage unresolved rather than weakening comparison completeness. --- tests/boundary/mcp/functionComparisonMcp.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/boundary/mcp/functionComparisonMcp.test.ts b/tests/boundary/mcp/functionComparisonMcp.test.ts index 429bca334..8ec10f402 100644 --- a/tests/boundary/mcp/functionComparisonMcp.test.ts +++ b/tests/boundary/mcp/functionComparisonMcp.test.ts @@ -37,6 +37,9 @@ describe("function comparison reconstruction MCP integration", () => { result: left.normalized_result, confidence: left.confidence, authority: left.authority, + ...(left.relationship_coverage === null + ? {} + : { relationshipCoverage: left.relationship_coverage }), }, ); const server = createServer({ kind: "session", session });