openclaw - 💡(How to fix) Fix Isolated agent cron jobs failing: stalled before first model call [1 comments, 2 participants]

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…
GitHub stats
openclaw/openclaw#81475Fetched 2026-05-14 03:31:43
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
2
Author
Timeline (top)
mentioned ×3subscribed ×3closed ×1commented ×1
  • Gateway model: Switched from anthropic/claude-sonnet-4-7-2025-06-05 to minimax/MiniMax-M2.5 around May 8-10, 2026
  • The launchpad-scout cron (8:30 AM) runs successfully using openai-codex/gpt-5.5 with timeoutSeconds: 0
  • The failing jobs also specify openai-codex/gpt-5.5 but fail with the dispatch stall
  • One suspicious difference: scout uses timeoutSeconds: 0 (no timeout) while others use 120-300s limits

Error Message

lastError: "cron: isolated agent run stalled before first model call (last phase: attempt-dispatch)" lastPhase: "attempt-dispatch" lastDurationMs: 60709 (~60s before stall)

Root Cause

  • Gateway model: Switched from anthropic/claude-sonnet-4-7-2025-06-05 to minimax/MiniMax-M2.5 around May 8-10, 2026
  • The launchpad-scout cron (8:30 AM) runs successfully using openai-codex/gpt-5.5 with timeoutSeconds: 0
  • The failing jobs also specify openai-codex/gpt-5.5 but fail with the dispatch stall
  • One suspicious difference: scout uses timeoutSeconds: 0 (no timeout) while others use 120-300s limits

Fix Action

Fix / Workaround

Multiple isolated agent cron jobs are failing with: cron: isolated agent run stalled before first model call (last phase: attempt-dispatch)

lastError: "cron: isolated agent run stalled before first model call (last phase: attempt-dispatch)"
lastPhase: "attempt-dispatch"
lastDurationMs: 60709  (~60s before stall)

The lastPhase: attempt-dispatch suggests the cron scheduler triggers the isolated session but the session dispatch to the LLM provider fails.

Code Example

lastError: "cron: isolated agent run stalled before first model call (last phase: attempt-dispatch)"
lastPhase: "attempt-dispatch"
lastDurationMs: 60709  (~60s before stall)
RAW_BUFFERClick to expand / collapse

Bug Description

Multiple isolated agent cron jobs are failing with: cron: isolated agent run stalled before first model call (last phase: attempt-dispatch)

Affected Jobs

All jobs that use sessionTarget: isolated with payload.kind: agentTurn:

  • portfolio-briefing (7:30 AM weekdays) — 3 consecutive errors
  • cortex-daily-digest (8 AM weekdays) — 4 consecutive errors
  • portfolio-daily-perf (8:15 AM) — 1 error
  • launchpad-briefing (9 AM weekdays) — 1 error
  • max-session-emit (daily) — 1 error

Jobs using sessionTarget: main with payload.kind: systemEvent appear unaffected.

Error Details

lastError: "cron: isolated agent run stalled before first model call (last phase: attempt-dispatch)"
lastPhase: "attempt-dispatch"
lastDurationMs: 60709  (~60s before stall)

The lastPhase: attempt-dispatch suggests the cron scheduler triggers the isolated session but the session dispatch to the LLM provider fails.

Context

  • Gateway model: Switched from anthropic/claude-sonnet-4-7-2025-06-05 to minimax/MiniMax-M2.5 around May 8-10, 2026
  • The launchpad-scout cron (8:30 AM) runs successfully using openai-codex/gpt-5.5 with timeoutSeconds: 0
  • The failing jobs also specify openai-codex/gpt-5.5 but fail with the dispatch stall
  • One suspicious difference: scout uses timeoutSeconds: 0 (no timeout) while others use 120-300s limits

Questions

  1. Is attempt-dispatch the right phase to fail on? Should this be handled more gracefully?
  2. Could the model switch be related — even though the jobs specify openai-codex/gpt-5.5 explicitly?
  3. Any recent changes to the isolated session dispatch that might have introduced this?

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 Isolated agent cron jobs failing: stalled before first model call [1 comments, 2 participants]