Skip to content

Telegram voice message delayed ~15 minutes before agent dispatch, then run aborts #86986

Description

@leamara-2026

Summary

A Telegram voice note sent to the Marc Schmid bot was received by Telegram at 19:10:43 CEST, but OpenClaw did not dispatch it to the Marc agent until 19:25:04 CEST. The agent run then started at 19:25:12 CEST and was aborted at 19:25:14 CEST, so no text reply, voice reply, or CRM capture happened.

This appears to be an inbound Telegram polling/dispatch latency regression, not normal model latency and not slow voice transcription.

Evidence

  • Telegram source message: marc-schmid:8769792662:268
  • Telegram message timestamp: 2026-05-26 19:10:43 CEST
  • Dispatch marker: ["message","8769792662",268] = 1779816304402 => 2026-05-26 19:25:04 CEST
  • Marc session/run created: 2026-05-26T17:25:12.783Z => 19:25:12 CEST
  • Run aborted: 2026-05-26T17:25:14.889Z => 19:25:14 CEST
  • Abort reason: turn_aborted, duration 2537ms
  • No assistant reply/tool send/audio delivery observed after the run started.

Expected behavior

Telegram voice messages should be dispatched to the target agent quickly, ideally within a few seconds, and should produce at least a visible acknowledgement or clear failure message if voice transcription, dispatch, or agent execution fails.

Actual behavior

The inbound message waited roughly 14m21s before dispatch. After dispatch, the agent run was interrupted within ~2.5 seconds.

Suspected failure area

Telegram inbound polling/dispatch path for multi-account bots, especially voice messages. The transcript was present by the time the agent was invoked, so the delay likely happened before agent execution rather than inside model reasoning.

Recommended fix

  • Add an inbound latency watchdog comparing Telegram message.date against dispatch time.
  • If latency exceeds a threshold such as 60 seconds, log account id, chat id, message id, media type, and restart/alert the Telegram polling runner.
  • Emit a visible fallback/error if a voice-message run is aborted after dispatch before replying.
  • Add regression coverage for voice-message dispatch latency and aborted voice-message turns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.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.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions