chore: improve voip session handling#37094
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
WalkthroughReworks MediaSessionStore.makeInstance cleanup: if an existing Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Store as MediaSessionStore
participant Old as existing sessionInstance
participant New as MediaSignalingSession (new)
Store->>Store: makeInstance()
alt sessionInstance exists
rect rgba(200,230,255,0.35)
note right of Old: Cleanup changed
Store->>Old: endSession()
Store->>Store: sessionInstance = null
end
else
note over Store: No prior session
end
Store->>New: new MediaSignalingSession(...)
Store->>Store: sessionInstance = New
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #37094 +/- ##
===========================================
+ Coverage 67.41% 67.42% +0.01%
===========================================
Files 3288 3288
Lines 111815 111815
Branches 20421 20420 -1
===========================================
+ Hits 75379 75396 +17
+ Misses 33748 33712 -36
- Partials 2688 2707 +19
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
e233ce1 to
9dc708f
Compare
Proposed changes (including videos or screenshots)
Issue(s)
VGA-29
Steps to test or reproduce
Further comments
Summary by CodeRabbit