Skip to content

fix(worker): file-export#16707

Merged
alperozturk96 merged 3 commits intomasterfrom
fix/file-export
Mar 26, 2026
Merged

fix(worker): file-export#16707
alperozturk96 merged 3 commits intomasterfrom
fix/file-export

Conversation

@alperozturk96
Copy link
Copy Markdown
Collaborator

Issue

The worker was crashing when users tried to export too many files. In such cases, users would see an empty notification.
FileDownloadWorker was being triggered for each export attempt instead of handling all exports within a single worker.

Changes

Introduced a reusable WorkerFilesPayload to eliminate worker data limits.
Switched to a coroutine-based worker that downloads all files within a single FilesExportWorker.
Now only one notification is shown at the end of the worker process.

@alperozturk96 alperozturk96 added 3. to review performance 🚀 Performance improvement opportunities (non-crash related) labels Mar 19, 2026
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions
Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3939
Correctness7474
Dodgy code236236
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4343
Security1818
Total454454

@github-actions
Copy link
Copy Markdown

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16707.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.

@github-actions
Copy link
Copy Markdown

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

@alperozturk96 alperozturk96 added this to the Nextcloud App 33.1.0 milestone Mar 26, 2026
@alperozturk96 alperozturk96 merged commit 97260f1 into master Mar 26, 2026
16 of 21 checks passed
@alperozturk96 alperozturk96 deleted the fix/file-export branch March 26, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review performance 🚀 Performance improvement opportunities (non-crash related)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants