Skip to content

Comments

fix(auto-upload): work policy#16555

Open
alperozturk96 wants to merge 4 commits intomasterfrom
fix/auto-upload-policy
Open

fix(auto-upload): work policy#16555
alperozturk96 wants to merge 4 commits intomasterfrom
fix/auto-upload-policy

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Feb 20, 2026

Changes

Auto upload content insertion done in ContentObserver
Fixes auto upload work policy since ContentObserver may trigger auto upload worker multiple times it was causing Job cancellation
ensureActiveness of Auto upload worker
Check pending files in AutoUploadWorker instead of relying content uri since entries previously inserted

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96
Copy link
Collaborator Author

/backport to stable-3.36

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@nextcloud nextcloud deleted a comment from github-actions bot Feb 20, 2026
return true
}

if (backgroundJobManager.isAutoUploadWorkerRunning(syncedFolderID)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't interfere, work manager already handling it via policy.

@github-actions
Copy link

@github-actions
Copy link

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions
Copy link

Codacy

SpotBugs

CategoryBaseNew
Bad practice4242
Correctness7575
Dodgy code256256
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4444
Security1818
Total479479

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16555.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

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.

1 participant