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

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
D
DataBreaches.Net
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
人人都是产品经理
人人都是产品经理
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
腾讯CDC
博客园_首页
The Cloudflare Blog
S
SegmentFault 最新的问题
C
Check Point Blog
美团技术团队
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale

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
feat(qa): crabline channel driver (#91502) · openclaw/ope...
RomneyDa · 2026-06-23 · via Recent Commits to openclaw:main

@@ -340,6 +340,8 @@ describe("qa cli runtime", () => {

340340

repoRoot: process.cwd(),

341341

outputDir: path.join(process.cwd(), ".artifacts", "qa-e2e", "scenario-test"),

342342

transportId: "qa-channel",

343+

channelDriver: undefined,

344+

channelDriverSelection: undefined,

343345

primaryModel: "mock-openai/gpt-5.5",

344346

alternateModel: undefined,

345347

fastMode: undefined,

@@ -431,6 +433,7 @@ describe("qa cli runtime", () => {

431433

profile: "smoke-ci",

432434

surface: "agent-runtime-and-provider-execution",

433435

category: "agent-runtime-and-provider-execution.agent-turn-execution",

436+

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

434437

transportId: "qa-channel",

435438

fastMode: true,

436439

concurrency: 2,

@@ -442,12 +445,16 @@ describe("qa cli runtime", () => {

442445

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

443446

outputDir: path.resolve("/tmp/openclaw-repo", ".artifacts/qa-e2e/smoke-ci"),

444447

transportId: "qa-channel",

448+

channelDriver: "crabline",

445449

providerMode: "mock-openai",

446450

fastMode: true,

447451

concurrency: 2,

448452

});

449-

expect(suiteArgs.scenarioIds).toEqual(expect.arrayContaining(["dm-chat-baseline"]));

450-

expect(suiteArgs.scenarioIds).not.toContain("thinking-slash-model-remap");

453+

expect(suiteArgs.channelDriverSelection).toMatchObject({

454+

channel: "telegram",

455+

channelDriver: "crabline",

456+

});

457+

expect(suiteArgs.scenarioIds).toEqual(["dm-chat-baseline"]);

451458

expect(process.env.OPENCLAW_QA_PROFILE).toBe("release");

452459

const evidence = JSON.parse(await fs.readFile(suiteEvidencePath, "utf8")) as {

453460

evidenceMode?: unknown;

@@ -493,6 +500,20 @@ describe("qa cli runtime", () => {

493500

}

494501

});

495502503+

it("passes non-Crabline profile channel drivers as declarative suite metadata", async () => {

504+

await runQaProfileCommand({

505+

repoRoot: "/tmp/openclaw-repo",

506+

profile: "release",

507+

surface: "agent-runtime-and-provider-execution",

508+

category: "agent-runtime-and-provider-execution.agent-turn-execution",

509+

providerMode: "mock-openai",

510+

});

511+512+

const suiteArgs = mockFirstObjectArg(runQaSuite);

513+

expect(suiteArgs.channelDriver).toBe("live");

514+

expect(suiteArgs.channelDriverSelection).toBeUndefined();

515+

});

516+496517

it("rejects qa profile runs that do not match taxonomy categories", async () => {

497518

await expect(

498519

runQaProfileCommand({

@@ -506,6 +527,20 @@ describe("qa cli runtime", () => {

506527

expect(runQaSuite).not.toHaveBeenCalled();

507528

});

508529530+

it("rejects qa profile scenario filters outside the selected taxonomy categories", async () => {

531+

await expect(

532+

runQaProfileCommand({

533+

repoRoot: "/tmp/openclaw-repo",

534+

profile: "smoke-ci",

535+

category: "agent-runtime-and-provider-execution.agent-turn-execution",

536+

scenarioIds: ["not-a-real-scenario"],

537+

}),

538+

).rejects.toThrow(

539+

"qa run did not find taxonomy scenarios for --qa-profile smoke-ci --category agent-runtime-and-provider-execution.agent-turn-execution --scenario not-a-real-scenario.",

540+

);

541+

expect(runQaSuite).not.toHaveBeenCalled();

542+

});

543+509544

it("rejects qa profile runs whose profile is not declared in taxonomy.yaml", async () => {

510545

await expect(

511546

runQaProfileCommand({

@@ -532,6 +567,8 @@ describe("qa cli runtime", () => {

532567

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

533568

outputDir: path.resolve("/tmp/openclaw-repo", ".artifacts/qa/frontier"),

534569

transportId: "qa-channel",

570+

channelDriver: undefined,

571+

channelDriverSelection: undefined,

535572

providerMode: "live-frontier",

536573

primaryModel: "openai/gpt-5.5",

537574

alternateModel: "anthropic/claude-sonnet-4-6",

@@ -541,6 +578,48 @@ describe("qa cli runtime", () => {

541578

});

542579

});

543580581+

it("uses the Crabline default channel when selected scenarios do not request one", async () => {

582+

await runQaSuiteCommand({

583+

repoRoot: "/tmp/openclaw-repo",

584+

outputDir: ".artifacts/qa/multipass-telegram",

585+

providerMode: "mock-openai",

586+

channelDriver: "crabline",

587+

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

588+

});

589+590+

expect(runQaSuite).toHaveBeenCalledWith({

591+

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

592+

outputDir: path.resolve("/tmp/openclaw-repo", ".artifacts/qa/multipass-telegram"),

593+

transportId: "qa-channel",

594+

channelDriver: "crabline",

595+

channelDriverSelection: {

596+

capabilityMatrixPath: "crabline-fake-provider-capabilities.json",

597+

channel: "telegram",

598+

channelDriver: "crabline",

599+

smokeArtifactPath: "crabline-fake-provider-smoke.json",

600+

},

601+

providerMode: "mock-openai",

602+

primaryModel: undefined,

603+

alternateModel: undefined,

604+

fastMode: undefined,

605+

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

606+

});

607+

});

608+609+

it("keeps Crabline channel-driver independent from the VM runner", async () => {

610+

await expect(

611+

runQaSuiteCommand({

612+

repoRoot: "/tmp/openclaw-repo",

613+

providerMode: "mock-openai",

614+

channelDriver: "crabline",

615+

channel: "telegram",

616+

runner: "multipass",

617+

}),

618+

).rejects.toThrow("--channel-driver crabline requires --runner host.");

619+

expect(runQaSuite).not.toHaveBeenCalled();

620+

expect(runQaMultipass).not.toHaveBeenCalled();

621+

});

622+544623

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

545624

await runQaSuiteCommand({

546625

repoRoot: "/tmp/openclaw-repo",

@@ -553,6 +632,8 @@ describe("qa cli runtime", () => {

553632

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

554633

outputDir: undefined,

555634

transportId: "qa-channel",

635+

channelDriver: undefined,

636+

channelDriverSelection: undefined,

556637

providerMode: "mock-openai",

557638

primaryModel: undefined,

558639

alternateModel: undefined,

@@ -574,6 +655,8 @@ describe("qa cli runtime", () => {

574655

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

575656

outputDir: undefined,

576657

transportId: "qa-channel",

658+

channelDriver: undefined,

659+

channelDriverSelection: undefined,

577660

providerMode: "mock-openai",

578661

primaryModel: undefined,

579662

alternateModel: undefined,

@@ -624,6 +707,8 @@ describe("qa cli runtime", () => {

624707

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

625708

outputDir: undefined,

626709

transportId: "qa-channel",

710+

channelDriver: undefined,

711+

channelDriverSelection: undefined,

627712

providerMode: "mock-openai",

628713

primaryModel: undefined,

629714

alternateModel: undefined,

@@ -2020,6 +2105,8 @@ describe("qa cli runtime", () => {

20202105

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

20212106

outputDir: undefined,

20222107

transportId: "qa-channel",

2108+

channelDriver: undefined,

2109+

channelDriverSelection: undefined,

20232110

providerMode: "mock-openai",

20242111

primaryModel: "openai/gpt-5.5",

20252112

alternateModel: "anthropic/claude-opus-4-8",