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

MatrixRTC: MembershipManager test cases and deprecation of MatrixRTCSession.room #4713

Merged
merged 33 commits into from
Feb 27, 2025

Conversation

toger5
Copy link
Contributor

@toger5 toger5 commented Feb 17, 2025

Part of element-hq/element-call#2972.

This shouldn't introduce any behaviour changes, but refactor the tests to be based on the MembershipManager abstraction. It includes some tests which would fail on the current LegacyMembershipManager implementation which will be handled by a new implementation.

The field MatrixRTCSession.room becomes deprecated as the Room should be tracked by the client outside of the MatrixRTCSession.

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

Copy link
Member

@hughns hughns left a comment

Choose a reason for hiding this comment

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

Just a few quick things. I haven't looked at the main test cases yet.

@toger5 toger5 force-pushed the hughns/membershipmanager-test-cases branch from a2702a3 to 987863a Compare February 17, 2025 14:16
toger5 added a commit that referenced this pull request Feb 17, 2025
Pulled out from #4713
@toger5 toger5 mentioned this pull request Feb 17, 2025
4 tasks
github-merge-queue bot pushed a commit that referenced this pull request Feb 17, 2025
@toger5 toger5 force-pushed the hughns/membershipmanager-test-cases branch from 8926281 to d9192f3 Compare February 17, 2025 15:05
@toger5 toger5 changed the title Hughns/membershipmanager test cases MembershipManager test cases Feb 17, 2025
@hughns hughns added T-Task Tasks for the team like planning and removed T-Enhancement labels Feb 19, 2025
@hughns hughns changed the title MembershipManager test cases MatrixRTC: MembershipManager test cases Feb 19, 2025
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Thanks for the fixes, looks good.

@toger5 toger5 added this pull request to the merge queue Feb 26, 2025
@toger5 toger5 removed this pull request from the merge queue due to a manual request Feb 26, 2025
@toger5 toger5 added this pull request to the merge queue Feb 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2025
@toger5 toger5 added this pull request to the merge queue Feb 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2025
@hughns hughns added the T-Deprecation A pull request that makes something deprecated label Feb 27, 2025
@hughns hughns changed the title MatrixRTC: MembershipManager test cases MatrixRTC: MembershipManager test cases and deprecation of MatrixRTCSession.room Feb 27, 2025
@hughns
Copy link
Member

hughns commented Feb 27, 2025

The latest commits add a deprecation, so I've updated the title, labels, description.

As such, I'm re-submitting for review from Web Team.

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Fair enough: seems reasonable

@toger5 toger5 added this pull request to the merge queue Feb 27, 2025
Merged via the queue into develop with commit a3bbc49 Feb 27, 2025
43 checks passed
@toger5 toger5 deleted the hughns/membershipmanager-test-cases branch February 27, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Deprecation A pull request that makes something deprecated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants