-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Telegram direct replay can send overlong Copilot reasoning item IDs #85197
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.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.maintainerMaintainer-authored PRMaintainer-authored PR
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.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.maintainerMaintainer-authored PRMaintainer-authored PR
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Telegram direct-session replies can fail before assistant output when GitHub Copilot native Responses replays a persisted reasoning item
idlonger than the provider's 64-characterinput[].idlimit.Steps to reproduce
gpt-5.5.thinkingSignaturereasoning item with an overlongid.input[]payload from session history.Expected behavior
OpenClaw should preserve valid short Responses replay item IDs, but normalize oversized replay item IDs before dispatch so resumed Telegram sessions can continue.
Actual behavior
The Telegram message is accepted and dispatched, but the agent run fails before assistant output. The gateway then records the inbound message as completed even though no assistant reply is produced.
OpenClaw version
NOT_ENOUGH_INFO
Operating system
NOT_ENOUGH_INFO
Install method
NOT_ENOUGH_INFO
Model
github-copilot/gpt-5.5
Provider / routing chain
OpenClaw -> GitHub Copilot native Responses
Additional provider/model setup details
The affected run used the OpenAI Responses request path for GitHub Copilot. The failure was observed on a Telegram direct session with existing persisted assistant reasoning replay history.
Logs, screenshots, and evidence
Impact and severity
Affected: Telegram direct sessions routed to GitHub Copilot native Responses with persisted overlong reasoning replay item IDs.
Severity: High, because the model request is rejected before assistant output and the Telegram UX receives no useful assistant reply.
Frequency: At least seven observed failures with the same provider rejection hash on 2026-05-22.
Consequence: Inbound Telegram messages are accepted and processed, but resumed agent turns fail before producing an assistant response.
Additional information
This is related to prior Copilot replay hardening for tool/function replay IDs, but the observed failure is specifically a persisted Responses
reasoningitemidparsed fromthinkingSignature. The OpenAI SDK types do not encode the 64-character item ID limit; the limit is from the live provider rejection shown above.