Repository navigation
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open: the PR addresses a real cron timeout failure and has sufficient live-log proof, but the current head still has a blocking config-help mismatch and a maintainer-visible availability tradeoff from lengthening the default watchdog window. Canonical path: Close this PR as superseded by #83111. So I’m closing this here and keeping the remaining discussion on #83111. Review detailsBest possible solution: Close this PR as superseded by #83111. Do we have a high-confidence way to reproduce the issue? Yes, with source and live-log evidence rather than a local rerun. Current main hardcodes 60s watchdogs, and the linked real deployment completed the same isolated cron class after the equivalent 180s watchdog change. Is this the best way to solve the issue? Mostly yes, after the help-text fix. The runtime/config/test shape is narrow and matches the observed recovery, but the 3m default is still an availability policy choice for maintainers. Security review: Security review cleared: The diff touches cron timer/config logic, docs, and tests; I found no dependency, workflow, secret-handling, package, or supply-chain concern. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 755263499672. |
|
I can provide the real-behavior proof this PR needs. I hit the exact same issue on a self-hosted Raspberry Pi 5 running OpenClaw 2026.5.12 ( Environment
Failure ModeAll 19 isolated
Timeline of a Failing Run (before fix)Fix AppliedPatched both constants in Cleared Node compile cache, restarted gateway. Result After FixThe Pi hardware health check job completed successfully in ~130s. Job status changed from Cross-referenceI independently submitted #83066 with the same fix before finding this PR. Happy to close mine in favor of this one — just wanted to provide the live proof the maintainers are asking for. cc @joshavant (assigned to #82662 which is the same root cause) |
ce2357a to
1490aa8
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
dc131bb to
9913404
Compare
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
|
ClawSweeper applied the proposed close for this PR.
|
Summary
cron.isolatedAgentSetupWatchdogandcron.isolatedAgentPreExecutionWatchdogconfig fieldsWhy
Some isolated agent cron jobs can spend more than 60s in provider/runtime startup before first execution progress, especially on loaded hosts or with larger bootstraps. The previous hardcoded watchdog could abort these jobs at the pre-execution dispatch phase even when direct agent execution is healthy.
Safety
timeoutSecondsReal behavior proof
agentTurncron jobs could fail during setup or pre-execution startup at the old hardcoded 60s watchdog, even when the underlying agent execution was otherwise healthy.f066dd2), systemd service, OAuth viaopenai-codex,openai/gpt-5.4primary withopenai/gpt-5.4-minifallback. See Kip's PR comment: fix(cron): make isolated agent watchdogs configurable #82223 (comment)60000to180000, cleared Node compile cache, restarted Gateway, and reran the affected isolated cron class. This PR matches that observed fix by making both setup and pre-execution watchdog defaults3mthrough typed source/config/docs coverage.errortookand completed successfully in about 130s withaborted=false, which is inside the new 180s default setup/pre-execution watchdog budget.Additional redacted local Gateway proof from a real OpenClaw setup:
Before the watchdog change, representative isolated agent cron runs failed during startup/pre-execution cleanup with the phase-specific diagnostic below, even though direct agent execution was healthy:
After applying the equivalent local runtime change to use a longer isolated-agent setup/pre-execution watchdog and restarting the Gateway, the same representative isolated cron class completed instead of being aborted at the old 60s ceiling:
This PR turns that local recovery into typed config, schema validation, docs, and regression coverage rather than keeping a dist-only local patch. The public evidence above is intentionally redacted to avoid exposing local paths, private job names, or private network details.
Test plan
git diff --checknode_modules, sonode scripts/run-vitest.mjs ...cannot resolvevitest/package.jsonwithout installing dependencies.