Skip to content

Add forceSync option to auto-upload items #15267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qwe2
Copy link

@qwe2 qwe2 commented Jul 28, 2025

Sometimes files can get missed if they get marked as FILESYSTEM_FILE_SENT_FOR_UPLOAD but then do not get updated for whatever reason, as FilesystemDataProvider#getFilesForUpload only considers files where FILESYSTEM_FILE_SENT_FOR_UPLOAD=0. This change adds an explicit "Force sync" button which can be used to invalidate the client-side cache and re-enumerate all files in a given folder.

Screenshots:
Screenshot_20250728_122933 Screenshot_20250728_123043

  • Tests written, or not not needed

Sometimes files can get missed if they get marked as FILESYSTEM_FILE_SENT_FOR_UPLOAD but then
do not get updated for whatever reason, as FilesystemDataProvider#getFilesForUpload only considers
files where FILESYSTEM_FILE_IS_FOLDER=0. This change adds an explicit "Force sync" button which
can be used to invalidate the client-side cache and re-enumerate all files in a given folder.
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