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

推荐订阅源

Google DeepMind News
Google DeepMind News
C
Check Point Blog
J
Java Code Geeks
腾讯CDC
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
罗磊的独立博客
Last Week in AI
Last Week in AI
B
Blog
IT之家
IT之家
S
SegmentFault 最新的问题
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
博客园 - 聂微东
U
Unit 42
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
MyScale Blog
MyScale 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
fix(sessions): retire stale direct dm rows after dmscope ...
BunsDev · 2026-05-07 · via Recent Commits to openclaw:main

@@ -119,7 +119,11 @@ describe("sessionsCleanupCommand", () => {

119119

staleKeys: Set<string>;

120120

cappedKeys: Set<string>;

121121

budgetEvictedKeys: Set<string>;

122+

dmScopeRetiredKeys: Set<string>;

122123

}) => {

124+

if (params.dmScopeRetiredKeys.has(params.key)) {

125+

return "retire-dm-scope";

126+

}

123127

if (params.missingKeys.has(params.key)) {

124128

return "prune-missing";

125129

}

@@ -181,6 +185,7 @@ describe("sessionsCleanupCommand", () => {

181185

beforeCount: 3,

182186

afterCount: 1,

183187

missing: 0,

188+

dmScopeRetired: 0,

184189

pruned: 0,

185190

capped: 2,

186191

diskBudget: {

@@ -245,6 +250,7 @@ describe("sessionsCleanupCommand", () => {

245250

beforeCount: 3,

246251

afterCount: 1,

247252

missing: 0,

253+

dmScopeRetired: 0,

248254

pruned: 2,

249255

capped: 0,

250256

diskBudget: null,

@@ -286,6 +292,7 @@ describe("sessionsCleanupCommand", () => {

286292

beforeCount: 2,

287293

afterCount: 1,

288294

missing: 0,

295+

dmScopeRetired: 0,

289296

pruned: 1,

290297

capped: 0,

291298

diskBudget: {

@@ -305,6 +312,7 @@ describe("sessionsCleanupCommand", () => {

305312

staleKeys: new Set<string>(),

306313

cappedKeys: new Set<string>(),

307314

budgetEvictedKeys: new Set<string>(),

315+

dmScopeRetiredKeys: new Set<string>(),

308316

},

309317

],

310318

appliedSummaries: [],

@@ -347,6 +355,7 @@ describe("sessionsCleanupCommand", () => {

347355

beforeCount: 1,

348356

afterCount: 0,

349357

missing: 1,

358+

dmScopeRetired: 0,

350359

pruned: 0,

351360

capped: 0,

352361

diskBudget: null,

@@ -357,6 +366,7 @@ describe("sessionsCleanupCommand", () => {

357366

staleKeys: new Set<string>(),

358367

cappedKeys: new Set<string>(),

359368

budgetEvictedKeys: new Set<string>(),

369+

dmScopeRetiredKeys: new Set<string>(),

360370

},

361371

],

362372

appliedSummaries: [],

@@ -393,6 +403,7 @@ describe("sessionsCleanupCommand", () => {

393403

beforeCount: 2,

394404

afterCount: 1,

395405

missing: 0,

406+

dmScopeRetired: 0,

396407

pruned: 1,

397408

capped: 0,

398409

unreferencedArtifacts: {

@@ -412,6 +423,7 @@ describe("sessionsCleanupCommand", () => {

412423

staleKeys: new Set(["stale"]),

413424

cappedKeys: new Set<string>(),

414425

budgetEvictedKeys: new Set<string>(),

426+

dmScopeRetiredKeys: new Set<string>(),

415427

},

416428

],

417429

appliedSummaries: [],

@@ -450,6 +462,7 @@ describe("sessionsCleanupCommand", () => {

450462

beforeCount: 1,

451463

afterCount: 0,

452464

missing: 0,

465+

dmScopeRetired: 0,

453466

pruned: 1,

454467

capped: 0,

455468

diskBudget: null,

@@ -460,6 +473,7 @@ describe("sessionsCleanupCommand", () => {

460473

staleKeys: new Set(["stale"]),

461474

cappedKeys: new Set<string>(),

462475

budgetEvictedKeys: new Set<string>(),

476+

dmScopeRetiredKeys: new Set<string>(),

463477

},

464478

{

465479

summary: {

@@ -470,6 +484,7 @@ describe("sessionsCleanupCommand", () => {

470484

beforeCount: 1,

471485

afterCount: 0,

472486

missing: 0,

487+

dmScopeRetired: 0,

473488

pruned: 1,

474489

capped: 0,

475490

diskBudget: null,

@@ -480,6 +495,7 @@ describe("sessionsCleanupCommand", () => {

480495

staleKeys: new Set(["stale"]),

481496

cappedKeys: new Set<string>(),

482497

budgetEvictedKeys: new Set<string>(),

498+

dmScopeRetiredKeys: new Set<string>(),

483499

},

484500

],

485501

appliedSummaries: [],