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

推荐订阅源

D
Docker
I
InfoQ
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
Y
Y Combinator Blog
博客园_首页
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
C
Check Point Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Engineering at Meta
Engineering at Meta
B
Blog
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
F
Fortinet All Blogs
月光博客
月光博客
GbyAI
GbyAI

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(gateway): ignore malformed node catalog capabilities ...
steipete · 2026-05-08 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -186,6 +186,7 @@ Docs: https://docs.openclaw.ai

186186

- Agents/PI: route PI-native OpenAI-compatible default streams through OpenClaw boundary-aware transports so local-compatible model runs keep API-key injection and transport policy.

187187

- Gateway/media: require authenticated owner or admin context for managed outgoing image bytes instead of trusting requester-session headers.

188188

- Doctor/gateway: avoid duplicate Node runtime warnings when the daemon install plan already selected a supported Node runtime.

189+

- Gateway/nodes: ignore malformed non-string capability entries from live nodes instead of throwing while listing the node catalog.

189190

- Gateway/watch: leave `OPENCLAW_TRACE_SYNC_IO` disabled by default in `pnpm gateway:watch:raw` so watch mode avoids noisy Node sync-I/O stack traces unless explicitly requested.

190191

- Codex app-server: close stdio stdin before force-killing the managed app-server, matching Codex single-client shutdown behavior and avoiding unsettled CLI exits after successful runs.

191192

- CLI/Codex: dispose registered agent harnesses during short-lived CLI shutdown so successful Codex-backed `agent --local` runs do not leave app-server child processes alive.

Original file line numberDiff line numberDiff line change

@@ -289,4 +289,30 @@ describe("gateway/node-catalog", () => {

289289

}),

290290

);

291291

});

292+
293+

it("ignores malformed node capability entries instead of throwing", () => {

294+

const catalog = createKnownNodeCatalog({

295+

pairedDevices: [],

296+

pairedNodes: [],

297+

connectedNodes: [

298+

{

299+

nodeId: "bad-node",

300+

connId: "conn-1",

301+

client: {} as never,

302+

displayName: "Bad Node",

303+

caps: ["camera", undefined],

304+

commands: ["system.run", null],

305+

connectedAtMs: 1,

306+

} as never,

307+

],

308+

});

309+
310+

expect(listKnownNodes(catalog)).toEqual([

311+

expect.objectContaining({

312+

nodeId: "bad-node",

313+

caps: ["camera"],

314+

commands: ["system.run"],

315+

}),

316+

]);

317+

});

292318

});

Original file line numberDiff line numberDiff line change

@@ -47,13 +47,16 @@ type KnownNodeCatalog = {

4747

entriesById: Map<string, KnownNodeEntry>;

4848

};

4949
50-

function uniqueSortedStrings(...items: Array<readonly string[] | undefined>): string[] {

50+

function uniqueSortedStrings(...items: Array<readonly unknown[] | undefined>): string[] {

5151

const values = new Set<string>();

5252

for (const item of items) {

53-

if (!item) {

53+

if (!Array.isArray(item)) {

5454

continue;

5555

}

5656

for (const value of item) {

57+

if (typeof value !== "string") {

58+

continue;

59+

}

5760

const trimmed = value.trim();

5861

if (trimmed) {

5962

values.add(trimmed);