

























@@ -142,7 +142,7 @@ function startGateway(params) {
142142 ...process.env,
143143 ...params.env,
144144OPENCLAW_NO_ONBOARD: "1",
145-OPENCLAW_SKIP_CHANNELS: "1",
145+...(params.skipChannels ? { OPENCLAW_SKIP_CHANNELS: "1" } : {}),
146146},
147147stdio: ["ignore", log, log],
148148detached: false,
@@ -289,7 +289,13 @@ async function smokePlugin(pluginId, pluginDir, requiresConfig, pluginIndex) {
289289writeConfig(config);
290290291291const logPath = `/tmp/openclaw-plugin-runtime-${pluginIndex}-${pluginId}.log`;
292-const child = startGateway({ entrypoint, port, logPath, env: process.env });
292+const child = startGateway({
293+ entrypoint,
294+ port,
295+ logPath,
296+env: process.env,
297+skipChannels: plan.channels.length === 0,
298+});
293299try {
294300await waitForReady({ child, port, logPath });
295301await assertBaseGatewayProbes({ entrypoint, port, env: process.env });
@@ -537,7 +543,7 @@ async function smokeTtsGlobalDisable(pluginId, pluginDir, provider, pluginIndex)
537543env,
538544);
539545const logPath = `/tmp/openclaw-plugin-runtime-${pluginIndex}-${pluginId}-tts-disabled.log`;
540-const child = startGateway({ entrypoint, port, logPath, env });
546+const child = startGateway({ entrypoint, port, logPath, env, skipChannels: true });
541547try {
542548await waitForReady({ child, port, logPath });
543549await assertBaseGatewayProbes({ entrypoint, port, env });
@@ -600,7 +606,7 @@ async function smokeOpenAiTts(pluginIndex) {
600606env,
601607);
602608const logPath = `/tmp/openclaw-plugin-runtime-${pluginIndex}-openai-tts-live.log`;
603-const child = startGateway({ entrypoint, port, logPath, env });
609+const child = startGateway({ entrypoint, port, logPath, env, skipChannels: true });
604610try {
605611await waitForReady({ child, port, logPath });
606612await assertBaseGatewayProbes({ entrypoint, port, env });
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。