Skip to content

[Bug]: Telegram inbound documents silently dropped if received during gateway restart/upgrade window #98076

Description

@DaveArcher18

Bug type

Data loss (inbound media dropped without notice)

Summary

Telegram document uploads that arrive during a gateway upgrade/restart window are silently dropped — never downloaded to media/inbound/, and the assistant is never told. The user believes the files were received; nothing lands on disk and there is no error surfaced to either side.

Environment

  • OpenClaw 2026.6.10 (macOS, claude-cli backend, Telegram channel)
  • Triggered by an in-session openclaw upgrade (2026.6.6 → 2026.6.10) followed by a gateway restart.

Steps to reproduce

  1. In a Telegram direct session, send one or more files as "File"/document (not plain photo).
  2. Within the same ~1–3 min window, trigger a gateway restart (e.g. version upgrade + restart).
  3. Observe: the inbound documents never appear in media/inbound/. No retry, no error event, no notice to the assistant or the user.

Expected behavior

Inbound media received around a restart should be durably queued and downloaded after the gateway comes back, or — if genuinely unrecoverable — an explicit "media not received / re-send" event should be surfaced so neither the user nor the assistant assumes success. Silent message-loss is the worst outcome.

Actual behavior

Two documents sent at 07:16 were never written to disk; the newest inbound file remained from the prior day. A re-send after the restart settled landed correctly, confirming the loss was restart-window-specific.

Related

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.impact:data-lossCan lose, corrupt, or silently drop user/session/config data.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions