Delivery retract: cloud kept unpicked photos after flag cleared outside API (Chegada SNAM) #136

Closed
opened 2026-11-02 21:57:06 +00:00 by spark · 0 comments
Owner

What happened

On event 3af6a141 (Chegada Seleção Nacional Masculina, 2026-11-02):

  • App showed 105 PICK
  • Nextcloud SNAM still had ~147 files

Finding

  • REJECT via the app works. All 24 REJECT photos were already RETRACTED (0 still DONE).
  • The gap was 45 DONE deliveries whose photos were NONE, still on the cloud. Those flags were cleared without going through PATCH /photos → retractPhotos (same window as an emergency soft-face SQL unpick earlier tonight).
  • Worker then took them back (delivery: taken back from the destination). Cloud live is now 105 = 105 PICK.

Fix

PR hardening: worker periodically queues retract for any DONE/WAITING item whose photo is REJECT even if retractPhotos was skipped; refuse to upload a rejected photo; tests for reject/un-pick retract.

## What happened On event `3af6a141` (Chegada Seleção Nacional Masculina, 2026-11-02): - App showed **105 PICK** - Nextcloud SNAM still had **~147** files ## Finding - **REJECT via the app works.** All 24 REJECT photos were already `RETRACTED` (0 still DONE). - The gap was **45 DONE deliveries whose photos were `NONE`**, still on the cloud. Those flags were cleared without going through `PATCH /photos` → `retractPhotos` (same window as an emergency soft-face SQL unpick earlier tonight). - Worker then took them back (`delivery: taken back from the destination`). **Cloud live is now 105 = 105 PICK.** ## Fix PR hardening: worker periodically queues retract for any DONE/WAITING item whose photo is `REJECT` even if `retractPhotos` was skipped; refuse to upload a rejected photo; tests for reject/un-pick retract.
spark closed this issue 2026-11-03 00:32:56 +00:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BitReport.pt/photoreport#136