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

推荐订阅源

雷峰网
雷峰网
B
Blog
博客园_首页
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
罗磊的独立博客
Jina AI
Jina AI
C
Check Point Blog
Martin Fowler
Martin Fowler
J
Java Code Geeks
博客园 - 司徒正美
美团技术团队
MongoDB | Blog
MongoDB | Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
有赞技术团队
有赞技术团队
U
Unit 42
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
小众软件
小众软件

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: require session slot diagnostics · openclaw/opencla...
shakkernerd · 2026-05-12 · via Recent Commits to openclaw:main

@@ -285,16 +285,16 @@ describe("plugin session extension SessionEntry projection", () => {

285285

expect(registry.registry.sessionExtensions ?? []).toHaveLength(0);

286286

expect(

287287

registry.registry.diagnostics.map(({ pluginId, message }) => ({ pluginId, message })),

288-

).toContainEqual({

289-

pluginId: "slot-collision",

290-

message: "sessionEntrySlotKey is reserved by SessionEntry: updatedAt",

291-

});

292-

expect(

293-

registry.registry.diagnostics.map(({ pluginId, message }) => ({ pluginId, message })),

294-

).toContainEqual({

295-

pluginId: "slot-collision",

296-

message: "sessionEntrySlotKey is reserved by SessionEntry: subagentRecovery",

297-

});

288+

).toStrictEqual([

289+

{

290+

pluginId: "slot-collision",

291+

message: "sessionEntrySlotKey is reserved by SessionEntry: updatedAt",

292+

},

293+

{

294+

pluginId: "slot-collision",

295+

message: "sessionEntrySlotKey is reserved by SessionEntry: subagentRecovery",

296+

},

297+

]);

298298

});

299299300300

it("rejects sessionEntrySlotKey values inherited from Object.prototype", () => {

@@ -327,18 +327,20 @@ describe("plugin session extension SessionEntry projection", () => {

327327

pluginId,

328328

message,

329329

}));

330-

expect(diagnostics).toContainEqual({

331-

pluginId: "object-slot-collision",

332-

message: "sessionEntrySlotKey is reserved by Object: toString",

333-

});

334-

expect(diagnostics).toContainEqual({

335-

pluginId: "object-slot-collision",

336-

message: "sessionEntrySlotKey is reserved by Object: hasOwnProperty",

337-

});

338-

expect(diagnostics).toContainEqual({

339-

pluginId: "object-slot-collision",

340-

message: "sessionEntrySlotKey is reserved by Object: valueOf",

341-

});

330+

expect(diagnostics).toStrictEqual([

331+

{

332+

pluginId: "object-slot-collision",

333+

message: "sessionEntrySlotKey is reserved by Object: toString",

334+

},

335+

{

336+

pluginId: "object-slot-collision",

337+

message: "sessionEntrySlotKey is reserved by Object: hasOwnProperty",

338+

},

339+

{

340+

pluginId: "object-slot-collision",

341+

message: "sessionEntrySlotKey is reserved by Object: valueOf",

342+

},

343+

]);

342344

});

343345344346

it("rejects duplicate promoted SessionEntry slot keys across registrations", () => {

@@ -381,14 +383,16 @@ describe("plugin session extension SessionEntry projection", () => {

381383

pluginId,

382384

message,

383385

}));

384-

expect(diagnostics).toContainEqual({

385-

pluginId: "slot-owner",

386-

message: "sessionEntrySlotKey already registered: approvalSnapshot",

387-

});

388-

expect(diagnostics).toContainEqual({

389-

pluginId: "slot-colliding-plugin",

390-

message: "sessionEntrySlotKey already registered: approvalSnapshot",

391-

});

386+

expect(diagnostics).toStrictEqual([

387+

{

388+

pluginId: "slot-owner",

389+

message: "sessionEntrySlotKey already registered: approvalSnapshot",

390+

},

391+

{

392+

pluginId: "slot-colliding-plugin",

393+

message: "sessionEntrySlotKey already registered: approvalSnapshot",

394+

},

395+

]);

392396

});

393397394398

it("clears promoted SessionEntry slots with plugin-owned session state", async () => {