Skip to content

Switch to remote session instead of switching kernels - #9147

Merged
Don Jayamanne (DonJayamanne) merged 11 commits into
microsoft:masterfrom
DonJayamanne:switchToSession
Dec 17, 2019
Merged

Switch to remote session instead of switching kernels#9147
Don Jayamanne (DonJayamanne) merged 11 commits into
microsoft:masterfrom
DonJayamanne:switchToSession

Conversation

@DonJayamanne

@DonJayamanne Don Jayamanne (DonJayamanne) commented Dec 16, 2019

Copy link
Copy Markdown

For #8866
When selecting a remote session, connect to that session instead of connecting to that kernel.
If we connect to a kernel, the API shutdowns the previously connected kernel.

With the new changes, when selecting a remote kernel, we're in-fact selecting a remote session that we connect to.
However the API is still indicates we're connecting to a kernel (however under the hoods we connect to a session).

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

:shipit:

@codecov-io

Codecov (codecov-io) commented Dec 17, 2019

Copy link
Copy Markdown

Codecov Report

Merging #9147 into master will decrease coverage by 0.04%.
The diff coverage is 25.39%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #9147      +/-   ##
=========================================
- Coverage   57.05%     57%   -0.05%     
=========================================
  Files         551     551              
  Lines       29228   29258      +30     
  Branches     4430    4436       +6     
=========================================
+ Hits        16676   16679       +3     
- Misses      11638   11663      +25     
- Partials      914     916       +2
Impacted Files Coverage Δ
src/client/datascience/types.ts 100% <ø> (ø) ⬆️
src/client/datascience/jupyter/jupyterSession.ts 6.34% <0%> (-0.18%) ⬇️
...ascience/jupyter/liveshare/guestJupyterNotebook.ts 10.47% <10%> (-0.11%) ⬇️
...ient/datascience/jupyter/kernels/kernelSelector.ts 73.83% <100%> (ø) ⬆️
src/client/datascience/jupyter/jupyterNotebook.ts 5.08% <2.43%> (-0.05%) ⬇️
...lient/datascience/jupyter/jupyterSessionManager.ts 8.42% <5.55%> (-1.22%) ⬇️
src/client/datascience/datascience.ts 24.57% <50%> (+0.07%) ⬆️
...lient/datascience/jupyter/kernels/kernelService.ts 60.71% <66.66%> (ø) ⬆️
...nt/datascience/jupyter/kernels/kernelSelections.ts 89.61% <84.21%> (-2.06%) ⬇️
src/client/common/utils/platform.ts 70.58% <0%> (-5.89%) ⬇️

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 6004e8c...15761f1. Read the comment docs.

@DonJayamanne
Don Jayamanne (DonJayamanne) merged commit 1d8bf17 into microsoft:master Dec 17, 2019
Don Jayamanne (DonJayamanne) added a commit that referenced this pull request Dec 17, 2019
For #8866
When selecting a remote session, connect to that session instead of connecting to that kernel.
If we connect to a kernel, the API shutdowns the previously connected kernel.

With the new changes, when selecting a remote kernel, we're in-fact selecting a remote session that we connect to.
However the API is still indicates we're connecting to a kernel (however under the hoods we connect to a session).
@DonJayamanne
Don Jayamanne (DonJayamanne) deleted the switchToSession branch December 17, 2019 17:28
@lock lock Bot locked as resolved and limited conversation to collaborators Dec 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants