Skip to content

[stable-33.0] fix(file-provider): prevent data loss when parent folder moves during sync.#10172

Merged
camilasan merged 2 commits into
stable-33.0from
backport/10134/stable-33.0
Jun 12, 2026
Merged

[stable-33.0] fix(file-provider): prevent data loss when parent folder moves during sync.#10172
camilasan merged 2 commits into
stable-33.0from
backport/10134/stable-33.0

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 12, 2026

Copy link
Copy Markdown

Backport of PR #10134

… sync.

When a parent directory returns 404, children are no longer eagerly
marked deleted — they may have moved with the parent. The
deconfliction pass now includes newly discovered items, and items
with pending uploads are protected from deletion in both the
enumerator and recursive directory delete paths.

Assisted-by: Claude:claude-sonnet-4-5
Signed-off-by: Camila Ayres <hello@camilasan.com>
Assisted-by: Claude:claude-sonnet-4-5
Signed-off-by: Camila Ayres <hello@camilasan.com>
@backportbot backportbot Bot requested a review from i2h3 June 12, 2026 09:24
@backportbot backportbot Bot added this to the 33.0.6 milestone Jun 12, 2026
@mgallien mgallien enabled auto-merge June 12, 2026 09:27
@camilasan camilasan disabled auto-merge June 12, 2026 09:50
@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10172.zip

Digest: sha256:d27735a8f66330bf49adb8e5f5d8302212ed2bda639dea24132c5f96613a2288

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@camilasan camilasan merged commit 9f8b87c into stable-33.0 Jun 12, 2026
17 of 19 checks passed
@camilasan camilasan deleted the backport/10134/stable-33.0 branch June 12, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants