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

推荐订阅源

D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
B
Blog RSS Feed
H
Help Net Security
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
L
LangChain Blog
Vercel News
Vercel News

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 test group report assertions · openclaw/ope...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -62,8 +62,9 @@ describe("scripts/test-group-report aggregation", () => {

6262

["src/commands", 600],

6363

["extensions/discord", 250],

6464

]);

65-

expect(report.configs).toMatchObject([

65+

expect(report.configs).toStrictEqual([

6666

{

67+

configs: ["commands"],

6768

key: "commands",

6869

durationMs: 850,

6970

fileCount: 2,

@@ -144,18 +145,17 @@ describe("scripts/test-group-report comparison", () => {

144145

});

145146146147

expect(comparison.totals.delta).toEqual({ durationMs: -100, fileCount: 0, testCount: 1 });

147-

expect(comparison.groups.find((group) => group.key === "src/commands")).toMatchObject({

148-

delta: { durationMs: 200, fileCount: 1, testCount: 3 },

149-

});

150-

expect(

151-

comparison.files.find((file) => file.file === "extensions/discord/src/send.test.ts"),

152-

).toMatchObject({

153-

status: "removed",

154-

delta: { durationMs: -300, testCount: -2 },

155-

});

156-

expect(comparison.runs[0]).toMatchObject({

157-

key: "commands",

158-

delta: { elapsedMs: -200, maxRssBytes: -1024 * 1024 * 20 },

148+

const commandsGroup = comparison.groups.find((group) => group.key === "src/commands");

149+

expect(commandsGroup?.delta).toStrictEqual({ durationMs: 200, fileCount: 1, testCount: 3 });

150+

const removedDiscordFile = comparison.files.find(

151+

(file) => file.file === "extensions/discord/src/send.test.ts",

152+

);

153+

expect(removedDiscordFile?.status).toBe("removed");

154+

expect(removedDiscordFile?.delta).toStrictEqual({ durationMs: -300, testCount: -2 });

155+

expect(comparison.runs[0]?.key).toBe("commands");

156+

expect(comparison.runs[0]?.delta).toStrictEqual({

157+

elapsedMs: -200,

158+

maxRssBytes: -1024 * 1024 * 20,

159159

});

160160161161

expect(renderGroupedTestComparison(comparison, { limit: 2, topFiles: 2 })).toContain(

@@ -178,10 +178,17 @@ describe("scripts/test-group-report arg parsing", () => {

178178

"--",

179179

"--maxWorkers=1",

180180

]),

181-

).toMatchObject({

181+

).toStrictEqual({

182182

allowFailures: true,

183+

compare: null,

183184

configs: ["a.ts", "b.ts"],

185+

fullSuite: false,

184186

groupBy: "folder",

187+

limit: 25,

188+

output: null,

189+

reports: [],

190+

rss: process.platform === "darwin",

191+

topFiles: 25,

185192

vitestArgs: ["--maxWorkers=1"],

186193

});

187194

});

@@ -197,10 +204,18 @@ describe("scripts/test-group-report arg parsing", () => {

197204

"--top-files",

198205

"3",

199206

]),

200-

).toMatchObject({

207+

).toStrictEqual({

208+

allowFailures: false,

201209

compare: { before: "before.json", after: "after.json" },

210+

configs: [],

211+

fullSuite: false,

212+

groupBy: "area",

202213

limit: 5,

214+

output: null,

215+

reports: [],

216+

rss: process.platform === "darwin",

203217

topFiles: 3,

218+

vitestArgs: [],

204219

});

205220

});

206221

});