Skip to content

Conversation

IanMatthewHuff
Copy link
Member

For #7638

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Appropriate comments and documentation strings in the code
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • Test plan is updated as appropriate
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • The wiki is updated with any design decisions/details.

return result;
}

public async onSessionChange(api: vsls.LiveShare | null): Promise<void> {
Copy link
Member Author

@IanMatthewHuff IanMatthewHuff Oct 4, 2019

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.

Copy link

Choose a reason for hiding this comment

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

Probably not, but It won't hurt.


In reply to: 331299771 [](ancestors = 331299771)

verifyHtmlOnCell(guestContainer.wrapper!, 'InteractiveCell', '<span>1</span>', CellPosition.Last);
});

test('Host starts LiveShare after starting Jupyter', async() => {
Copy link
Member Author

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.

@IanMatthewHuff
Copy link
Member Author

My internet works again :P

Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

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

:shipit:

@codecov-io
Copy link

codecov-io commented Oct 4, 2019

Codecov Report

Merging #7764 into master will decrease coverage by 0.34%.
The diff coverage is 0%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/client/datascience/jupyter/jupyterServer.ts 9.45% <0%> (-0.13%) ⬇️
...datascience/jupyter/liveshare/hostJupyterServer.ts 16.04% <0%> (-1.06%) ⬇️
...atascience/jupyter/liveshare/guestJupyterServer.ts 14.54% <0%> (-1.46%) ⬇️
src/client/testing/serviceRegistry.ts 48.64% <0%> (-46.85%) ⬇️
src/client/testing/codeLenses/main.ts 44.44% <0%> (-33.34%) ⬇️
...t/datascience/jupyter/jupyterDataRateLimitError.ts 66.66% <0%> (-33.34%) ⬇️
src/client/formatters/serviceRegistry.ts 75% <0%> (-25%) ⬇️
src/client/common/utils/icons.ts 83.33% <0%> (-16.67%) ⬇️
src/client/api.ts 78.57% <0%> (-14.29%) ⬇️
src/client/datascience/cellFactory.ts 75.86% <0%> (-13.8%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab59f3c...3e29d0f. Read the comment docs.

@IanMatthewHuff IanMatthewHuff merged commit 293d1a1 into microsoft:master Oct 4, 2019
@IanMatthewHuff IanMatthewHuff deleted the dev/ianhu/liveshareIssue branch October 4, 2019 01:38
IanMatthewHuff added a commit to IanMatthewHuff/vscode-python that referenced this pull request Oct 4, 2019
* initial changes

* update notebooks on server session change and add test

* await correctly
IanMatthewHuff added a commit that referenced this pull request Oct 4, 2019
* initial changes

* update notebooks on server session change and add test

* await correctly
rchiodo pushed a commit that referenced this pull request Oct 10, 2019
* initial changes

* update notebooks on server session change and add test

* await correctly
@lock lock bot locked as resolved and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants