From f404ff32d527d2cbcccd7dc1beb30a0d024d6c0d Mon Sep 17 00:00:00 2001 From: Chris Kimpton Date: Tue, 17 Mar 2026 09:08:08 +0000 Subject: [PATCH] tests: add missing useNoBundledPlugins() to bundle MCP loader test The "treats bundle MCP as a supported bundle surface" test was missing the useNoBundledPlugins() call present in all surrounding bundle plugin tests. Without it, loadOpenClawPlugins() scanned and loaded the full real bundled plugins directory on every call (with cache:false), causing excessive memory pressure and an OOM crash on Linux CI, which manifested as the test timing out at 120s. Co-Authored-By: Claude Sonnet 4.6 --- src/plugins/loader.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/loader.test.ts b/src/plugins/loader.test.ts index a1e25c0ea3e..151a1ddaf59 100644 --- a/src/plugins/loader.test.ts +++ b/src/plugins/loader.test.ts @@ -421,6 +421,7 @@ describe("bundle plugins", () => { }); it("treats bundle MCP as a supported bundle surface", () => { + useNoBundledPlugins(); const workspaceDir = makeTempDir(); const bundleRoot = path.join(workspaceDir, ".openclaw", "extensions", "claude-mcp"); mkdirSafe(path.join(bundleRoot, ".claude-plugin"));