fix: retire idle bundled MCP runtimes

This commit is contained in:
Peter Steinberger
2026-04-25 07:49:05 +01:00
parent 66e66f19c6
commit b34ece705f
21 changed files with 358 additions and 18 deletions

View File

@@ -34,6 +34,7 @@ describe("generateSlugViaLLM", () => {
expect(runEmbeddedPiAgentMock.mock.calls[0]?.[0]).toEqual(
expect.objectContaining({
timeoutMs: 15_000,
cleanupBundleMcpOnRunEnd: true,
}),
);
});

View File

@@ -75,6 +75,7 @@ Reply with ONLY the slug, nothing else. Examples: "vendor-pitch", "api-design",
model,
timeoutMs,
runId: `slug-gen-${Date.now()}`,
cleanupBundleMcpOnRunEnd: true,
});
// Extract text from payloads