openclaw - 💡(How to fix) Fix Isolated cron jobs fail: Cannot read properties of undefined (reading 'sourceReplyDeliveryMode')

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…

Error Message

TypeError: Cannot read properties of undefined (reading 'sourceReplyDeliveryMode')

Code Example

TypeError: Cannot read properties of undefined (reading 'sourceReplyDeliveryMode')
RAW_BUFFERClick to expand / collapse

Bug Report

All sessionTarget: "isolated" cron jobs fail immediately with:

TypeError: Cannot read properties of undefined (reading 'sourceReplyDeliveryMode')

First appeared: 2026.5.18 (May 18, 2026) Still present: 2026.5.19 Last working: 2026.5.12

Details

  • Jobs fail in ~90-250ms — the agent never starts
  • The error occurs in the isolated agent runner initialization, before any agent turn begins
  • Affects ALL isolated cron jobs regardless of:
    • delivery mode (none or announce)
    • sessionKey presence
    • wakeMode (now or next-heartbeat)
  • Jobs with sessionTarget: "main" (systemEvent payload) are unaffected

Working vs Broken Comparison

JobsessionTargetDeliveryStatus
Monday Pipelineisolatedannounce✅ Last ran successfully May 18 8 AM (before update)
Friday Reviewisolatednone✅ Last ran successfully May 16 3 PM
Morning Briefingisolatednone → announce❌ Failing since May 18
Lead Response Monitorisolatednone → announce❌ Failing since May 18
Daily Content Scrapeisolatednone → announce❌ Failing since May 18
Daily Note Generatorisolatedannounce❌ Never ran (created after regression)
Jesse Sadlowski Prepmain (systemEvent)n/a✅ Not yet due

Reproduction

  1. Create any cron job with sessionTarget: "isolated" and payload.kind: "agentTurn"
  2. Trigger it (scheduled or manual cron run)
  3. Observe immediate failure with sourceReplyDeliveryMode error

Environment

  • macOS 15.x (Apple Silicon)
  • Node v25.9.0
  • OpenClaw 2026.5.19 (installed via npm)
  • Model: zai/glm-5
  • Channel: Telegram

Run History (example job)

Last successful run: 2026-05-17 08:00 MDT — completed in 17s, glm-5, normal usage First failed run: 2026-05-18 08:00 MDT — failed in 148ms with the undefined error All subsequent runs: same error, same ~100-250ms duration

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