-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
Codex app-server idle watchdog fires after image_generation_call raw completed item #87948
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: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: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.
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: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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
A Codex app-server turn can be retired by the idle watchdog after an image-generation item completes. This looks like the same liveness/watchdog class as #82274, but the last delivered raw item is
image_generation_callrather thancustom_tool_call_output.User-facing symptom: the Telegram task appears to silently stop after image generation work. No final assistant response is delivered, and the session later ends as
interrupted.Environment
2026.5.27gpt-5.5Observed timeline
A Telegram turn that was generating a batch of images got stuck in
model_callafter image generation progress had already been reported.Sanitized log/signature:
The session trajectory later ended with:
The important part is that OpenClaw saw a
rawResponseItem/completednotification for an item of typeimage_generation_call, but did not receive a terminal completion event for the turn. After the idle window, the app-server client was retired. From the user's perspective the task just stopped without the final answer.Why this looks related to existing reports
This is very close to:
custom_tool_call_outputpath.This repro differs in the last item type:
So this may be an adjacent edge case in the same watchdog/liveness logic, where completed image-generation items are not enough to guarantee the turn will either continue streaming or close cleanly.
Expected behavior
After a completed
image_generation_callraw item, the Codex app-server/OpenClaw wrapper should either:It should not leave the user-facing Telegram task in a silent/ambiguous interrupted state.
Suggested investigation
Check whether the liveness/watchdog handling added around #82378 treats
image_generation_callitems differently fromcustom_tool_call_output, especially when the raw item is completed but noturn/completedevent follows.A useful regression would simulate:
and assert that the wrapper reports a clear timeout/failure path, preserves diagnostics, and does not make the Telegram session look like a silent interruption.