-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Codex app-server stalls after inter-session sessions_send timeout #90673
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-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 live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.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.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.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: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-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 live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.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.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.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: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Summary
OpenClaw 2026.6.1 / Codex app-server can stall after an inter-session
sessions_senddelegation times out. In the observed incident, the target session had already received a completed tool result, then remained stuck inmodel_callwith no further assistant output or error. The caller then blocked onsessions_history. Other unrelated Codex sessions also stopped making progress.Environment
openai/gpt-5.5openai-chatgpt-responsesWhat happened
An agent delegated a task to another configured agent via
sessions_send. The target agent did useful work and completed local tool calls, but after the finalbashtool result the Codex app-server did not produce any next assistant item. Later diagnostics showed the target stuck inmodel_call. The requester also became stuck while waiting onsessions_history.After this, multiple independent sessions also showed stale active work.
Timeline / Evidence
Times below are Asia/Shanghai on 2026-06-05.
18:18:24gateway log:agent/embeddedcodex dynamic tool call timed outsessions_send90000msTarget session trajectory:
18:18:19:bashtool result completed successfully after reading trip index18:18:28: nextbashtool call started18:18:32:bashtool result completed successfully after reading a memory file18:28:59diagnostic:blocked_tool_callsessions_history18:30:20diagnostic:stalled_agent_runmodel_callcodex_app_server:request:item/tool/call:response18:30:20diagnostic also reported unrelated sessions stalled:model_callbashThis suggests the failure is broader than the original
sessions_sendcall and may involve Codex app-server/runtime progress handling.Expected behavior
sessions_sendtimeout should cleanly fail the caller.sessions_history.model_callshould have a hard timeout or recovery path.Actual behavior
sessions_sendtimed out.sessions_history.model_callafter a completed tool result.Mitigation applied locally
As a temporary workaround:
sessions_sendRequested fixes
model_call.sessions_sendtimeout cancels or detaches the target safely and releases the caller.sessions_historyafter delegation timeout.