Skip to content

[DECOMPOSITION] Telegram adapter send/poll circuit breaker #573

Description

@Lexus2016

Parent issue\n#524 — Telegram Gateway Unreliable\n\n## This slice\nUse the shared utility in the Telegram adapter () to add a session-scoped circuit breaker around send and poll operations. After N consecutive failures, Telegram is marked unhealthy for a configurable cooldown T seconds, preventing retry loops and cascading log spam.\n\n## Acceptance criteria\n- [ ] integrated into Telegram adapter.\n- [ ] Configurable N and T via config.yaml under .\n- [ ] Cooldown respected by both polling and send paths.\n- [ ] Health state exposed for introspection.\n- [ ] Regression tests with mocked .\n\n## Estimated effort\nMedium (< 2 days)\n\n## Linked parent\nChild of #524.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrejectedNot accepted by evolution — see closing comment

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions