-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Telegram DM lane can remain guarded after send timeout, delaying or dropping direct messages #91456
Copy link
Copy link
Open
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper 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 does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper 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 does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
In OpenClaw 2026.6.1, Telegram direct-message delivery can become unreliable after Telegram API network timeouts. A direct-message lane may remain guarded after a failed/aborted send path, causing later DM messages to be delayed or not reflected in the target agent session until recovery.
Environment
Observed behavior
During a Telegram network failure window, the user sent multiple direct messages. Some inbound Telegram updates were visible in gateway logs, but the corresponding agent session did not process/respond to the messages promptly. The agent appeared unresponsive until the lane recovered and later messages created/updated a fresh session.
Relevant sanitized log patterns:
There were also diagnostic stale/stalled session messages around the same time, but the user-visible failure was that direct messages appeared to be ignored or delayed.
Expected behavior
Telegram inbound updates should be durable and should not be blocked by outbound delivery failures such as
sendChatActionorsendMessagetimeouts.A Telegram network timeout should at worst delay outbound delivery. It should not silently prevent later direct messages from reaching the agent session.
Why this matters
From the user's perspective, the assistant appears to stop replying even though messages were sent. This is particularly confusing because later messages may start working again, making the issue look intermittent.
Suggested fixes
sendChatActionbest-effort only. Failure should not affect inbound update processing or lane health.send_attempt_starteddelivery state after reconnect instead of refusing blind replay indefinitely.Reproduction idea
api.telegram.orgtraffic.