-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Media generation succeeds but completion delivery fails and looks like generation failure #86034
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for 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.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
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for 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.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
image_generatecan complete successfully and produce a usable media artifact, but OpenClaw can still emit acompletion delivery failedstyle receipt because it fails to wake or deliver the completion back to the original chat/session.This is not an image generation failure. The artifact was generated, retrieved, and usable for downstream processing.
Environment
2026.5.22 (a374c3a)127.0.0.1:18789, reachableopenclaw statusopenai/gpt-5.5through a local OpenAI-compatible proxyWhat happened
image_generatejob..openclaw/media/tool-image-generation/....Actual behavior
The user receives a failure receipt that reads like the generation failed, even though the generation artifact exists and is valid. Logs show the media artifact path and an
image_generate:...:okrun, but also a failed wake/delivery path.Sanitized log evidence:
openclaw statusat the same time showed the gateway reachable, Slack enabled/OK, and active sessions under the same agent. This does not look like a gateway-down or image backend failure.Expected behavior
image_generatetask with a media artifact should be treated as generation success.image_generate:...:ok, even when the final delivery attempt times out.Impact
The current behavior makes users think generation failed and encourages retries, which can duplicate media jobs, waste quota/time, and obscure that a valid artifact already exists. It also leaves the channel/session state looking stalled even though the underlying media job completed.
Notes
Full local logs contain tokens and local paths, so the snippets above are intentionally redacted. I can provide more targeted sanitized excerpts if useful.