-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix liveshare guest hang issue #7764
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
Fix liveshare guest hang issue #7764
Conversation
return result; | ||
} | ||
|
||
public async onSessionChange(api: vsls.LiveShare | null): Promise<void> { |
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.
Rich, I'm a bit unsure if the guest role needs this. It makes sense structurally to me, but is not needed for this fix.
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.
verifyHtmlOnCell(guestContainer.wrapper!, 'InteractiveCell', '<span>1</span>', CellPosition.Last); | ||
}); | ||
|
||
test('Host starts LiveShare after starting Jupyter', async() => { |
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.
Verified this test fails with a hang of the guest connection to the host without my fix, and passes with my fix.
My internet works again :P |
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.
Codecov Report
@@ Coverage Diff @@
## master #7764 +/- ##
==========================================
- Coverage 58.78% 58.43% -0.35%
==========================================
Files 496 496
Lines 22146 22157 +11
Branches 3568 3565 -3
==========================================
- Hits 13018 12947 -71
- Misses 8310 8392 +82
Partials 818 818
Continue to review full report at Codecov.
|
* initial changes * update notebooks on server session change and add test * await correctly
* initial changes * update notebooks on server session change and add test * await correctly
For #7638
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)