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

推荐订阅源

量子位
Stack Overflow Blog
Stack Overflow Blog
人人都是产品经理
人人都是产品经理
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Y
Y Combinator Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
博客园 - 司徒正美
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
L
LangChain 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: tighten qa and memory array assertions · openclaw/o...
shakkernerd · 2026-05-09 · via Recent Commits to openclaw:main

File tree

  • extensions

    • anthropic

    • memory-wiki/src

    • qa-lab/src

    • qa-matrix/src/runners/contract

  • src/music-generation

Original file line numberDiff line numberDiff line change

@@ -122,7 +122,7 @@ describe("anthropic cli migration", () => {

122122

},

123123

});

124124
125-

expect(result.profiles).toEqual([]);

125+

expect(result.profiles).toStrictEqual([]);

126126

expect(result.defaultModel).toBe("anthropic/claude-opus-4-7");

127127

expect(result.configPatch).toEqual({

128128

agents: {

Original file line numberDiff line numberDiff line change

@@ -127,7 +127,7 @@ describe("anthropic provider policy public artifact", () => {

127127

if (!profile) {

128128

throw new Error("Expected Anthropic policy profile");

129129

}

130-

expect(collectLegacyExtendedLevelIds(profile.levels)).toEqual([]);

130+

expect(collectLegacyExtendedLevelIds(profile.levels)).toStrictEqual([]);

131131

});

132132
133133

it("does not expose Anthropic thinking profiles for unrelated providers", () => {

Original file line numberDiff line numberDiff line change

@@ -481,7 +481,7 @@ cli note

481481

});

482482

expect(dryRun.dryRun).toBe(true);

483483

expect(dryRun.createdCount).toBe(1);

484-

await expect(fs.readdir(path.join(rootDir, "sources"))).resolves.toEqual([]);

484+

await expect(fs.readdir(path.join(rootDir, "sources"))).resolves.toStrictEqual([]);

485485
486486

const applied = await runWikiChatGptImport({

487487

config,

@@ -522,6 +522,6 @@ cli note

522522

fs

523523

.readdir(path.join(rootDir, "sources"))

524524

.then((entries) => entries.filter((entry) => entry !== "index.md")),

525-

).resolves.toEqual([]);

525+

).resolves.toStrictEqual([]);

526526

});

527527

});

Original file line numberDiff line numberDiff line change

