Skip to content

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

Merged
toger5 merged 33 commits intodevelopfrom
hughns/membershipmanager-test-cases
Feb 27, 2025
Merged

MatrixRTC: MembershipManager test cases and deprecation of MatrixRTCSession.room#4713
toger5 merged 33 commits intodevelopfrom
hughns/membershipmanager-test-cases

Conversation

@toger5
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread spec/unit/matrixrtc/MembeshipManager.spec.ts Outdated
Comment thread src/client.ts
@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
Comment thread src/matrixrtc/MatrixRTCSession.ts Outdated
Comment thread src/matrixrtc/MatrixRTCSession.ts Outdated
Comment thread src/matrixrtc/MatrixRTCSession.ts Outdated
Comment thread src/matrixrtc/MatrixRTCSession.ts Outdated
Comment thread src/matrixrtc/MatrixRTCSession.ts Outdated
Comment thread spec/unit/matrixrtc/MembershipManager.spec.ts Outdated
Comment thread spec/unit/matrixrtc/MembershipManager.spec.ts Outdated
Comment thread spec/unit/matrixrtc/MembershipManager.spec.ts Outdated
Comment thread spec/unit/matrixrtc/MembershipManager.spec.ts Outdated
Comment thread spec/unit/matrixrtc/MembershipManager.spec.ts Outdated
@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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