Skip to content

[pull] main from immich-app:main - #948

Merged
pull[bot] merged 4 commits into
code:mainfrom
immich-app:main
Aug 21, 2026
Merged

[pull] main from immich-app:main#948
pull[bot] merged 4 commits into
code:mainfrom
immich-app:main

Conversation

@pull

@pull pull Bot commented Aug 21, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

PAtreju and others added 4 commits August 21, 2026 12:28
…e their directory (#30850)

Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
* fix(mobile): dedupe stale remote_asset rows on sync

queue a pre-delete on the matching partial-index tuple before each
upsert in updateAssetsV1/V2 so the second insert does not crash on
SqliteException(2067) when the server re-issues a new id for the
same (ownerId, checksum). closes #22522 #27186.

* run the dedupe deletes before the inserts and keep only the last duplicate per payload

* switch the asset upsert to insert or replace

* trim the dedupe tests to the essentials
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
@pull pull Bot locked and limited conversation to collaborators Aug 21, 2026
@pull pull Bot added the ⤵️ pull label Aug 21, 2026
@pull
pull Bot merged commit 57ce9b2 into code:main Aug 21, 2026
1 check failed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants