-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Description
Summary
This was reported as fixed in #10788 via #11641 (commit 8fae55e), but the issue persists on v2026.2.16 built from latest main. Opening fresh as requested. Cron jobs registered with sessionTarget: "isolated" never execute. Jobs remain idle with nextRunAtMs: null. Crons targeting "main" work correctly. This completely blocks Antfarm workflow execution.
Steps to reproduce
- Build OpenClaw v2026.2.16 from source (Docker Compose)
- Install Antfarm v0.5.1 (antfarm install)
- Start a workflow (antfarm workflow run feature-dev "any task")
- Check openclaw cron list — all Antfarm jobs show idle, never fire
- Check antfarm workflow status — all steps remain [pending]
Expected behavior
Cron scheduler should wake isolated agent sessions every 5 minutes to poll for pending Antfarm work.
Actual behavior
Scheduler never fires for isolated targets. nextWakeAtMs is null in jobs.json. No errors logged.
Setup:
OpenClaw v2026.2.16 (built from moltbot/clawdbot repo, Docker Compose)
Antfarm v0.5.1
WSL2 Ubuntu 24, Docker Desktop
Auth mode: token
Symptom:
antfarm install succeeds, registers 21 agents and cron jobs
openclaw cron status shows enabled: true, 29 jobs
openclaw cron list shows Antfarm jobs but ALL remain idle — Last: -, nextRunAtMs: null
Polymarket crons (sessionTarget: main) fire normally
Antfarm crons (sessionTarget: isolated) never fire
openclaw sessions --active 30 shows zero sessions for any Antfarm agent
No errors in logs — completely silent failure
What I tried (none worked):
Upgraded OpenClaw from 2026.2.13 → 2026.2.16
Upgraded Antfarm from v0.2.1 → v0.5.1
antfarm workflow ensure-crons feature-dev
Added content to all agent HEARTBEAT.md files (were comment-only)
Multiple docker compose restart
Token sync between gateway.auth.token, gateway.remote.token, and OPENCLAW_GATEWAY_TOKEN env var
Reinstalled openclaw CLI globally, symlinked to /home/node/.local/bin
Key observation:
Crons with sessionTarget: "main" work fine. Crons with sessionTarget: "isolated" never execute. The scheduler is enabled, jobs are registered, but the timer never wakes for isolated targets.
{
"agentId": "feature-dev_planner",
"sessionKey": "agent:main:main",
"sessionTarget": "isolated",
"wakeMode": "now",
"schedule": { "kind": "every", "everyMs": 300000 },
"payload": { "kind": "agentTurn", "message": "..." }
}
nextWakeAtMs in jobs.json is null even after restart. The scheduler never picks up isolated session jobs.
This is blocking Antfarm entirely — all workflow steps stay at [pending] forever.
OpenClaw version
2026.2.16
Operating system
Ubuntu 24
Install method
docker (built from source via docker build -t moltbot:local . + docker compose up -d)
Logs, screenshots, and evidence
Impact and severity
High Impact: Blocks all Antfarm workflow execution — no multi-agent workflows can run
Additional information
No response