wangdl cb24e5fb96
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 45s
fix: job-reaper batch-loop instead of single take:500 to avoid missing jobs
- Replace single findMany(take:500) with cursor-based while loop
- REAP_BATCH_SIZE=500 constant; processes all stuck running + expired jobs
- Prevents missing jobs when >500 are stuck simultaneously
- Update tests: reset mocks before custom chains, explicit call ordering

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 11:45:36 +08:00
..