Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Oct 15, 2025

Backport of #7783

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

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

@backportbot backportbot bot requested review from max-nextcloud and mejo- October 15, 2025 10:41
@backportbot backportbot bot added bug Something isn't working 3. to review feature: sync labels Oct 15, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.10 milestone Oct 15, 2025
A bug in synchronizing the document state might have resulted in a Yjs
document state with missing steps being persisted into the Ydoc that we
store on the server. If no client that had the missing step did an
autosave afterwards, future sync session members will never recover from
this situation.

We implemented several improvements recently that should result in less
out-of-sync situations where a step becomes missing. To start with fresh
editing sessions and not carry on with possibly unrecoverable document
states, let's reset all editing sessions with the next app update.

See #7692 for further context.

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- force-pushed the backport/7783/stable31 branch from eb5f9ce to 77996e9 Compare October 15, 2025 10:47
@mejo- mejo- marked this pull request as ready for review October 15, 2025 10:47
@mejo- mejo- enabled auto-merge October 15, 2025 10:47
@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.36%. Comparing base (0e8b8d9) to head (77996e9).
⚠️ Report is 2 commits behind head on stable31.

Additional details and impacted files
@@            Coverage Diff            @@
##           stable31    #7785   +/-   ##
=========================================
  Coverage     51.36%   51.36%           
=========================================
  Files           291      291           
  Lines         41660    41660           
  Branches        868      868           
=========================================
  Hits          21399    21399           
  Misses        20142    20142           
  Partials        119      119           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mejo- mejo- merged commit a6f16d4 into stable31 Oct 15, 2025
70 checks passed
@mejo- mejo- deleted the backport/7783/stable31 branch October 15, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants