惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
博客园 - Franky
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
爱范儿
爱范儿
罗磊的独立博客
博客园_首页
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
V
Visual Studio Blog
T
Tailwind CSS Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
test(plugins): add gateway gauntlet · openclaw/openclaw@a...
vincentkoc · 2026-04-29 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -206,6 +206,27 @@ describe("qa cli runtime", () => {

206206

});

207207

});

208208
209+

it("passes explicit suite plugin enablements into the host gateway run", async () => {

210+

await runQaSuiteCommand({

211+

repoRoot: "/tmp/openclaw-repo",

212+

providerMode: "mock-openai",

213+

scenarioIds: ["channel-chat-baseline"],

214+

enabledPluginIds: ["browser", "memory-core"],

215+

});

216+
217+

expect(runQaSuiteFromRuntime).toHaveBeenCalledWith({

218+

repoRoot: path.resolve("/tmp/openclaw-repo"),

219+

outputDir: undefined,

220+

transportId: "qa-channel",

221+

providerMode: "mock-openai",

222+

primaryModel: undefined,

223+

alternateModel: undefined,

224+

fastMode: undefined,

225+

scenarioIds: ["channel-chat-baseline"],

226+

enabledPluginIds: ["browser", "memory-core"],

227+

});

228+

});

229+
209230

