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

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
博客园 - 聂微东
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
小众软件
小众软件
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
B
Blog
H
Help Net Security
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
月光博客
月光博客
博客园 - 司徒正美

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: clarify telegram command assertions · openclaw/open...
steipete · 2026-05-08 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -23,7 +23,7 @@ function warningLines(): string[] {

2323

}

2424
2525

function expectNoMissingDefaultWarning() {

26-

expect(warningLines().every((line) => !line.includes("accounts.default is missing"))).toBe(true);

26+

expect(warningLines().filter((line) => line.includes("accounts.default is missing"))).toEqual([]);

2727

}

2828
2929

function resolveAccountWithEnv(

Original file line numberDiff line numberDiff line change

@@ -69,8 +69,8 @@ describe("bot-native-command-menu", () => {

6969

0,

7070

);

7171

expect(totalText).toBeLessThanOrEqual(TELEGRAM_TOTAL_COMMAND_TEXT_BUDGET);

72-

expect(result.commandsToRegister.every((command) => command.description.length <= 56)).toBe(

73-

true,

72+

expect(result.commandsToRegister.filter((command) => command.description.length > 56)).toEqual(

73+

[],

7474

);

7575

});

7676
Original file line numberDiff line numberDiff line change

@@ -82,7 +82,7 @@ describe("registerTelegramNativeCommands skill allowlist integration", () => {

8282
8383

const registeredCommands = await waitForRegisteredCommands(setMyCommands);

8484
85-

expect(registeredCommands.some((entry) => entry.command === "alpha_skill")).toBe(true);

86-

expect(registeredCommands.some((entry) => entry.command === "beta_skill")).toBe(false);

85+

expect(registeredCommands.map((entry) => entry.command)).toContain("alpha_skill");

86+

expect(registeredCommands.map((entry) => entry.command)).not.toContain("beta_skill");

8787

});

8888

});

Original file line numberDiff line numberDiff line change

@@ -116,7 +116,7 @@ describe("markdownToTelegramHtml", () => {

116116

it("splits long multiline html text without breaking balanced tags", () => {

117117

const chunks = splitTelegramHtmlChunks(`<b>${"A\n".repeat(2500)}</b>`, 4000);

118118

expect(chunks.length).toBeGreaterThan(1);

119-

expect(chunks.every((chunk) => chunk.length <= 4000)).toBe(true);

119+

expect(chunks.filter((chunk) => chunk.length > 4000)).toEqual([]);

120120

expect(chunks[0]).toMatch(/^<b>[\s\S]*<\/b>$/);

121121

expect(chunks[1]).toMatch(/^<b>[\s\S]*<\/b>$/);

122122

});

@@ -128,7 +128,7 @@ describe("markdownToTelegramHtml", () => {

128128

it("treats malformed leading ampersands as plain text when chunking html", () => {

129129

const chunks = splitTelegramHtmlChunks(`&${"A".repeat(5000)}`, 4000);

130130

expect(chunks.length).toBeGreaterThan(1);

131-

expect(chunks.every((chunk) => chunk.length <= 4000)).toBe(true);

131+

expect(chunks.filter((chunk) => chunk.length > 4000)).toEqual([]);

132132

});

133133
134134

it("fails loudly when tag overhead leaves no room for text", () => {