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

推荐订阅源

V
V2EX
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - Franky
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
S
SegmentFault 最新的问题
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
有赞技术团队
有赞技术团队
B
Blog RSS Feed
Last Week in AI
Last Week in AI
Jina AI
Jina AI
博客园 - 司徒正美
The Cloudflare 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 plugin extension array assertions · opencla...
shakkernerd · 2026-05-09 · via Recent Commits to openclaw:main

@@ -228,15 +228,15 @@ describe("plugin contract boundary invariants", () => {

228228

}

229229

return readRepoSource(file).includes("contracts/inventory/bundled-capability-metadata");

230230

});

231-

expect(offenders).toEqual([]);

231+

expect(offenders).toStrictEqual([]);

232232

});

233233234234

it("keeps the bundled contract inventory out of non-test runtime code", () => {

235235

const files = listTsFiles("src", { excludeTests: true });

236236

const offenders = files.filter((file) => {

237237

return readRepoSource(file).includes("contracts/inventory/bundled-capability-metadata");

238238

});

239-

expect(offenders).toEqual([]);

239+

expect(offenders).toStrictEqual([]);

240240

});

241241242242

it("keeps core tests off bundled extension deep imports", () => {

@@ -246,7 +246,7 @@ describe("plugin contract boundary invariants", () => {

246246

(specifier) => !isAllowedBundledExtensionImport(specifier),

247247

);

248248

});

249-

expect(offenders).toEqual([]);

249+

expect(offenders).toStrictEqual([]);

250250

});

251251252252

it("keeps plugin contract tests off bundled path helpers unless the test is explicitly about paths", () => {

@@ -263,15 +263,15 @@ describe("plugin contract boundary invariants", () => {

263263

)

264264

);

265265

});

266-

expect(offenders).toEqual([]);

266+

expect(offenders).toStrictEqual([]);

267267

});

268268269269

it("keeps channel production code off bundled-plugin-metadata helpers", () => {

270270

const files = listTsFiles("src/channels", { excludeTests: true });

271271

const offenders = files.filter((file) => {

272272

return readRepoSource(file).includes("plugins/bundled-plugin-metadata");

273273

});

274-

expect(offenders).toEqual([]);

274+

expect(offenders).toStrictEqual([]);

275275

});

276276277277

it("keeps contract loaders off hand-built bundled extension paths", () => {

@@ -283,13 +283,13 @@ describe("plugin contract boundary invariants", () => {

283283

const source = readRepoSource(file);

284284

return /extensions\/\$\{|\.\.\/\.\.\/\.\.\/\.\.\/extensions\//u.test(source);

285285

});

286-

expect(offenders).toEqual([]);

286+

expect(offenders).toStrictEqual([]);

287287

});

288288289289

it("keeps bundled plugin production code off legacy before_agent_start hooks", () => {

290290

const files = listTsFiles("extensions", { excludeTests: true });

291291

const offenders = files.filter((file) => readRepoSource(file).includes("before_agent_start"));

292-

expect(offenders).toEqual([]);

292+

expect(offenders).toStrictEqual([]);

293293

});

294294295295

it("keeps bundled plugin typed hook registrations on an explicit allowlist", () => {

@@ -312,7 +312,7 @@ describe("plugin contract boundary invariants", () => {

312312

it("keeps bundled plugin production code off raw registerHook calls", () => {

313313

const files = listTsFiles("extensions", { excludeTests: true });

314314

const offenders = files.filter((file) => /\bregisterHook\(/u.test(readRepoSource(file)));

315-

expect(offenders).toEqual([]);

315+

expect(offenders).toStrictEqual([]);

316316

});

317317318318

it("keeps long-lived bundled hook handlers on live runtime config lookups", () => {

@@ -324,7 +324,7 @@ describe("plugin contract boundary invariants", () => {

324324

.map((snippet) => `${file}: ${snippet}`);

325325

},

326326

);

327-

expect(missingGuards).toEqual([]);

327+

expect(missingGuards).toStrictEqual([]);

328328

});

329329330330

it("keeps live provider config surfaces on runtime config lookups", () => {

@@ -336,7 +336,7 @@ describe("plugin contract boundary invariants", () => {

336336

.map((snippet) => `${file}: ${snippet}`);

337337

},

338338

);

339-

expect(missingGuards).toEqual([]);

339+

expect(missingGuards).toStrictEqual([]);

340340

});

341341342342

it("keeps long-lived bundled hook handlers off startup-only registration gates", () => {

@@ -348,6 +348,6 @@ describe("plugin contract boundary invariants", () => {

348348

.map((snippet) => `${file}: ${snippet}`);

349349

},

350350

);

351-

expect(offenders).toEqual([]);

351+

expect(offenders).toStrictEqual([]);

352352

});

353353

});