-
-
Notifications
You must be signed in to change notification settings - Fork 4k
fix(voice): mark stream as ended #10455
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
Conversation
refactor: prefer destroying the stream
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
vladfrangu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If possible, can we get a test script for this too? 🙏
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10455 +/- ##
==========================================
+ Coverage 37.89% 37.91% +0.02%
==========================================
Files 239 239
Lines 14874 14877 +3
Branches 1373 1376 +3
==========================================
+ Hits 5636 5641 +5
+ Misses 9227 9225 -2
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
drafted because putting tests was a good idea and i found undesirable behaviour (particularly annoying because the tests & actual context of the function don't align properly) |
test: wait duration ms to check end chore: eslint test: end before timeout
vladfrangu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering voice is an "if may work" basis, and assuming you've tested this with actual discord behavior, LGTM
almeidx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷
Please describe the changes this PR makes and why it should be merged:
closes #8778
example:
Status and versioning classification: