Skip to content

fix(file-provider): Do not continue polling ETag from file provider when account is disabled - #10445

Merged
claucambra merged 2 commits into
masterfrom
bugfix/fileProviderAuthCheck
Jul 24, 2026
Merged

fix(file-provider): Do not continue polling ETag from file provider when account is disabled#10445
claucambra merged 2 commits into
masterfrom
bugfix/fileProviderAuthCheck

Conversation

@Rello

@Rello Rello commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

the apple file provider extension is not respecting an 401 from the server (token revoked) and is still sending propfinds every 30 seconds.
This change will align it to the classic sync

Assisted-by: GPT-5.6

@claucambra claucambra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I would like to see a test for this too

@i2h3 i2h3 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The wording is misleading because the file provider is not doing anything here. It is the main app which polls the server for new ETags for accounts set up with file providers. Only if the ETag changed, the file provider domain is signaled. So it is not like the file provider extension is not disrespecting something, it not even is involved. It is the main app which did not validate the precondition of an account being set up correctly before maybe (only on happy path) triggering the file provider domain to synchronize.

@i2h3 i2h3 changed the title fix: Apple file provider extension is not respecting a 401 Do not poll ETag for invalid file provider account configurations Jul 24, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 💻 Desktop Clients team Jul 24, 2026
@i2h3 i2h3 added bug os: 🍎 macOS Apple macOS, formerly also known as OS X feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. labels Jul 24, 2026
@i2h3 i2h3 moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 💻 Desktop Clients team Jul 24, 2026
@i2h3 i2h3 added this to the 34.0.1 milestone Jul 24, 2026
@Rello

Rello commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator Author

@claucambra test was added to test this new status check. expected like that?

@claucambra

Copy link
Copy Markdown
Collaborator

@claucambra test was added to test this new status check. expected like that?

please provide a more descriptive commit message, it will otherwise be impossible to tell from the commit log what this commit does

@Rello Rello changed the title Do not poll ETag for invalid file provider account configurations Do not continue polling ETag from file provider when account is disabled Jul 24, 2026
Rello added 2 commits July 24, 2026 20:27
…ount is not connected

This change will align it to the classic sync

Assisted-by: GPT-5.6
Signed-off-by: Rello <github@scherello.de>
…ns do not trigger polling ETag check

Assisted-by: GPT-5.6
Signed-off-by: Rello <github@scherello.de>
@claucambra
claucambra force-pushed the bugfix/fileProviderAuthCheck branch from d0fe646 to ddfa202 Compare July 24, 2026 12:29
@claucambra
claucambra enabled auto-merge July 24, 2026 12:30
@github-actions

Copy link
Copy Markdown
Contributor

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

Digest: sha256:6e557d2fc16a64bf81326f1990287fd748d1a8c19d75a2e637ffc58c87ee7c25

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.

@claucambra claucambra changed the title Do not continue polling ETag from file provider when account is disabled fix(file-provider): Do not continue polling ETag from file provider when account is disabled Jul 24, 2026
@claucambra
claucambra disabled auto-merge July 24, 2026 13:13
@claucambra
claucambra merged commit d9d2bd4 into master Jul 24, 2026
20 of 21 checks passed
@claucambra
claucambra deleted the bugfix/fileProviderAuthCheck branch July 24, 2026 13:14
@github-project-automation github-project-automation Bot moved this from 🏗️ In progress to ☑️ Done in 💻 Desktop Clients team Jul 24, 2026
@claucambra

Copy link
Copy Markdown
Collaborator

/backport to stable-34.0 please

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)
45 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. os: 🍎 macOS Apple macOS, formerly also known as OS X

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants