Merged
Size
M
Change Breakdown
Testing90%
Maintenance10%
#66075test(telegram): add inbound retry regressions

Telegram inbound retry tests added

Regression tests now cover edge cases where Telegram bot inbound updates fail to process — specifically native-command retry and group-migration retry after bubbled handler failures.

When a Telegram bot receives an inbound update, failures in handler logic could leave messages in an unrecoverable state. The test suite now includes regression coverage for two critical scenarios: retry behavior for native commands and retry behavior during group migration, both triggered after a handler failure bubbles up. These tests ensure that failure handling remains predictable across bot updates, preventing silent message drops in production.

View Original GitHub Description

Summary

  • add focused Telegram regressions for failed inbound update replay behavior
  • cover native-command retry after a bubbled handler failure
  • cover group-migration retry after a bubbled handler failure

Testing

  • pnpm test -- extensions/telegram/src/bot.create-telegram-bot.test.ts
© 2026 · via Gitpulse