Worker reclaim: DONE/WAITING deliveries whose photo is REJECT get queued for retract even if the library PATCH was skipped
Never upload a photo that is already REJECT
Tests for reject + un-pick retract
Prod note
Chegada SNAM cloud is already back to 105 files matching 105 picks; the 45 orphans were removed live.
Test plan
CI green
Reject a delivered photo → file disappears from Nextcloud
Un-pick (PICK→NONE) a delivered photo → file disappears
Fixes #136
## Summary
- Worker reclaim: DONE/WAITING deliveries whose photo is REJECT get queued for retract even if the library PATCH was skipped
- Never upload a photo that is already REJECT
- Tests for reject + un-pick retract
## Prod note
Chegada SNAM cloud is already back to 105 files matching 105 picks; the 45 orphans were removed live.
## Test plan
- [ ] CI green
- [ ] Reject a delivered photo → file disappears from Nextcloud
- [ ] Un-pick (PICK→NONE) a delivered photo → file disappears
A REJECT that bypasses the library PATCH (or races the upload) could leave
the file on Nextcloud; reclaim those on the worker tick and cover reject/un-pick in tests.
The bot did not approve or schedule a merge for this head.
Fix the branch, approve as CTO, or close the PR. The bot re-checks on the next run.
@cto — Gitea autopilot needs a CTO decision on BitReport.pt/photoreport#137: CI is red on the PR head.
- Head: `3751589db0b3`
- Detail: failed contexts: ci / rust (pull_request)
- The bot did **not** approve or schedule a merge for this head.
- Fix the branch, approve as CTO, or close the PR. The bot re-checks on the next run.
<!-- gitea-autopilot-escalation kind=ci_failure sha=3751589db0b3 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #136
Summary
Prod note
Chegada SNAM cloud is already back to 105 files matching 105 picks; the 45 orphans were removed live.
Test plan
@cto — Gitea autopilot needs a CTO decision on BitReport.pt/photoreport#137: CI is red on the PR head.
3751589db0b3auto-approve: CI success on
0afa84c211(gitea_auto_approve_open_prs_once.py)auto-approve: CI success on
0afa84c211(gitea_auto_approve_open_prs_once.py)auto-approve: CI success on
0afa84c211(gitea_auto_approve_open_prs_once.py)