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

推荐订阅源

爱范儿
爱范儿
MyScale Blog
MyScale Blog
Recent Announcements
Recent Announcements
N
Netflix TechBlog - Medium
GbyAI
GbyAI
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
Martin Fowler
Martin Fowler
腾讯CDC
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
WordPress大学
WordPress大学
P
Proofpoint News Feed
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator 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 provider empty array assertions · openclaw/...
shakkernerd · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -263,7 +263,7 @@ describe("bedrock mantle discovery", () => {

263263

fetchFn: mockFetch as unknown as typeof fetch,

264264

});

265265
266-

expect(models).toEqual([]);

266+

expect(models).toStrictEqual([]);

267267

});

268268
269269

it("returns empty array on network error", async () => {

@@ -275,7 +275,7 @@ describe("bedrock mantle discovery", () => {

275275

fetchFn: mockFetch as unknown as typeof fetch,

276276

});

277277
278-

expect(models).toEqual([]);

278+

expect(models).toStrictEqual([]);

279279

});

280280
281281

it("filters out models with empty IDs", async () => {

Original file line numberDiff line numberDiff line change

@@ -11,7 +11,7 @@ describe("deepinfra augmentModelCatalog", () => {

1111
1212

const entries = await provider.augmentModelCatalog?.({} as never);

1313
14-

expect(entries).toEqual([]);

14+

expect(entries).toStrictEqual([]);

1515

});

1616
1717

it("returns configured catalog entries from config", async () => {

Original file line numberDiff line numberDiff line change

@@ -66,7 +66,7 @@ describe("discoverDeepInfraModels", () => {

6666
6767

expect(DEEPINFRA_DEFAULT_MODEL_REF).toBe("deepinfra/deepseek-ai/DeepSeek-V3.2");

6868

expect(modelIds).toContain("deepseek-ai/DeepSeek-V3.2");

69-

expect(streamingUsageIncompatibleModelIds).toEqual([]);

69+

expect(streamingUsageIncompatibleModelIds).toStrictEqual([]);

7070

});

7171
7272

it("fetches DeepInfra's curated LLM catalog and parses model metadata", async () => {

Original file line numberDiff line numberDiff line change

@@ -128,8 +128,8 @@ describe("Gemini embedding provider", () => {

128128

fallback: "none",

129129

});

130130
131-

await expect(provider.embedQuery(" ")).resolves.toEqual([]);

132-

await expect(provider.embedBatch([])).resolves.toEqual([]);

131+

await expect(provider.embedQuery(" ")).resolves.toStrictEqual([]);

132+

await expect(provider.embedBatch([])).resolves.toStrictEqual([]);

133133

await expect(provider.embedQuery("test query")).resolves.toEqual([0.6, 0.8, 0]);

134134
135135

const structuredBatch = await provider.embedBatchInputs?.([

Original file line numberDiff line numberDiff line change

@@ -138,7 +138,7 @@ describe("google provider plugin hooks", () => {

138138

provider: "google-gemini-cli",

139139

tools: [tool],

140140

} as never),

141-

).toEqual([]);

141+

).toStrictEqual([]);

142142

});

143143
144144

it("wires google-thinking stream hooks for direct and Gemini CLI providers", async () => {

Original file line numberDiff line numberDiff line change

@@ -731,7 +731,7 @@ describe("convertToOllamaMessages", () => {

731731
732732

it("handles empty messages array", () => {

733733

const result = convertToOllamaMessages([]);

734-

expect(result).toEqual([]);

734+

expect(result).toStrictEqual([]);

735735

});

736736

});

737737

@@ -1285,9 +1285,9 @@ describe("createOllamaStreamFn streaming events", () => {

12851285
12861286

// start/text_start carry empty partials (before any content accumulates)

12871287

const startEvent = events.find((e) => e.type === "start");

1288-

expect(startEvent?.partial.content).toEqual([]);

1288+

expect(startEvent?.partial.content).toStrictEqual([]);

12891289

const textStartEvent = events.find((e) => e.type === "text_start");

1290-

expect(textStartEvent?.partial.content).toEqual([]);

1290+

expect(textStartEvent?.partial.content).toStrictEqual([]);

12911291
12921292

// text_delta partials accumulate content progressively

12931293

expect(deltas[0].partial.content).toEqual([{ type: "text", text: "Hello" }]);

Original file line numberDiff line numberDiff line change

@@ -386,7 +386,7 @@ describe("openai plugin", () => {

386386

} as never,

387387

tools: [noParamsTool],

388388

} as never),

389-

).toEqual([]);

389+

).toStrictEqual([]);

390390

expect(

391391

codexProvider.inspectToolSchemas?.({

392392

provider: "openai-codex",

@@ -400,7 +400,7 @@ describe("openai plugin", () => {

400400

} as never,

401401

tools: [noParamsTool],

402402

} as never),

403-

).toEqual([]);

403+

).toStrictEqual([]);

404404

});

405405
406406

it("registers GPT-5 system prompt contributions when the friendly overlay is enabled", async () => {

Original file line numberDiff line numberDiff line change

@@ -34,6 +34,6 @@ describe("opencode provider policy public artifact", () => {

3434

levels: expect.arrayContaining([{ id: "adaptive" }]),

3535

defaultLevel: "adaptive",

3636

});

37-

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

37+

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

3838

});

3939

});

Original file line numberDiff line numberDiff line change

@@ -59,7 +59,7 @@ describe("vercel ai gateway thinking profile", () => {

5959

levels: expect.arrayContaining([{ id: "adaptive" }]),

6060

defaultLevel: "adaptive",

6161

});

62-

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

62+

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

6363

});

6464
6565

it("falls through for unsupported OpenAI or untrusted namespaced refs", async () => {

Original file line numberDiff line numberDiff line change

@@ -385,7 +385,7 @@ describe("xai web search response parsing", () => {

385385

],

386386

});

387387

expect(result.text).toBe("hello from output");

388-

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

388+

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

389389

});

390390
391391

it("extracts url_citation annotations from content blocks", () => {

@@ -414,13 +414,13 @@ describe("xai web search response parsing", () => {

414414

it("falls back to deprecated output_text", () => {

415415

const result = extractXaiWebSearchContent({ output_text: "hello from output_text" });

416416

expect(result.text).toBe("hello from output_text");

417-

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

417+

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

418418

});

419419
420420

it("returns undefined text when no content found", () => {

421421

const result = extractXaiWebSearchContent({});

422422

expect(result.text).toBeUndefined();

423-

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

423+

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

424424

});

425425
426426

it("extracts output_text blocks directly in output array", () => {