Skip to content

chore(telegram): remove duplicate durable target test - #129883

Merged
steipete merged 1 commit into
mainfrom
test-audit/telegram-durable-target-duplicate
Aug 26, 2026
Merged

steipete merged 1 commit into
mainfrom
test-audit/telegram-durable-target-duplicate

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Removes a direct helper assertion that strictly repeats the legacy durable-group target behavior already covered through Telegram's outbound delivery boundary. Both tests were introduced together for the same retry-target regression, so the helper-level replay added maintenance without detecting another failure.

Why This Change Was Made

outbound-adapter.test.ts retains the identical group:-1001234567890 input and verifies that the normalized numeric chat reaches the send transport. The helper suite keeps distinct topic, shorthand-topic, direct-topic, valid numeric, invalid group, and username cases. No production code or Telegram behavior changes.

User Impact

No user-visible impact. Durable retry normalization remains protected at the real outbound send boundary, with unique helper edge cases retained.

Evidence

  • Baseline: targets.test.ts + outbound-adapter.test.ts — 80/80 passed.
  • node scripts/run-vitest.mjs extensions/telegram/src/targets.test.ts extensions/telegram/src/outbound-adapter.test.ts — 79/79 remaining tests passed.
  • node scripts/check-changed.mjs -- extensions/telegram/src/targets.test.ts — passed, including extension test types and targeted oxlint.
  • Targeted oxfmt and git diff --check — passed.
  • Fresh autoreview against the final diff — no accepted/actionable findings; patch correct 0.99.

Production LOC: +0/-0

Tests: +0/-4

AI-assisted test audit. No changelog entry: test-only strict-subset deletion with no behavior change.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review August 26, 2026 05:01
@openclaw-barnacle openclaw-barnacle Bot added channel: telegram Channel integration: telegram size: XS maintainer Maintainer-authored PR labels Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready evidence for exact head 7f23e8c9e86f349bc1699932dd87a74294855c8a:

  • Scope: production +0/-0; tests +0/-4. The PR removes one direct helper replay while the identical group:-1001234567890 durable target remains verified through telegramOutbound.sendText at the outbound transport boundary. Distinct target helper edge cases remain.
  • Baseline: target + outbound adapter suites passed 80/80.
  • Current: target + outbound adapter suites passed 79/79.
  • Changed gate passed, including extension test types and targeted oxlint; targeted oxfmt and git diff --check passed.
  • Fresh autoreview found no actionable findings (patch-correct confidence 0.99).
  • Exact-head CI run 32932553273 completed successfully: 76 jobs, 0 failures, 0 pending. The transient GitHub 500 in the security-sensitive detector was rerun on the same head; attempt 2 passed.
  • No live Telegram proof is needed: this changes no runtime code or behavior and retains the stronger mocked transport-boundary regression.

@steipete
steipete merged commit f4ebfd5 into main Aug 26, 2026
190 of 191 checks passed
@steipete
steipete deleted the test-audit/telegram-durable-target-duplicate branch August 26, 2026 05:12

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: telegram Channel integration: telegram maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants