mirror of
https://github.com/Chevron7Locked/kima-hub.git
synced 2026-06-19 07:37:17 +00:00
07031f315d
The podcast dedup-on-failure trap was live on three more queues. The artist and mood-tags phases never cleaned their queues at all, so a failed job's jobId marker blocked re-queue until BullMQ's 24h removeOnFail age expired -- far slower than the worker's documented intent to re-pick-up a failed track. The admin vibe start/retry routes cleaned only completed jobs, so 'Retry failed embeddings' silently dropped tracks with a lingering failed job. Automatic phases now clean completed (grace 0, immediately reusable on success) and failed (15-min grace, so a permanently-failing entity retries on a backoff instead of every 5s cycle). The manual admin retry routes clean failed immediately -- the user asked to retry now. Adds a 3-test regression suite asserting the grace-0-completed / grace-positive-failed split.