US05-04 — Verify, Retry, and Resolve Uncertain Uploads #29

Closed
opened 2026-07-13 13:10:48 +02:00 by domverse · 3 comments
Owner

Source specification: delivery_backlog/stories/US05-04-upload-verification.md

US05-04 — Verify, Retry, and Resolve Uncertain Uploads

Epic: E05

As a user, I want uncertain uploads verified before retry so a lost response cannot
create duplicate server assets.

Acceptance criteria

  • Retry policy distinguishes safe failures from accepted-but-unknown outcomes.
  • Verification compares recorded local bytes with authoritative available evidence.
  • Changed-after-upload bytes create a visible stale warning and block unsafe actions.
  • Manual resolution records evidence and audit history; it never silently assumes success.

Automated tests

  • Fault tests cover timeout before acceptance, acceptance then lost response, parser
    uncertainty, safe retry, changed bytes, and repeated verification.

Dependencies

  • US05-03
Source specification: [delivery_backlog/stories/US05-04-upload-verification.md](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/stories/US05-04-upload-verification.md) # US05-04 — Verify, Retry, and Resolve Uncertain Uploads Epic: [E05](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/E05-immich-upload.md) As a user, I want uncertain uploads verified before retry so a lost response cannot create duplicate server assets. ## Acceptance criteria - Retry policy distinguishes safe failures from accepted-but-unknown outcomes. - Verification compares recorded local bytes with authoritative available evidence. - Changed-after-upload bytes create a visible stale warning and block unsafe actions. - Manual resolution records evidence and audit history; it never silently assumes success. ## Automated tests - Fault tests cover timeout before acceptance, acceptance then lost response, parser uncertainty, safe retry, changed bytes, and repeated verification. ## Dependencies - US05-03
domverse added this to the E05 — Immich Upload milestone 2026-07-13 13:10:48 +02:00
domverse added the type/featurepriority/criticalarea/backendarea/integration labels 2026-07-13 13:10:48 +02:00
domverse added a new dependency 2026-07-13 13:11:26 +02:00
domverse added a new dependency 2026-07-13 13:11:27 +02:00
domverse added a new dependency 2026-07-13 13:11:28 +02:00
domverse added this to the Photo Analyzer Delivery project 2026-07-13 13:19:46 +02:00
domverse added the status/backlog label 2026-07-13 13:52:52 +02:00
domverse added status/in-progress and removed status/backlog labels 2026-08-16 15:04:57 +02:00
domverse self-assigned this 2026-08-16 15:04:58 +02:00
Author
Owner

Claimed for implementation on branch us/US05-04-verify-retry-and-resolve-uncertain-uploads.

Claimed for implementation on branch `us/US05-04-verify-retry-and-resolve-uncertain-uploads`.
domverse added status/review and removed status/in-progress labels 2026-08-16 15:31:11 +02:00
Author
Owner

Submitted for review: #74

Tests passed:

  • work_item/scripts/python -m unittest discover -s work_item/tests -v
  • work_item/scripts/python -m pytest tests -q
  • work_item/scripts/python -m pytest tests/integration/test_upload_verification.py tests/unit/test_immich_bulk_check.py -q
Submitted for review: https://git.domverse-berlin.eu/domverse/photoanalyzer/pulls/74 Tests passed: - `work_item/scripts/python -m unittest discover -s work_item/tests -v` - `work_item/scripts/python -m pytest tests -q` - `work_item/scripts/python -m pytest tests/integration/test_upload_verification.py tests/unit/test_immich_bulk_check.py -q`
domverse added status/done and removed status/review labels 2026-08-16 15:31:26 +02:00
Author
Owner

Completed and merged via PR #74.

Completed and merged via PR #74.
domverse moved this to Done in Photo Analyzer Delivery on 2026-08-16 15:34:06 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: domverse/photoanalyzer#29