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

推荐订阅源

C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
月光博客
月光博客
博客园 - 司徒正美
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
量子位
Recent Announcements
Recent Announcements
V
V2EX
P
Proofpoint News Feed
小众软件
小众软件
云风的 BLOG
云风的 BLOG
腾讯CDC
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
B
Blog
博客园_首页
GbyAI
GbyAI
博客园 - Franky

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(telegram): suppress silent-reply rewrite in DM no-res...
Beandon13 · 2026-05-10 · via Recent Commits to openclaw:main

@@ -1771,7 +1771,7 @@ describe("dispatchTelegramMessage draft streaming", () => {

17711771

expect(deliverReplies).not.toHaveBeenCalled();

17721772

});

177317731774-

it("emits a silent-reply fallback when no final reply was queued and nothing was delivered", async () => {

1774+

it("does not emit a silent-reply fallback for no-response DM turns", async () => {

17751775

dispatchReplyWithBufferedBlockDispatcher.mockResolvedValue({

17761776

queuedFinal: false,

17771777

counts: { block: 0, final: 0, tool: 0 },

@@ -1784,6 +1784,50 @@ describe("dispatchTelegramMessage draft streaming", () => {

17841784

streamMode: "off",

17851785

});

178617861787+

expect(deliverReplies).not.toHaveBeenCalled();

1788+

});

1789+1790+

it("emits a silent-reply fallback for no-response group turns", async () => {

1791+

dispatchReplyWithBufferedBlockDispatcher.mockResolvedValue({

1792+

queuedFinal: false,

1793+

counts: { block: 0, final: 0, tool: 0 },

1794+

});

1795+1796+

await dispatchWithContext({

1797+

context: createContext({

1798+

chatId: -1001234,

1799+

isGroup: true,

1800+

ctxPayload: {

1801+

SessionKey: "agent:test:telegram:group:-1001234",

1802+

ChatType: "group",

1803+

} as TelegramMessageContext["ctxPayload"],

1804+

primaryCtx: {

1805+

message: { chat: { id: -1001234, type: "supergroup" } },

1806+

} as TelegramMessageContext["primaryCtx"],

1807+

msg: {

1808+

chat: { id: -1001234, type: "supergroup" },

1809+

message_id: 456,

1810+

} as TelegramMessageContext["msg"],

1811+

threadSpec: { id: undefined, scope: "none" },

1812+

replyThreadId: undefined,

1813+

}),

1814+

cfg: {

1815+

agents: {

1816+

defaults: {

1817+

silentReply: {

1818+

direct: "disallow",

1819+

group: "disallow",

1820+

internal: "allow",

1821+

},

1822+

silentReplyRewrite: {

1823+

group: true,

1824+

},

1825+

},

1826+

},

1827+

} as Parameters<typeof dispatchTelegramMessage>[0]["cfg"],

1828+

streamMode: "off",

1829+

});

1830+17871831

expect(deliverReplies).toHaveBeenCalledTimes(1);

17881832

const replies = deliverReplies.mock.calls[0]?.[0]?.replies as

17891833

| Array<{ text?: string }>