Skip to content

v0.3.60

Choose a tag to compare

@github-actions github-actions released this 07 Jan 18:07
· 9 commits to main since this release

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:

  1. Idle timeout kills Python, sets pythonRunning=false, activeModel=nil
  2. Claim loop sees pythonRunning=false → skips claiming forever
  3. loadModel() (which restarts Python) never called
  4. 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