Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(mcp): avoid unrelated validator compilation in availability checks

morluto9a44fea3479a
diff --git a/tests/boundary/mcp/serverIdentity.test.ts b/tests/boundary/mcp/serverIdentity.test.ts
index 6eb431f9f..0d3ed9e32 100644
--- a/tests/boundary/mcp/serverIdentity.test.ts
+++ b/tests/boundary/mcp/serverIdentity.test.ts
@@ -409,7 +409,11 @@ describe("active-target availability over MCP", () => {
const session = createTestBinarySession(
availabilityProvider(["inspect_macho", "inspect_artifact"]),
);
- const server = createServer({ kind: "session", session });
+ // Availability does not depend on compiling every advertised output schema.
+ const server = createServer(
+ { kind: "session", session },
+ { environment: { REA_MCP_OUTPUT_SCHEMA_PROFILE: "off" } },
+ );
const client = new Client({ name: "availability-test", version: "1" });
const [clientTransport, serverTransport] =
InMemoryTransport.createLinkedPair();