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

推荐订阅源

S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 【当耐特】
月光博客
月光博客
Vercel News
Vercel News
D
Docker
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
雷峰网
雷峰网
博客园 - 聂微东
小众软件
小众软件
Y
Y Combinator Blog
腾讯CDC
L
LangChain Blog
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss

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: tighten qa cli assertions · openclaw/openclaw@94a7dad
steipete · 2026-05-11 · via Recent Commits to openclaw:main

@@ -133,15 +133,12 @@ describe("qa cli registration", () => {

133133

if (!qa) {

134134

throw new Error("expected qa command");

135135

}

136-

expect(qa.commands.map((command) => command.name())).toEqual(

137-

expect.arrayContaining([

138-

TEST_QA_RUNNER.commandName,

139-

"telegram",

140-

"mantis",

141-

"credentials",

142-

"coverage",

143-

]),

144-

);

136+

const commandNames = qa.commands.map((command) => command.name());

137+

expect(commandNames).toContain(TEST_QA_RUNNER.commandName);

138+

expect(commandNames).toContain("telegram");

139+

expect(commandNames).toContain("mantis");

140+

expect(commandNames).toContain("credentials");

141+

expect(commandNames).toContain("coverage");

145142

});

146143147144

it("routes mantis discord-smoke flags into the mantis runtime command", async () => {

@@ -443,16 +440,16 @@ describe("qa cli registration", () => {

443440

const telegram = qa?.commands.find((command) => command.name() === "telegram");

444441

const optionNames = telegram?.options.map((option) => option.long) ?? [];

445442446-

expect(optionNames).toEqual(

447-

expect.arrayContaining(["--credential-source", "--credential-role", "--list-scenarios"]),

448-

);

443+

expect(optionNames).toContain("--credential-source");

444+

expect(optionNames).toContain("--credential-role");

445+

expect(optionNames).toContain("--list-scenarios");

449446

});

450447451448

it("registers standalone provider server commands from the provider registry", async () => {

452449

const qa = program.commands.find((command) => command.name() === "qa");

453-

expect(qa?.commands.map((command) => command.name())).toEqual(

454-

expect.arrayContaining(["mock-openai", "aimock"]),

455-

);

450+

const commandNames = qa?.commands.map((command) => command.name()) ?? [];

451+

expect(commandNames).toContain("mock-openai");

452+

expect(commandNames).toContain("aimock");

456453457454

await program.parseAsync(["node", "openclaw", "qa", "aimock", "--port", "44080"]);

458455

@@ -504,31 +501,22 @@ describe("qa cli registration", () => {

504501

it("forwards --list-scenarios for telegram runs", async () => {

505502

await program.parseAsync(["node", "openclaw", "qa", "telegram", "--list-scenarios"]);

506503507-

expect(runQaTelegramCommand).toHaveBeenCalledWith(

508-

expect.objectContaining({

509-

listScenarios: true,

510-

}),

511-

);

504+

const [options] = runQaTelegramCommand.mock.calls[0] ?? [];

505+

expect(options.listScenarios).toBe(true);

512506

});

513507514508

it("forwards --allow-failures for telegram runs", async () => {

515509

await program.parseAsync(["node", "openclaw", "qa", "telegram", "--allow-failures"]);

516510517-

expect(runQaTelegramCommand).toHaveBeenCalledWith(

518-

expect.objectContaining({

519-

allowFailures: true,

520-

}),

521-

);

511+

const [options] = runQaTelegramCommand.mock.calls[0] ?? [];

512+

expect(options.allowFailures).toBe(true);

522513

});

523514524515

it("forwards --allow-failures for suite runs", async () => {

525516

await program.parseAsync(["node", "openclaw", "qa", "suite", "--allow-failures"]);

526517527-

expect(runQaSuiteCommand).toHaveBeenCalledWith(

528-

expect.objectContaining({

529-

allowFailures: true,

530-

}),

531-

);

518+

const [options] = runQaSuiteCommand.mock.calls[0] ?? [];

519+

expect(options.allowFailures).toBe(true);

532520

});

533521534522

it("routes credential add flags into the qa runtime command", async () => {