-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Diagnostic recovery should not be suppressed by stuck-session warning backoff #92742
Copy link
Copy link
Closed
Closed
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.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
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.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
During a QQ direct incident on 2026-06-13, a stale active run blocked the
agent:main:direct:c_totallane. The user message arrived at 19:49:59, but Gateway did not begin processing it until 20:06:11. First visible reply was sent at 20:07:44, for an end-to-end first response delay of about 17m45s.The diagnostic subsystem did detect the stuck/long-running session, but the same warning backoff path also suppressed follow-up recovery checks until much later. In the observed incident,
abort_embedded_rundid not release the lane until 20:00:42.Evidence
stuck session/long-running session,queueDepth=1.queued_behind_active_work.openclaw-hooksprocesses; earlier same-day notes observed D-state hooks consuming several GB.Local Hotfix Applied
In
dist/diagnostic-BxXuHqy7.js, the warning backoff conditions were changed from:to:
for both
session.stuckandsession.long_running.This keeps log throttling while still allowing recovery-eligible sessions to run the recovery path.
Validation
node --checkpassed for the patched file.Proposed Upstream Fix
openclaw-hooksprocesses.Related Follow-Ups
200 OKwhen no additional post-send work is required.