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

推荐订阅源

腾讯CDC
The Cloudflare Blog
IT之家
IT之家
V
V2EX
雷峰网
雷峰网
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
A
About on SuperTechFans
B
Blog
月光博客
月光博客
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI

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 plugin contract empty array assertions · op...
shakkernerd · 2026-05-09 · via Recent Commits to openclaw:main

@@ -395,13 +395,13 @@ function sourceMentionsIdentifier(source: string, name: string): boolean {

395395

function expectSourceMentions(subpath: string, names: readonly string[]) {

396396

const source = readPluginSdkSource(subpath);

397397

const missing = names.filter((name) => !sourceMentionsIdentifier(source, name));

398-

expect(missing, `${subpath} missing exports`).toEqual([]);

398+

expect(missing, `${subpath} missing exports`).toStrictEqual([]);

399399

}

400400401401

function expectSourceOmits(subpath: string, names: readonly string[]) {

402402

const source = readPluginSdkSource(subpath);

403403

const present = names.filter((name) => sourceMentionsIdentifier(source, name));

404-

expect(present, `${subpath} leaked exports`).toEqual([]);

404+

expect(present, `${subpath} leaked exports`).toStrictEqual([]);

405405

}

406406407407

function expectSourceContract(

@@ -411,8 +411,8 @@ function expectSourceContract(

411411

const source = readPluginSdkSource(subpath);

412412

const missing = (params.mentions ?? []).filter((name) => !sourceMentionsIdentifier(source, name));

413413

const present = (params.omits ?? []).filter((name) => sourceMentionsIdentifier(source, name));

414-

expect(missing, `${subpath} missing exports`).toEqual([]);

415-

expect(present, `${subpath} leaked exports`).toEqual([]);

414+

expect(missing, `${subpath} missing exports`).toStrictEqual([]);

415+

expect(present, `${subpath} leaked exports`).toStrictEqual([]);

416416

}

417417418418

function expectSourceContains(subpath: string, snippet: string) {

@@ -471,7 +471,7 @@ describe("plugin-sdk subpath exports", () => {

471471

it("keeps removed bundled-channel aliases out of the public sdk list", () => {

472472

const removedChannelAliases = new Set(["signal", "slack", "telegram", "whatsapp"]);

473473

const banned = pluginSdkSubpaths.filter((subpath) => removedChannelAliases.has(subpath));

474-

expect(banned).toEqual([]);

474+

expect(banned).toStrictEqual([]);

475475

});

476476477477

it("keeps generated bundled-channel facades out of the public sdk list", () => {

@@ -485,7 +485,7 @@ describe("plugin-sdk subpath exports", () => {

485485

isGeneratedBundledFacadeSubpath(subpath),

486486

),

487487

);

488-

expect(banned).toEqual([]);

488+

expect(banned).toStrictEqual([]);

489489

});

490490491491

it("keeps browser compatibility helper subpaths as thin facades", () => {

@@ -781,7 +781,7 @@ describe("plugin-sdk subpath exports", () => {

781781

)

782782

.toSorted();

783783784-

expect(violations).toEqual([]);

784+

expect(violations).toStrictEqual([]);

785785

});

786786787787

it("keeps the deprecated channel-runtime shim unused in repo imports", () => {

@@ -799,7 +799,7 @@ describe("plugin-sdk subpath exports", () => {

799799

"src/plugins/contracts/plugin-sdk-root-alias.test.ts",

800800

],

801801

});

802-

expect(matches).toEqual([]);

802+

expect(matches).toStrictEqual([]);

803803

});

804804805805

it("keeps deprecated comparable channel target helpers behind compatibility shims", () => {

@@ -820,7 +820,7 @@ describe("plugin-sdk subpath exports", () => {

820820

"src/plugins/contracts/plugin-sdk-subpaths.test.ts",

821821

],

822822

});

823-

expect(matches).toEqual([]);

823+

expect(matches).toStrictEqual([]);

824824

});

825825826826

it("keeps deprecated channel route key aliases behind compatibility shims", () => {

@@ -839,7 +839,7 @@ describe("plugin-sdk subpath exports", () => {

839839

"src/plugins/contracts/plugin-sdk-subpaths.test.ts",

840840

],

841841

});

842-

expect(matches).toEqual([]);

842+

expect(matches).toStrictEqual([]);

843843

});

844844845845

it("keeps removed channel-named runtime boundaries out of core imports", () => {

@@ -853,7 +853,7 @@ describe("plugin-sdk subpath exports", () => {

853853

],

854854

excludeFilesMatching: [/\.test\.ts$/u, /\.test-harness\.ts$/u],

855855

});

856-

expect(matches).toEqual([]);

856+

expect(matches).toStrictEqual([]);

857857

});

858858859859

it("exports channel runtime helpers from the dedicated subpath", () => {