it("drops blank suite model refs so provider defaults apply", async () => {

210231

await runQaSuiteCommand({

211232

repoRoot: "/tmp/openclaw-repo",

Original file line numberDiff line numberDiff line change

@@ -474,6 +474,7 @@ export async function runQaSuiteCommand(opts: {

474474

scenarioIds?: string[];

475475

concurrency?: number;

476476

allowFailures?: boolean;

477+

enabledPluginIds?: string[];

477478

image?: string;

478479

cpus?: number;

479480

memory?: string;

@@ -567,6 +568,7 @@ export async function runQaSuiteCommand(opts: {

567568

...(thinkingDefault ? { thinkingDefault } : {}),

568569

...(claudeCliAuthMode ? { claudeCliAuthMode } : {}),

569570

scenarioIds,

571+

...(opts.enabledPluginIds !== undefined ? { enabledPluginIds: opts.enabledPluginIds } : {}),

570572

...(opts.concurrency !== undefined

571573

? { concurrency: parseQaPositiveIntegerOption("--concurrency", opts.concurrency) }

572574

: {}),

Original file line numberDiff line numberDiff line change

@@ -37,6 +37,7 @@ async function runQaSuite(opts: {

3737

fastMode?: boolean;

3838

thinking?: string;

3939

allowFailures?: boolean;

40+

enabledPluginIds?: string[];

4041

cliAuthMode?: string;

4142

parityPack?: string;

4243

scenarioIds?: string[];

@@ -248,6 +249,12 @@ export function registerQaLabCli(program: Command) {

248249

)

249250

.option("--parity-pack <name>", 'Preset scenario pack; currently only "agentic" is supported')

250251

.option("--scenario <id>", "Run only the named QA scenario (repeatable)", collectString, [])

252+

.option(

253+

"--enable-plugin <id>",

254+

"Enable an extra bundled plugin in the QA gateway config (repeatable)",

255+

collectString,

256+

[],

257+

)

251258

.option("--concurrency <count>", "Scenario worker concurrency", (value: string) =>

252259

Number(value),

253260

)

@@ -278,6 +285,7 @@ export function registerQaLabCli(program: Command) {

278285

cliAuthMode?: string;

279286

parityPack?: string;

280287

scenario?: string[];

288+

enablePlugin?: string[];

281289

concurrency?: number;

282290

allowFailures?: boolean;

283291

fast?: boolean;

@@ -301,6 +309,7 @@ export function registerQaLabCli(program: Command) {

301309

cliAuthMode: opts.cliAuthMode,

302310

parityPack: opts.parityPack,

303311

scenarioIds: opts.scenario,

312+

enabledPluginIds: opts.enablePlugin,

304313

concurrency: opts.concurrency,

305314

allowFailures: opts.allowFailures,

306315

image: opts.image,

Original file line numberDiff line numberDiff line change

@@ -83,6 +83,7 @@ export type QaSuiteRunParams = {

8383

lab?: QaLabServerHandle;

8484

startLab?: QaSuiteStartLabFn;

8585

concurrency?: number;

86+

enabledPluginIds?: string[];

8687

controlUiEnabled?: boolean;

8788

transportReadyTimeoutMs?: number;

8889

};

@@ -433,7 +434,12 @@ export async function runQaSuite(params?: QaSuiteRunParams): Promise<QaSuiteResu

433434

primaryModel,

434435

claudeCliAuthMode: params?.claudeCliAuthMode,

435436

});

436-

const enabledPluginIds = collectQaSuitePluginIds(selectedCatalogScenarios);

437+

const enabledPluginIds = [

438+

...new Set([

439+

...collectQaSuitePluginIds(selectedCatalogScenarios),

440+

...(params?.enabledPluginIds ?? []).map((pluginId) => pluginId.trim()).filter(Boolean),

441+

]),

442+

];

437443

const gatewayConfigPatch = collectQaSuiteGatewayConfigPatch(selectedCatalogScenarios);

438444

const gatewayRuntimeOptions = collectQaSuiteGatewayRuntimeOptions(selectedCatalogScenarios);

439445

const concurrency = normalizeQaSuiteConcurrency(

@@ -553,6 +559,7 @@ export async function runQaSuite(params?: QaSuiteRunParams): Promise<QaSuiteResu

553559

thinkingDefault: params?.thinkingDefault,

554560

claudeCliAuthMode: params?.claudeCliAuthMode,

555561

scenarioIds: [scenario.id],

562+

enabledPluginIds: params?.enabledPluginIds,

556563

concurrency: 1,

557564

startLab,

558565

// Most isolated workers do not need their own Control UI proxy.

Original file line numberDiff line numberDiff line change

@@ -1544,6 +1544,7 @@

15441544

"test:perf:imports:changed": "OPENCLAW_VITEST_IMPORT_DURATIONS=1 OPENCLAW_VITEST_PRINT_IMPORT_BREAKDOWN=1 node scripts/test-projects.mjs --changed origin/main",

15451545

"test:perf:profile:main": "node scripts/run-vitest-profile.mjs main",

15461546

"test:perf:profile:runner": "node scripts/run-vitest-profile.mjs runner",

1547+

"test:plugins:gateway-gauntlet": "node scripts/check-plugin-gateway-gauntlet.mjs",

15471548

"test:sectriage": "OPENCLAW_GATEWAY_PROJECT_SHARDS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts && node scripts/run-vitest.mjs run --config test/vitest/vitest.unit.config.ts --exclude src/daemon/launchd.integration.test.ts --exclude src/process/exec.test.ts",

15481549

"test:serial": "OPENCLAW_TEST_PROJECTS_SERIAL=1 OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/test-projects.mjs",

15491550

"test:stability:gateway": "OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts src/gateway/gateway-stability.test.ts && OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.logging.config.ts src/logging/diagnostic-stability-bundle.test.ts && OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.infra.config.ts src/infra/fatal-error-hooks.test.ts",

Original file line numberDiff line numberDiff line change

@@ -163,7 +163,7 @@ function collectObservations(params) {

163163

const observations = [];

164164

for (const result of params.startup?.results ?? []) {

165165

const cpuCoreMax = result.summary?.cpuCoreRatio?.max;

166-

const wallMax = result.summary?.readyz?.max ?? result.summary?.healthz?.max;

166+

const wallMax = result.summary?.readyzMs?.max ?? result.summary?.healthzMs?.max;

167167

if (

168168

typeof cpuCoreMax === "number" &&

169169

typeof wallMax === "number" &&