Skip to content

fix(claw-api): defer openclaw wakes during startup#162

Merged
mostlydev merged 1 commit intomasterfrom
issue-160-openclaw-scheduler-liveness
Apr 15, 2026
Merged

fix(claw-api): defer openclaw wakes during startup#162
mostlydev merged 1 commit intomasterfrom
issue-160-openclaw-scheduler-liveness

Conversation

@mostlydev
Copy link
Copy Markdown
Owner

Summary

  • defer openclaw-exec wakes while the target container is still in Docker health starting or unhealthy
  • give OpenClaw wakes a longer exec timeout budget instead of forcing every adapter through the generic 30 second limit
  • add scheduler tests for the OpenClaw timeout and health-deferral policy, and record the behavior in the changelog

Root Cause

After the cron-store repair, the remaining live scheduler failures were wake-error with detail exec timed out. claw-api was still treating every wake as a generic blocking exec with a fixed 30 second timeout, so OpenClaw startup lag and slow openclaw cron run <id> responses were being recorded as failed fires and pushed into degraded throttling.

Validation

  • go test ./...

Notes

  • This PR is the scheduler-side mitigation for the live Tiverton incident.
  • It does not yet implement the broader container-exit/watchdog behavior for persistently unhealthy OpenClaw services.

Refs #160

@mostlydev mostlydev marked this pull request as ready for review April 15, 2026 20:18
@mostlydev mostlydev merged commit 6f159d5 into master Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant