Skip to content

fix(agents): keep lane timeout alive during long tool execution#94060

Closed
LiLan0125 wants to merge 1 commit into
openclaw:mainfrom
LiLan0125:fix/94033-cron-lane-timeout-progress-heartbeat
Closed

fix(agents): keep lane timeout alive during long tool execution#94060
LiLan0125 wants to merge 1 commit into
openclaw:mainfrom
LiLan0125:fix/94033-cron-lane-timeout-progress-heartbeat

Conversation

@LiLan0125

@LiLan0125 LiLan0125 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Superseded by upstream refactor in bb46b79 (refactor: internalize OpenClaw agent runtime #85341). The new embedded-agent-runner/run.ts has a more sophisticated lane progress heartbeat mechanism (startLaneProgressHeartbeat/stopLaneProgressHeartbeat with EMBEDDED_RUN_LANE_HEARTBEAT_MS).

Cron isolated agents running long tools (5+ minutes) hit
CommandLaneTaskTimeoutError because noteLaneTaskProgress() was
never called during tool execution. The sliding lane-timeout
window expired even though the configured timeoutSeconds had
not been reached.

Add a 30-second progress heartbeat during runEmbeddedAttemptWithBackend
to keep the lane timeout alive, and clear it in the finally block.

Closes openclaw#94033
@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS proof: supplied External PR includes structured after-fix real behavior proof. labels Jun 17, 2026
@LiLan0125 LiLan0125 closed this Jun 19, 2026
@openclaw-barnacle openclaw-barnacle Bot added triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. and removed proof: supplied External PR includes structured after-fix real behavior proof. labels Jun 19, 2026
@LiLan0125

Copy link
Copy Markdown
Contributor Author

Closing — upstream commit bb46b79 (refactor: internalize OpenClaw agent runtime) already includes the lane timeout progress heartbeat fix. No separate PR needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant