Repository navigation
v0.3.60
Auto-release from commit 0356a13
Changes
fix(worker): Allow claiming jobs after idle timeout model unload
The claim loop was checking if Python was running and skipping claims
if it wasn't. This caused a deadlock after idle timeout:
- Idle timeout kills Python, sets pythonRunning=false, activeModel=nil
- Claim loop sees pythonRunning=false → skips claiming forever
- loadModel() (which restarts Python) never called
- Worker stuck in deadlock
The fix distinguishes between:
- Intentional unload (activeModel=nil): Allow claiming, Python restarts
- Crash state (activeModel set, Python dead): Skip claiming
Fixes: Worker stops claiming jobs after 5 minute idle timeout
🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com