Skip to content

Release 0.5.62

Choose a tag to compare

@techartdev techartdev released this 10 Mar 21:43
· 17 commits to main since this release

Fixed

  • Gateway restart loop (issue #95): openclaw gateway run is a thin wrapper that spawns openclaw-gateway as a long-running daemon then exits. The supervisor had two bugs: (1) pgrep pattern "openclaw.*(gateway|node).*run" never matched the daemon name openclaw-gateway, so self-restarts were never detected; (2) after re-tracking a self-restarted PID, wait failed with "pid N is not a child of this shell" (exit 127) because the new daemon was spawned by the old one, not by run.sh. The supervisor loop now uses pgrep -f "openclaw-gateway" for reliable daemon detection and switches to kill -0 polling for non-child PIDs instead of wait. The loopback relay (tailnet mode) is also stopped/restarted around supervisor-initiated gateway restarts to prevent port conflicts.

Full Changelog: v0.5.60...v0.5.62