-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Embedded agent runs intermittently stall at embedded_run:started (no progress, no hook execution) — v2026.6.9 through v2026.6.11 #103683
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: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.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.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
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: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.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.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Environment
Symptom
Embedded-transport agent runs intermittently hang at
embedded_run:startedand never progress. Diagnostics emit repeatedly:The session queue backs up (queueDepth>=1) and the agent stops responding in its channel until the gateway is restarted. codex-transport runs are never affected.
Evidence gathered
agent_turn_preparehook: every embedded run stalled before the handler executed. File-based tracers at the first line of the handler never fired — the hang is in the host betweenembedded_run:startedand handler invocation, not in plugin code. Disabling the plugin restored embedded runs; A/B repeated twice.agent_turn_prepareis in PLUGIN_HOOK_NAMES; registration succeeds;runModifyingHookwraps handlers in try/catch and (when opts.timeoutMs is set)withHookTimeout— none of that engages because the handler is never reached.pluginNextTurnInjections(session entries show none at stall time), MCP server spawn (wrappers healthy / not spawned for embedded runs at all), model/provider (occurs on openai-transport gpt-5.x runs with no plugin fetch in flight).active_work_without_progresscannot distinguish a live long run from a dead one — which also makes external auto-recovery watchdogs risky.Impact
Agents intermittently stop responding fleet-wide until a manual/cron gateway restart.
recovery=none— no self-healing path.Asks
embedded_run:startedand first hook/model progress).