mirror of
https://github.com/hanzoai/forge.git
synced 2026-11-23 20:14:26 +00:00
A runner skips PickTask while its queue version equals the latest, so a bump that failed, or a wait made without one, leaves matching idle runners asleep until something else bumps. Seen today: jobs re-queued by the forge and rows cancelled in the database sat unpicked until a manual bump. The wake_runners cron runs every minute and bumps the global version when a job has been waiting, unclaimed, for over a minute: status waiting, not a reusable caller, with a runs-on. The test takes the version table away while a transaction commits, sees the lost bump logged, and checks the next tick moves the version. Claude-Session: https://claude.ai/code/session_015XYKLo5aivJF2MHLneVUYc