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

推荐订阅源

D
DataBreaches.Net
B
Blog
博客园_首页
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog RSS Feed
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
量子位
V
V2EX
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
Martin Fowler
Martin Fowler
Recent Announcements
Recent Announcements
I
InfoQ
博客园 - 【当耐特】

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(qa): add Telegram auth transition E2E · openclaw/ope...
obviyus · 2026-05-09 · via Recent Commits to openclaw:main

@@ -331,6 +331,7 @@ describe("telegram live qa runtime", () => {

331331

"telegram-tools-compact-command",

332332

"telegram-whoami-command",

333333

"telegram-status-command",

334+

"telegram-repeated-command-authorization",

334335

"telegram-other-bot-command-gating",

335336

"telegram-context-command",

336337

"telegram-current-session-status-tool",

@@ -347,6 +348,7 @@ describe("telegram live qa runtime", () => {

347348

"telegram-tools-compact-command",

348349

"telegram-whoami-command",

349350

"telegram-status-command",

351+

"telegram-repeated-command-authorization",

350352

"telegram-other-bot-command-gating",

351353

"telegram-context-command",

352354

"telegram-current-session-status-tool",

@@ -359,37 +361,47 @@ describe("telegram live qa runtime", () => {

359361

]);

360362

expect(

361363

scenarios.find((scenario) => scenario.id === "telegram-status-command")?.buildRun("sut_bot")

362-

.input,

364+

.steps[0].input,

363365

).toBe("/status@sut_bot");

364366

expect(

365367

scenarios.find((scenario) => scenario.id === "telegram-status-command")?.buildRun("sut_bot")

366-

.expectedTextIncludes,

368+

.steps[0].expectedTextIncludes,

367369

).toEqual(["OpenClaw", "Model:", "Session:", "Activation:"]);

370+

expect(

371+

scenarios

372+

.find((scenario) => scenario.id === "telegram-repeated-command-authorization")

373+

?.buildRun("sut_bot").steps,

374+

).toMatchObject([

375+

{ driverGroupAuthorization: "deny", input: "/status@sut_bot", expectReply: false },

376+

{ driverGroupAuthorization: "allow", input: "/status@sut_bot", expectReply: true },

377+

{ input: "/help@sut_bot", expectReply: true },

378+

{ input: "/commands@sut_bot", expectReply: true },

379+

]);

368380

expect(

369381

scenarios

370382

.find((scenario) => scenario.id === "telegram-other-bot-command-gating")

371-

?.buildRun("sut_bot"),

383+

?.buildRun("sut_bot").steps[0],

372384

).toMatchObject({

373385

expectReply: false,

374386

input: "/status@OpenClawQaOtherBot",

375387

});

376388

expect(

377389

scenarios

378390

.find((scenario) => scenario.id === "telegram-current-session-status-tool")

379-

?.buildRun("sut_bot"),

391+

?.buildRun("sut_bot").steps[0],

380392

).toMatchObject({

381393

expectedTextIncludes: ["QA-TELEGRAM-CURRENT-SESSION-OK", ":telegram:group:"],

382394

replyToLatestSutMessage: true,

383395

});

384396

expect(

385397

scenarios

386398

.find((scenario) => scenario.id === "telegram-mentioned-message-reply")

387-

?.buildRun("sut_bot").replyToLatestSutMessage,

399+

?.buildRun("sut_bot").steps[0].replyToLatestSutMessage,

388400

).toBe(true);

389401

expect(

390402

scenarios

391403

.find((scenario) => scenario.id === "telegram-reply-chain-exact-marker")

392-

?.buildRun("sut_bot"),

404+

?.buildRun("sut_bot").steps[0],

393405

).toMatchObject({

394406

expectedJoinedSutTextIncludes: ["QA-TELEGRAM-REPLY-CHAIN-OK"],

395407

expectedSutMessageCount: 1,

@@ -398,7 +410,7 @@ describe("telegram live qa runtime", () => {

398410

expect(

399411

scenarios

400412

.find((scenario) => scenario.id === "telegram-stream-final-single-message")

401-

?.buildRun("sut_bot"),

413+

?.buildRun("sut_bot").steps[0],

402414

).toMatchObject({

403415

expectedJoinedSutTextIncludes: ["QA-TELEGRAM-STREAM-SINGLE-OK"],

404416

expectedSutMessageCount: 1,

@@ -407,7 +419,7 @@ describe("telegram live qa runtime", () => {

407419

expect(

408420

scenarios

409421

.find((scenario) => scenario.id === "telegram-long-final-reuses-preview")

410-

?.buildRun("sut_bot"),

422+

?.buildRun("sut_bot").steps[0],

411423

).toMatchObject({

412424

expectedJoinedSutTextIncludes: ["TELEGRAM-LONG-FINAL-BEGIN", "TELEGRAM-LONG-FINAL-END"],

413425

expectedSutMessageCount: 2,

@@ -416,7 +428,7 @@ describe("telegram live qa runtime", () => {

416428

expect(

417429

scenarios

418430

.find((scenario) => scenario.id === "telegram-long-final-three-chunks")

419-

?.buildRun("sut_bot"),

431+

?.buildRun("sut_bot").steps[0],

420432

).toMatchObject({

421433

expectedJoinedSutTextIncludes: [

422434

"TELEGRAM-LONG-FINAL-3CHUNK-BEGIN",

@@ -436,6 +448,7 @@ describe("telegram live qa runtime", () => {

436448

"telegram-tools-compact-command",

437449

"telegram-whoami-command",

438450

"telegram-status-command",

451+

"telegram-repeated-command-authorization",

439452

"telegram-other-bot-command-gating",

440453

"telegram-context-command",

441454

"telegram-mentioned-message-reply",

@@ -451,6 +464,7 @@ describe("telegram live qa runtime", () => {

451464

"telegram-tools-compact-command",

452465

"telegram-whoami-command",

453466

"telegram-status-command",

467+

"telegram-repeated-command-authorization",

454468

"telegram-other-bot-command-gating",

455469

"telegram-context-command",

456470

"telegram-mentioned-message-reply",