Skip to content
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

feat: Remove the experimental-sliding-sync feature flag #4483

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Jan 8, 2025

Sliding sync is no longer experimental. It has a solid MSC4186, along with a solid implementation inside Synapse. It's time to consider it mature.

The SDK continues to support the old MSC3575 in addition to MSC4186. This patch only removes the experimental-sliding-sync feature flag.


@Hywan Hywan requested a review from a team as a code owner January 8, 2025 12:16
@Hywan Hywan requested review from jmartinesp and poljar and removed request for a team and jmartinesp January 8, 2025 12:16
@Hywan Hywan force-pushed the feat-remove-feature-flag-experimental-sliding-sync branch from 86e59b1 to 818b8a2 Compare January 8, 2025 12:24
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.36%. Comparing base (62567ca) to head (93d18e6).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4483      +/-   ##
==========================================
+ Coverage   85.31%   85.36%   +0.05%     
==========================================
  Files         284      284              
  Lines       31741    31885     +144     
==========================================
+ Hits        27080    27219     +139     
- Misses       4661     4666       +5     

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

@Hywan Hywan force-pushed the feat-remove-feature-flag-experimental-sliding-sync branch from 6becf8d to 8853be3 Compare January 8, 2025 14:13
@Hywan Hywan force-pushed the feat-remove-feature-flag-experimental-sliding-sync branch 4 times, most recently from ca9daef to 81b1294 Compare January 8, 2025 14:51
@Hywan
Copy link
Member Author

Hywan commented Jan 8, 2025

@poljar The PR is finally ready for a review. CI has caught an issue with SlidingSyncRoom on wasm32-u-u not being Send. All this mess is now cleaned up 🙂.

Hywan added 4 commits January 8, 2025 19:14
Sliding sync is no longer experimental. It has a solid MSC4186, along
with a solid implementation inside Synapse. It's time to consider it
mature.

The SDK continues to support the old MSC3575 in addition to MSC4186.
This patch only removes the `experimental-sliding-sync` feature flag.
This patch removes `SlidingSyncRoomInner::client` because, first
off, it's not `Send`, and second, it's useless. Nobody uses it, it's
basically dead code… annoying dead code… bad dead code!
@Hywan Hywan force-pushed the feat-remove-feature-flag-experimental-sliding-sync branch from 05948a9 to 93d18e6 Compare January 8, 2025 18:14
@Hywan
Copy link
Member Author

Hywan commented Jan 8, 2025

(rebased on top of main to solve a conflict, nothing has changed)

@Hywan Hywan mentioned this pull request Jan 8, 2025
33 tasks
Copy link
Collaborator

@jplatte jplatte left a comment

Choose a reason for hiding this comment

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

I think the removal of Client from SlidingSyncRoomInner should have been its own PR, but whatever.

@Hywan
Copy link
Member Author

Hywan commented Jan 8, 2025

Yes I agree. I've already extracted multiple patches into their own PR, I should have continue this process. Thanks for the approval.

@Hywan Hywan merged commit df4b696 into matrix-org:main Jan 8, 2025
41 checks passed
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.

2 participants