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

推荐订阅源

J
Java Code Geeks
腾讯CDC
博客园 - 聂微东
爱范儿
爱范儿
罗磊的独立博客
P
Proofpoint News Feed
博客园 - Franky
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
美团技术团队
MongoDB | Blog
MongoDB | Blog
WordPress大学
WordPress大学
A
About on SuperTechFans
I
InfoQ
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers 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: clear nostr broad matchers · openclaw/openclaw@e8b7f5f
shakkernerd · 2026-05-10 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -298,7 +298,23 @@ describe("Metrics fuzz", () => {

298298

expect(metrics.emit("relay.connect", 1, { relay: longUrl })).toBeUndefined();

299299
300300

const snapshot = metrics.getSnapshot();

301-

expect(snapshot.relays[longUrl]).toEqual(expect.objectContaining({ connects: 1 }));

301+

expect(snapshot.relays[longUrl]).toEqual({

302+

connects: 1,

303+

disconnects: 0,

304+

reconnects: 0,

305+

errors: 0,

306+

messagesReceived: {

307+

event: 0,

308+

eose: 0,

309+

closed: 0,

310+

notice: 0,

311+

ok: 0,

312+

auth: 0,

313+

},

314+

circuitBreakerState: "closed",

315+

circuitBreakerOpens: 0,

316+

circuitBreakerCloses: 0,

317+

});

302318

});

303319

});

304320
Original file line numberDiff line numberDiff line change

@@ -430,7 +430,7 @@ describe("nostr-profile-http", () => {

430430

// The schema validation catches non-https URLs before SSRF check

431431

expect(data.error).toBe("Validation failed");

432432

expect(Array.isArray(data.details)).toBe(true);

433-

expect(data.details).toEqual(expect.arrayContaining([expect.stringContaining("https")]));

433+

expect(data.details).toEqual(["picture: URL must use https:// protocol"]);

434434

});

435435
436436

it("does not persist if all relays fail", async () => {

Original file line numberDiff line numberDiff line change

@@ -223,7 +223,7 @@ describe("validateProfile", () => {

223223

const result = validateProfile(profile);

224224
225225

expect(result.valid).toBe(false);

226-

expect(result.errors).toEqual(expect.arrayContaining([expect.stringContaining("https://")]));

226+

expect(result.errors).toEqual(["picture: URL must use https:// protocol"]);

227227

});

228228
229229

it("rejects profile with javascript: URL", () => {

@@ -256,7 +256,7 @@ describe("validateProfile", () => {

256256

const result = validateProfile(profile);

257257
258258

expect(result.valid).toBe(false);

259-

expect(result.errors).toEqual(expect.arrayContaining([expect.stringContaining("256")]));

259+

expect(result.errors).toEqual(["name: Too big: expected string to have <=256 characters"]);

260260

});

261261
262262

it("rejects about exceeding 2000 characters", () => {

@@ -267,7 +267,7 @@ describe("validateProfile", () => {

267267

const result = validateProfile(profile);

268268
269269

expect(result.valid).toBe(false);

270-

expect(result.errors).toEqual(expect.arrayContaining([expect.stringContaining("2000")]));

270+

expect(result.errors).toEqual(["about: Too big: expected string to have <=2000 characters"]);

271271

});

272272
273273

it("accepts empty profile", () => {