Skip to content

Inbound Telegram webhook payloads lost on gateway restart #42157

Description

@Diaspar4u

In webhook mode, the gateway responds 200 OK to Telegram's webhook delivery immediately. If the gateway restarts while messages are queued or mid-processing, those messages are permanently lost -- Telegram considers them delivered and will not retry.

This affects any restart path: config change, manual restart, update, RPC. The window is small but non-zero, and in practice messages are lost during routine restarts on busy gateways.

No persistence layer exists between webhook receipt and processing completion, so there is nothing to replay on startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions