Skip to content

Remote session shutdownAll is killing all sessions#10621

Merged
rchiodo merged 3 commits into
masterfrom
rchiodo/nightly_flake
Mar 17, 2020
Merged

Remote session shutdownAll is killing all sessions#10621
rchiodo merged 3 commits into
masterfrom
rchiodo/nightly_flake

Conversation

@rchiodo

@rchiodo rchiodo commented Mar 17, 2020

Copy link
Copy Markdown

Some of the live share tests are failing on the nightly flake. Root cause is the guestServer calling connectToServer and that function creating and destroying a session manager to retrieve kernel specs.

For guest mode, kernel specs aren't necessary.

For disposing a session manager, shutting down all kernels kills kernels that aren't created by the session manager too.

@rchiodo rchiodo self-assigned this Mar 17, 2020
@rchiodo rchiodo added the no-changelog No news entry required label Mar 17, 2020
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #10621 into master will decrease coverage by 0.17%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10621      +/-   ##
==========================================
- Coverage   60.79%   60.61%   -0.18%     
==========================================
  Files         579      583       +4     
  Lines       31412    31548     +136     
  Branches     4469     4487      +18     
==========================================
+ Hits        19097    19124      +27     
- Misses      11344    11450     +106     
- Partials      971      974       +3     
Impacted Files Coverage Δ
src/client/datascience/jupyter/jupyterExecution.ts 51.68% <0.00%> (ø)
...lient/datascience/jupyter/jupyterSessionManager.ts 8.10% <0.00%> (+0.14%) ⬆️
...science/jupyter/liveshare/guestJupyterExecution.ts 18.36% <ø> (ø)
src/client/datascience/types.ts 100.00% <ø> (ø)
src/datascience-ui/react-common/arePathsSame.ts 75.00% <0.00%> (-12.50%) ⬇️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
...t/common/insidersBuild/insidersExtensionService.ts 97.18% <0.00%> (-2.82%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
...ascience/interactive-ipynb/nativeEditorProvider.ts 52.24% <0.00%> (-1.13%) ⬇️
... and 17 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 c3e6ef7...05c525b. Read the comment docs.

@rchiodo rchiodo merged commit af074d9 into master Mar 17, 2020
@rchiodo rchiodo deleted the rchiodo/nightly_flake branch March 17, 2020 20:50
DonJayamanne added a commit that referenced this pull request Mar 20, 2020
* master:
  Turning new debugger experiment on for all users and reload experiment for 20% of users (#10674)
  Disable blank issues (#10678)
  update mockito and minor test updates (#10671)
  Fix save on old editor (#10665)
  Job names were invalid (#10646)
  Telemetry updates (#10631)
  Remote session shutdownAll is killing all sessions (#10621)
DonJayamanne added a commit that referenced this pull request Mar 20, 2020
* master:
  Turning new debugger experiment on for all users and reload experiment for 20% of users (#10674)
  Disable blank issues (#10678)
  update mockito and minor test updates (#10671)
  Fix save on old editor (#10665)
  Job names were invalid (#10646)
  Telemetry updates (#10631)
  Remote session shutdownAll is killing all sessions (#10621)
@lock lock Bot locked as resolved and limited conversation to collaborators Mar 27, 2020
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