Skip to content

fix(sync): clear connection issue once retried push succeeds - #9667

Merged
mejo- merged 1 commit into
mainfrom
fix/clear_connection_issue
Nov 23, 2026
Merged

mejo- merged 1 commit into
mainfrom
fix/clear_connection_issue

Conversation

@mejo-

@mejo- mejo- commented Nov 23, 2026

Copy link
Copy Markdown
Member

After reconnecting, onSync() retried the failed push but only re-evaluated hasConnectionIssue on the next poll. The editor stayed read-only and showed the offline state for another polling interval (up to 30s with notify_push).

Assisted-by: ClaudeCode:claude-opus-5-5

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

After reconnecting, onSync() retried the failed push but only
re-evaluated hasConnectionIssue on the next poll. The editor stayed
read-only and showed the offline state for another polling interval
(up to 30s with notify_push).

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@mejo- mejo- self-assigned this Nov 23, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Nov 23, 2026
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Nov 23, 2026
@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Nov 23, 2026
@mejo-

mejo- commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

/backport to stable35

@mejo-

mejo- commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

/backport to stable34

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mejo-
mejo- merged commit 67c9b87 into main Nov 23, 2026
89 of 96 checks passed
@mejo-
mejo- deleted the fix/clear_connection_issue branch November 23, 2026 11:46
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team Nov 23, 2026
@backportbot

backportbot Bot commented Nov 23, 2026

Copy link
Copy Markdown

The backport to stable34 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable34
git pull origin stable34

# Create the new backport branch
git checkout -b backport/9667/stable34

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 687b330e

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/9667/stable34

Error: Failed to check for changes with origin/stable34: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@mejo-

mejo- commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Manual backport to stable34: #9670

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

Labels

3. to review AI assisted This PR contains AI-assisted commits bug Something isn't working feature: offline support

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

3 participants