Files
photoanalyzer/delivery_backlog/stories/US05-02-upload-batches.md

786 B

US05-02 — Orchestrate Album Upload Batches

Epic: E05

As a user, I want one approved album uploaded at a time so scope, progress, and retries remain controlled.

Acceptance criteria

  • A durable upload batch records album, asset IDs, pre-upload hashes, command version, attempts, progress, cancellation, and raw report location.
  • immich-go is invoked through the integration adapter with bounded output and no shell interpolation or secret logging.
  • Only one configured uploader lane runs; restart resumes at safe item/batch boundaries.

Automated tests

  • Fake-executable integration tests verify arguments, album isolation, concurrency, cancellation, restart, output limits, and credential privacy.

Dependencies

  • US05-01, US02-03