@@ -496,7 +496,7 @@ describe("compileMemoryWikiVault", () => {

496496

await compileMemoryWikiVault(config);

497497

const second = await compileMemoryWikiVault(config);

498498
499-

expect(second.updatedFiles).toEqual([]);

499+

expect(second.updatedFiles).toStrictEqual([]);

500500

await expect(fs.readFile(path.join(rootDir, "entities", "beta.md"), "utf8")).resolves.toContain(

501501

"[Gamma](concepts/gamma.md)",

502502

);

Original file line numberDiff line numberDiff line change

@@ -29,7 +29,7 @@ describe("buildWikiPromptSection", () => {

2929

});

3030
3131

it("stays empty when no wiki or memory-adjacent tools are registered", () => {

32-

expect(buildWikiPromptSection({ availableTools: new Set(["web_search"]) })).toEqual([]);

32+

expect(buildWikiPromptSection({ availableTools: new Set(["web_search"]) })).toStrictEqual([]);

3333

});

3434
3535

it("can append a compact compiled digest snapshot when enabled", async () => {

@@ -97,7 +97,7 @@ describe("buildWikiPromptSection", () => {

9797

}),

9898

);

9999
100-

expect(builder({ availableTools: new Set(["web_search"]) })).toEqual([]);

100+

expect(builder({ availableTools: new Set(["web_search"]) })).toStrictEqual([]);

101101

});

102102
103103

it("stabilizes digest prompt ordering for prompt-cache-friendly output", async () => {

Original file line numberDiff line numberDiff line change

@@ -198,7 +198,7 @@ describe("qa agentic parity report", () => {

198198

const regressionFailures = comparison.failures.filter((failure) =>

199199

failure.includes("completion rate"),

200200

);

201-

expect(regressionFailures).toEqual([]);

201+

expect(regressionFailures).toStrictEqual([]);

202202

});

203203
204204

it("fails the parity gate when required parity scenarios are missing on both sides", () => {

Original file line numberDiff line numberDiff line change

@@ -11,7 +11,7 @@ describe("qa coverage report", () => {

1111

expect(inventory.primaryCoverageIdCount).toBeGreaterThan(0);

1212

expect(inventory.secondaryCoverageIdCount).toBeGreaterThan(0);

1313

expect(inventory.overlappingCoverage.length).toBeGreaterThan(0);

14-

expect(inventory.missingCoverage).toEqual([]);

14+

expect(inventory.missingCoverage).toStrictEqual([]);

1515

expect(inventory.byTheme.memory.map((feature) => feature.id)).toContain("memory.recall");

1616

expect(inventory.bySurface.memory.map((feature) => feature.id)).toContain("memory.recall");

1717

});

Original file line numberDiff line numberDiff line change

@@ -75,7 +75,7 @@ describe("buildQaRuntimeEnv", () => {

7575

}),

7676

).rejects.toThrow("node missing");

7777
78-

await expect(readdir(tempParent)).resolves.toEqual([]);

78+

await expect(readdir(tempParent)).resolves.toStrictEqual([]);

7979

});

8080
8181

it("keeps the slow-reply QA opt-out enabled under fast mode", () => {

Original file line numberDiff line numberDiff line change

@@ -83,7 +83,7 @@ describe("qa multipass runtime", () => {

8383

});

8484
8585

expect(plan.outputDir).toBe(outputDir);

86-

expect(plan.scenarioIds).toEqual([]);

86+

expect(plan.scenarioIds).toStrictEqual([]);

8787

expect(plan.qaCommand).not.toContain("--scenario");

8888

expect(plan.guestOutputDir).toBe("/workspace/openclaw-host/.artifacts/qa-e2e/multipass-test");

8989

expect(plan.reportPath).toBe(path.join(outputDir, "qa-suite-report.md"));

@@ -251,7 +251,7 @@ describe("qa multipass runtime", () => {

251251

const tempEntries = fs

252252

.readdirSync(resolvePreferredOpenClawTmpDir())

253253

.filter((entry) => entry.startsWith(path.basename(expectedTransferDir)));

254-

expect(tempEntries).toEqual([]);

254+

expect(tempEntries).toStrictEqual([]);

255255

fs.rmSync(outputDir, { recursive: true, force: true });

256256

});

257257
Original file line numberDiff line numberDiff line change

@@ -32,15 +32,15 @@ describe("qa scenario catalog", () => {

3232

pack.scenarios

3333

.filter((scenario) => scenario.execution?.kind !== "flow")

3434

.map((scenario) => scenario.id),

35-

).toEqual([]);

35+

).toStrictEqual([]);

3636

expect(

3737

pack.scenarios.filter((scenario) => (scenario.execution.flow?.steps.length ?? 0) > 0),

38-

).not.toEqual([]);

38+

).not.toStrictEqual([]);

3939

expect(

4040

pack.scenarios

4141

.filter((scenario) => !(scenario.coverage?.primary.length ?? 0))

4242

.map((scenario) => scenario.id),

43-

).toEqual([]);

43+

).toStrictEqual([]);

4444

expect(readQaScenarioById("memory-recall").coverage?.primary).toContain("memory.recall");

4545

});

4646

@@ -53,7 +53,7 @@ describe("qa scenario catalog", () => {

5353

expect(scenarioIds).toContain("subagent-fanout-synthesis");

5454

expect(

5555

QA_AGENTIC_PARITY_SCENARIO_IDS.filter((scenarioId) => !scenarioIds.includes(scenarioId)),

56-

).toEqual([]);

56+

).toStrictEqual([]);

5757

});

5858
5959

it("loads scenario-specific execution config from per-scenario markdown", () => {