From f20fc70cb4a1d9d734afbc2fe9d75f3dcf0a2130 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 29 Jul 2026 06:49:55 -0400 Subject: [PATCH] test(cli): isolate unknown-command process validation (#115848) --- src/cli/help-exit.process.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/help-exit.process.test.ts b/src/cli/help-exit.process.test.ts index 0634b9801e1d..f2afdcc0b531 100644 --- a/src/cli/help-exit.process.test.ts +++ b/src/cli/help-exit.process.test.ts @@ -459,6 +459,9 @@ describe("JSON console style process output", () => { await runCliProcess({ args: ["openclaw-json-console-missing-command", modifier], config: loggingConfig, + // The fake command cannot belong to a bundled plugin. Avoid cold plugin + // discovery so this subprocess measures structured validation, not fleet load. + env: { OPENCLAW_DISABLE_BUNDLED_PLUGINS: "1" }, }); } catch (error) { failure = error as CliProcessFailure;