Index every added photograph before a second face reading #117

Merged
spark merged 1 commits from task/index-added-photos into main 2026-10-22 03:31:03 +01:00
Owner

Fixes #116

Unread photographs (faces_pass 0) are claimed before a second reading. Within each, the last 30 days still come first, newest game first.

Test plan

  • vitest src/faces/claim-order.test.ts
  • tsc --noEmit in apps/api
  • After deploy, a pending faces_pass 0 photo older than 30 days is claimed while recent faces_pass 1 photos are still pending
Fixes https://git.bitreport.pt/BitReport.pt/photoreport/issues/116 Unread photographs (faces_pass 0) are claimed before a second reading. Within each, the last 30 days still come first, newest game first. ## Test plan - [x] vitest src/faces/claim-order.test.ts - [x] tsc --noEmit in apps/api - [ ] After deploy, a pending faces_pass 0 photo older than 30 days is claimed while recent faces_pass 1 photos are still pending
spark added 1 commit 2026-10-22 03:22:56 +01:00
Index photographs that were never read before a second pass.
ci / rust (pull_request) Successful in 4m44s
ci / typescript (pull_request) Successful in 7m50s
46e5956f16
The last month was full of photographs already analysed, so the older ones that had been added never started.
spark merged commit aabe9f7e83 into main 2026-10-22 03:31:03 +01:00
Sign in to join this conversation.