Bug Fixes
- Self-healing message queue: Renamed
claimAndDelete→claimNextMessagewith atomic self-healing — automatically resets stale processing messages (>60s) back to pending before claiming, eliminating stuck messages from generator crashes without external timers - Removed redundant idle-timeout reset: The
resetStaleProcessingMessages()call during idle timeout in worker-service was removed (startup reset kept), since the atomic self-healing inclaimNextMessagenow handles recovery inline - TypeScript diagnostic fix: Added
QUEUEto loggerComponenttype
Tests
- 5 new tests for self-healing behavior (stuck recovery, active protection, atomicity, empty queue, session isolation)
- 1 new integration test for stuck recovery in zombie-prevention suite
- All existing queue tests updated for renamed method