US05-01 — Validate Credentials and Upload Readiness #26

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

Source specification: delivery_backlog/stories/US05-01-upload-preflight.md

US05-01 — Validate Credentials and Upload Readiness

Epic: E05

As a user, I want upload blockers and scope validated before execution so unverified or
changed files never reach Immich accidentally.

Acceptance criteria

  • Preflight checks credentials without exposing them, server reachability, selected
    album scope, canonical/safety/analysis/EXIF readiness, and current byte hashes.
  • The redacted command preview shows exact folders, album mapping, and asset counts.
  • Partial scope and every blocker require explicit resolution or approved policy.
  • Preflight produces a versioned token invalidated by relevant changes.

Automated tests

  • Integration tests cover valid, missing/invalid credential, blocked stage, changed
    bytes, partial album, stale token, and secret redaction.

Dependencies

  • E04 complete
Source specification: [delivery_backlog/stories/US05-01-upload-preflight.md](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/stories/US05-01-upload-preflight.md) # US05-01 — Validate Credentials and Upload Readiness Epic: [E05](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/E05-immich-upload.md) As a user, I want upload blockers and scope validated before execution so unverified or changed files never reach Immich accidentally. ## Acceptance criteria - Preflight checks credentials without exposing them, server reachability, selected album scope, canonical/safety/analysis/EXIF readiness, and current byte hashes. - The redacted command preview shows exact folders, album mapping, and asset counts. - Partial scope and every blocker require explicit resolution or approved policy. - Preflight produces a versioned token invalidated by relevant changes. ## Automated tests - Integration tests cover valid, missing/invalid credential, blocked stage, changed bytes, partial album, stale token, and secret redaction. ## Dependencies - E04 complete
domverse added this to the E05 — Immich Upload milestone 2026-07-13 13:10:46 +02:00
domverse added the area/integrationpriority/normaltype/featurearea/backend labels 2026-07-13 13:10:47 +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:26 +02:00
domverse added a new dependency 2026-07-13 13:11:27 +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:51 +02:00
domverse added status/in-progress and removed status/backlog labels 2026-08-16 12:12:29 +02:00
domverse self-assigned this 2026-08-16 12:12:30 +02:00
Author
Owner

Claimed for implementation on branch us/US05-01-validate-credentials-and-upload-readiness.

Claimed for implementation on branch `us/US05-01-validate-credentials-and-upload-readiness`.
domverse added status/review and removed status/in-progress labels 2026-08-16 12:28:11 +02:00
Author
Owner

Submitted for review: #71

Tests passed:

  • work_item/scripts/python -m unittest discover -s work_item/tests -v
  • work_item/scripts/python -m pytest tests -q
Submitted for review: https://git.domverse-berlin.eu/domverse/photoanalyzer/pulls/71 Tests passed: - `work_item/scripts/python -m unittest discover -s work_item/tests -v` - `work_item/scripts/python -m pytest tests -q`
domverse added status/done and removed status/review labels 2026-08-16 12:29:18 +02:00
Author
Owner

Completed and merged via PR #71.

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