Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Oct 9, 2025

Backport of PR #7701

Remove the delegations to only use the typed interface.

Signed-off-by: Max <[email protected]>
* Hand versions alongside the actual step.
* Increase sync service version when processing the next step.
* Keep track of the step that is currently processed
and provide better `warn` logging when steps are not processed.
* Add types to WebsocketPolyfill and its test.

Signed-off-by: Max <[email protected]>
Drop the `FlatStep` type.
Process each version iterating through its data.
Increment the version counter afterwards.

Signed-off-by: Max <[email protected]>
* First is logged as error.
* Second is logged as debug and can be tracked with conditional logging.

Signed-off-by: Jonas <[email protected]>
Signed-off-by: Max <[email protected]>
@backportbot backportbot bot requested a review from mejo- October 9, 2025 10:15
@backportbot backportbot bot added bug Something isn't working 3. to review feature: sync labels Oct 9, 2025
@backportbot backportbot bot added this to the Nextcloud 32.0.1 milestone Oct 9, 2025
@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

❌ Patch coverage is 38.38384% with 122 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.27%. Comparing base (a0f8c90) to head (865a18b).
⚠️ Report is 14 commits behind head on stable32.

Files with missing lines Patch % Lines
src/services/WebSocketPolyfill.ts 41.46% 48 Missing ⚠️
src/services/SyncService.ts 14.28% 30 Missing ⚠️
src/services/NotifyService.ts 0.00% 12 Missing ⚠️
src/helpers/steps.ts 15.38% 11 Missing ⚠️
src/services/Outbox.ts 30.76% 9 Missing ⚠️
src/services/PollingBackend.ts 0.00% 8 Missing ⚠️
src/helpers/yjs.ts 76.92% 3 Missing ⚠️
src/apis/sync.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           stable32    #7745      +/-   ##
============================================
- Coverage     59.33%   59.27%   -0.07%     
============================================
  Files           502      503       +1     
  Lines         39207    39222      +15     
  Branches       1140     1136       -4     
============================================
- Hits          23264    23248      -16     
- Misses        15835    15866      +31     
  Partials        108      108              

☔ 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.

@max-nextcloud max-nextcloud merged commit a2ed6e4 into stable32 Oct 9, 2025
67 of 69 checks passed
@max-nextcloud max-nextcloud deleted the backport/7701/stable32 branch October 9, 2025 10:44
@max-nextcloud
Copy link
Collaborator

/backport to stable31

@backportbot
Copy link
Author

backportbot bot commented Oct 10, 2025

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

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

# Create the new backport branch
git checkout -b backport/7745/stable31

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 4bf57315 8d28b0b5 ad437706 161d20db 865a18b6

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

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


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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants