-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Telegram main session can remain unrecoverable after Codex app-server startup failure #85804
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.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:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.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
After Codex app-server startup retries exhausted, a Telegram-backed main session was interrupted. A gateway restart brought the service back, but main-session restart recovery could not resume the interrupted transcript:
The user-visible symptom was not a clear failure message. The Telegram conversation appeared to stall, then later replies appeared missing or out of context. Manual messages sent through the message tool still worked, so the transport was alive while the agent-session path was unhealthy.
This may be downstream of #83959, but the recovery/user-facing behavior seems distinct enough to track separately.
Version / environment
2026.5.20Sanitized timeline
The raw logs contained local paths, account details, and session identifiers; those have been replaced below.
Impact
Expected behavior
If an embedded Codex run fails before reply and the gateway later cannot resume the interrupted main-session transcript, OpenClaw should surface a bounded, sanitized failure/recovery message to the affected chat or reset the session cleanly enough that the next user turn is coherent.
Useful behaviors might include:
Related