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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
Y
Y Combinator Blog
V
V2EX
Engineering at Meta
Engineering at Meta
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
博客园 - 叶小钗
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
B
Blog
G
Google Developers Blog
J
Java Code Geeks
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
N
Netflix TechBlog - Medium
腾讯CDC

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 doctor config flow assertions · openclaw/op...
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -1414,9 +1414,7 @@ describe("doctor config flow", () => {

14141414

},

14151415

},

14161416

});

1417-

expect(doctorWarnings).not.toEqual(

1418-

expect.arrayContaining([expect.stringContaining("mutable allowlist")]),

1419-

);

1417+

expect(doctorWarnings.some((line) => line.includes("mutable allowlist"))).toBe(false);

14201418

});

1421141914221420

it("warns when hooks transformsDir points outside the hook transforms root", async () => {

@@ -1541,16 +1539,14 @@ describe("doctor config flow", () => {

15411539

},

15421540

});

154315411544-

expect(doctorWarnings).toEqual(

1545-

expect.arrayContaining([

1546-

expect.stringContaining(

1542+

expect(

1543+

doctorWarnings.some((line) =>

1544+

line.includes(

15471545

'channels.telegram: channel is configured, but plugin "telegram" is disabled by plugins.entries.telegram.enabled=false.',

15481546

),

1549-

]),

1550-

);

1551-

expect(doctorWarnings).not.toEqual(

1552-

expect.arrayContaining([expect.stringContaining("first-time setup mode")]),

1553-

);

1547+

),

1548+

).toBe(true);

1549+

expect(doctorWarnings.some((line) => line.includes("first-time setup mode"))).toBe(false);

15541550

});

1555155115561552

it("shows plugin-blocked guidance instead of first-time Telegram guidance when plugins are disabled globally", async () => {

@@ -1566,16 +1562,14 @@ describe("doctor config flow", () => {

15661562

},

15671563

});

156815641569-

expect(doctorWarnings).toEqual(

1570-

expect.arrayContaining([

1571-

expect.stringContaining(

1565+

expect(

1566+

doctorWarnings.some((line) =>

1567+

line.includes(

15721568

"channels.telegram: channel is configured, but plugins.enabled=false blocks channel plugins globally.",

15731569

),

1574-

]),

1575-

);

1576-

expect(doctorWarnings).not.toEqual(

1577-

expect.arrayContaining([expect.stringContaining("first-time setup mode")]),

1578-

);

1570+

),

1571+

).toBe(true);

1572+

expect(doctorWarnings.some((line) => line.includes("first-time setup mode"))).toBe(false);

15791573

});

1580157415811575

it("warns on mutable Zalouser group entries when dangerous name matching is disabled", async () => {

@@ -1609,9 +1603,7 @@ describe("doctor config flow", () => {

16091603

},

16101604

});

161116051612-

expect(doctorWarnings).not.toEqual(

1613-

expect.arrayContaining([expect.stringContaining("channels.zalouser.groups")]),

1614-

);

1606+

expect(doctorWarnings.some((line) => line.includes("channels.zalouser.groups"))).toBe(false);

16151607

});

1616160816171609

it("warns when imessage group allowlist is empty even if allowFrom is set", async () => {

@@ -2446,28 +2438,18 @@ describe("doctor config flow", () => {

24462438

};

24472439

};

24482440

expect(cfg.heartbeat).toBeUndefined();

2449-

expect(cfg.agents?.defaults?.heartbeat).toMatchObject({

2450-

model: "anthropic/claude-3-5-haiku-20241022",

2451-

every: "30m",

2452-

});

2441+

expect(cfg.agents?.defaults?.heartbeat?.model).toBe("anthropic/claude-3-5-haiku-20241022");

2442+

expect(cfg.agents?.defaults?.heartbeat?.every).toBe("30m");

24532443

expect(cfg.gateway?.bind).toBe("lan");

24542444

expect(cfg.session?.maintenance?.rotateBytes).toBeUndefined();

2455-

expect(cfg.session?.threadBindings).toMatchObject({

2456-

idleHours: 24,

2457-

});

2458-

expect(cfg.channels?.discord?.threadBindings).toMatchObject({

2459-

idleHours: 12,

2460-

});

2461-

expect(cfg.channels?.discord?.accounts?.alpha?.threadBindings).toMatchObject({

2462-

idleHours: 6,

2463-

});

2445+

expect(cfg.session?.threadBindings?.idleHours).toBe(24);

2446+

expect(cfg.channels?.discord?.threadBindings?.idleHours).toBe(12);

2447+

expect(cfg.channels?.discord?.accounts?.alpha?.threadBindings?.idleHours).toBe(6);

24642448

expect(cfg.session?.threadBindings?.ttlHours).toBeUndefined();

24652449

expect(cfg.channels?.discord?.threadBindings?.ttlHours).toBeUndefined();

24662450

expect(cfg.channels?.discord?.accounts?.alpha?.threadBindings?.ttlHours).toBeUndefined();

2467-

expect(cfg.channels?.defaults?.heartbeat).toMatchObject({

2468-

showOk: true,

2469-

showAlerts: false,

2470-

});

2451+

expect(cfg.channels?.defaults?.heartbeat?.showOk).toBe(true);

2452+

expect(cfg.channels?.defaults?.heartbeat?.showAlerts).toBe(false);

24712453

});

2472245424732455

it("warns clearly about legacy config surfaces and points to doctor --fix", async () => {