You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: detect dead agent processes and reduce stale timeout to 10 minutes
The agent could get stuck forever if the node process died mid-loop
(OOM, network error, stuck execSync) without writing a done/error entry.
The only recovery was a 1-hour safety valve.
Now syncAgentProgress checks if the agent process is actually alive via
pgrep. If the process is dead but no done/error was logged, it cleans
up immediately so the user can retry. Also reduced the safety valve
from 1 hour to 10 minutes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments