openclaw - 💡(How to fix) Fix Cron agent turn can perform side effects then time out before final artifact delivery

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

A scheduled Codex app-server agent turn can successfully perform the requested side effect, then stall before emitting the final assistant artifact. OpenClaw marks the cron run as failed and sends a timeout alert even though the external artifact exists.

This is distinct from a pure pre-side-effect timeout: the scheduler currently has no reconciliation step that can detect the already-created artifact and convert the run into a successful or partially successful result.

Root Cause

A scheduled Codex app-server agent turn can successfully perform the requested side effect, then stall before emitting the final assistant artifact. OpenClaw marks the cron run as failed and sends a timeout alert even though the external artifact exists.

This is distinct from a pure pre-side-effect timeout: the scheduler currently has no reconciliation step that can detect the already-created artifact and convert the run into a successful or partially successful result.

Fix Action

Fix / Workaround

Local mitigation used

RAW_BUFFERClick to expand / collapse

Summary

A scheduled Codex app-server agent turn can successfully perform the requested side effect, then stall before emitting the final assistant artifact. OpenClaw marks the cron run as failed and sends a timeout alert even though the external artifact exists.

This is distinct from a pure pre-side-effect timeout: the scheduler currently has no reconciliation step that can detect the already-created artifact and convert the run into a successful or partially successful result.

Observed

  • OpenClaw version: 2026.5.18.
  • Runtime: Codex app-server via a scheduled agentTurn.
  • The job created and pushed the expected GitHub pull request.
  • Later, the turn hit terminal idle timeout and surfaced:
    • Request timed out before a response was generated. Please try again, or increase agents.defaults.timeoutSeconds in your config.
  • Internal diagnostic for the timed-out turn showed the last activity was a completed reasoning item, followed by no terminal event until the watchdog fired.
  • The cron state became failed and triggered a failure alert, even though a fresh GitHub query showed the expected PR artifact existed.

Expected

For scheduled jobs with explicit completion artifacts, OpenClaw should support one or both of:

  • A post-timeout reconciliation hook/check that can inspect declared artifacts and emit a verified partial/success state when the side effect exists.
  • More specific timeout diagnostics that distinguish no side effect performed from side effect performed but final assistant message was not captured.

At minimum, the user-facing timeout guidance should not imply that increasing only agents.defaults.timeoutSeconds is the correct fix when the failure is an app-server terminal-idle stall after side effects.

Local mitigation used

The affected cron prompt was tightened to:

  • Preflight-check for an existing matching PR and exit without creating duplicates.
  • Finish immediately after verifying the PR exists instead of waiting for CI/review/secondary systems.
  • Use a lower reasoning setting for this small-refactor creator job.

A separate review/merge cron was then run to reconcile the existing PR.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Cron agent turn can perform side effects then time out before final artifact delivery