Skip to content

Upload cloud camera imports while downloads continue - #131

Merged
IAmJSD merged 1 commit into
mainfrom
fix/async-cloud-imports
Sep 17, 2026
Merged

IAmJSD merged 1 commit into
mainfrom
fix/async-cloud-imports

Conversation

@IAmJSD

@IAmJSD IAmJSD commented Sep 16, 2026

Copy link
Copy Markdown
Member

Cloud Import previously waited for every camera download to finish before starting uploads. Each completed, filtered photo now enters an asynchronous upload queue while the remaining photos continue downloading. The final summary waits for all queued uploads, and staging stays alive until both stages release it.

Connect mounted DCIM volumes, macOS ImageCaptureCore, iOS Photos, and Android imports to the queue. Move macOS EXIF filtering and rejected-file cleanup off the UI thread, await prepared upload batches without blocking the async runtime, and prevent duplicate filenames from overwriting staged originals. Preserve the captured folder/bucket destination, deduplication, storage checks, and account cancellation. Existing translation strings cover all status messages.

Based on origin/main at e3c047f5.

Validation:

  • make check-cloud: 38 tests passed; native app check passed.
  • make check-cloud-browser: passed.
  • make format-cloud and git diff --check: passed.
  • Regression coverage includes overlapping downloads/uploads, waiting for queued uploads, producer/upload failures, cancellation while awaiting another photo, map filtering before upload, duplicate filenames, and staging lifetime.

macOS/iOS/Android device verification remains; checks above ran on Linux. In particular, the shared macOS filtering worker is tested, but ImageCaptureCore callbacks still need a camera import on a Mac.

@IAmJSD
IAmJSD marked this pull request as ready for review September 17, 2026 11:07
@IAmJSD
IAmJSD merged commit 8580da7 into main Sep 17, 2026
4 checks passed
@IAmJSD
IAmJSD deleted the fix/async-cloud-imports branch September 17, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant