fix(delivery): never block manual sends on waiting_for_faces (BIT-151) #152

Merged
spark merged 1 commits from task/BIT-151-delivery-no-face-wait into main 2026-11-03 13:20:39 +00:00
Owner

Summary

  • Manual Enviar / Melhores no longer sits on waiting_for_faces
  • Face wait only for every-arrival destinations, only while faces are PENDING/RUNNING, and only if path/IPTC needs {players}
  • NONE never waits (waiting cannot create a face job)

Test plan

  • vitest run --config vitest.unit.config.ts src/delivery/faces-wait.test.ts
  • tsc --noEmit in apps/api
  • integration delivery.test (needs DATABASE_URL_TEST)
  • After deploy: stuck QUEUED items retry and leave for the cloud without waiting
## Summary - Manual Enviar / Melhores no longer sits on `waiting_for_faces` - Face wait only for every-arrival destinations, only while faces are PENDING/RUNNING, and only if path/IPTC needs `{players}` - `NONE` never waits (waiting cannot create a face job) ## Test plan - [x] `vitest run --config vitest.unit.config.ts src/delivery/faces-wait.test.ts` - [x] `tsc --noEmit` in apps/api - [ ] integration delivery.test (needs DATABASE_URL_TEST) - After deploy: stuck QUEUED items retry and leave for the cloud without waiting
spark added 1 commit 2026-11-03 13:20:21 +00:00
fix(delivery): never block manual sends on waiting_for_faces (BIT-151)
ci / rust (pull_request) Successful in 8m11s
ci / typescript (pull_request) Failing after 10m42s
1279294e8d
Photographers who already asked to send must not sit on faces NONE/PENDING.
Only every-arrival destinations may wait, and only while a face read is in
flight and the pad/path needs {players}.
spark merged commit 22c1d0530b into main 2026-11-03 13:20:39 +00:00
Sign in to join this conversation.