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

推荐订阅源

F
Fortinet All Blogs
有赞技术团队
有赞技术团队
量子位
N
Netflix TechBlog - Medium
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
GbyAI
GbyAI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Blog — PlanetScale
Blog — PlanetScale
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
Martin Fowler
Martin Fowler
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
V2EX
IT之家
IT之家
L
LangChain Blog
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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: make telegram live mention scenario privacy-safe · ...
steipete · 2026-04-29 · via Recent Commits to openclaw:main

@@ -56,6 +56,7 @@ type TelegramQaScenarioRun = {

5656

input: string;

5757

expectedTextIncludes?: string[];

5858

matchText?: string;

59+

replyToLatestSutMessage?: boolean;

5960

};

60616162

type TelegramQaScenarioDefinition = LiveTransportScenarioDefinition<TelegramQaScenarioId> & {

@@ -276,6 +277,7 @@ const TELEGRAM_QA_SCENARIOS: TelegramQaScenarioDefinition[] = [

276277

allowAnySutReply: true,

277278

expectReply: true,

278279

input: `@${sutUsername} Telegram QA mention routing check. Reply with a short acknowledgement.`,

280+

replyToLatestSutMessage: true,

279281

}),

280282

},

281283

{

@@ -613,11 +615,24 @@ async function flushTelegramUpdates(token: string) {

613615

throw new Error("timed out after 15000ms draining Telegram updates");

614616

}

615617616-

async function sendGroupMessage(token: string, groupId: string, text: string) {

618+

async function sendGroupMessage(

619+

token: string,

620+

groupId: string,

621+

text: string,

622+

opts: { replyToMessageId?: number } = {},

623+

) {

617624

return await callTelegramApi<TelegramSendMessageResult>(token, "sendMessage", {

618625

chat_id: groupId,

619626

text,

620627

disable_notification: true,

628+

...(opts.replyToMessageId !== undefined

629+

? {

630+

reply_parameters: {

631+

message_id: opts.replyToMessageId,

632+

allow_sending_without_reply: true,

633+

},

634+

}

635+

: {}),

621636

});

622637

}

623638

@@ -1228,6 +1243,7 @@ export async function runTelegramQaLive(params: {

12281243

try {

12291244

await waitForTelegramChannelRunning(gatewayHarness.gateway, sutAccountId);

12301245

assertLeaseHealthy();

1246+

let latestSutMessageId: number | undefined;

12311247

try {

12321248

writeTelegramQaProgress(progressEnabled, "canary start");

12331249

const canaryTiming = await runCanary({

@@ -1238,6 +1254,7 @@ export async function runTelegramQaLive(params: {

12381254

timeoutMs: resolveTelegramQaCanaryTimeoutMs(),

12391255

observedMessages,

12401256

});

1257+

latestSutMessageId = canaryTiming.responseMessageId;

12411258

scenarioResults.push({

12421259

id: "telegram-canary",

12431260

title: "Telegram canary",

@@ -1291,6 +1308,9 @@ export async function runTelegramQaLive(params: {

12911308

runtimeEnv.driverToken,

12921309

runtimeEnv.groupId,

12931310

scenarioRun.input,

1311+

scenarioRun.replyToLatestSutMessage

1312+

? { replyToMessageId: latestSutMessageId }

1313+

: undefined,

12941314

);

12951315

const requestStartedAt = new Date(requestStartedAtMs).toISOString();

12961316

const matched = await waitForObservedMessage({

@@ -1333,6 +1353,7 @@ export async function runTelegramQaLive(params: {

13331353

responseMessageId: redactPublicMetadata ? undefined : matched.message.messageId,

13341354

} satisfies TelegramQaScenarioResult;

13351355

scenarioResults.push(result);

1356+

latestSutMessageId = matched.message.messageId;

13361357

writeTelegramQaProgress(

13371358

progressEnabled,

13381359

`scenario pass ${scenarioIndexLabel}: ${scenarioIdForLog}`,