Skip to content

Use a proxy web socket with a real kernel in UI layer for IPyWidgets #10887

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

Merged
merged 17 commits into from
Apr 1, 2020

Conversation

DonJayamanne
Copy link

@DonJayamanne DonJayamanne commented Mar 31, 2020

For #10606

@codecov-io
Copy link

codecov-io commented Mar 31, 2020

Codecov Report

Merging #10887 into master will decrease coverage by 0.04%.
The diff coverage is 58.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10887      +/-   ##
==========================================
- Coverage   60.67%   60.63%   -0.05%     
==========================================
  Files         580      580              
  Lines       31528    31555      +27     
  Branches     4479     4490      +11     
==========================================
+ Hits        19131    19132       +1     
- Misses      11427    11445      +18     
- Partials      970      978       +8     
Impacted Files Coverage Δ
src/client/datascience/jupyter/jupyterNotebook.ts 4.24% <0.00%> (-0.04%) ⬇️
...ascience/jupyter/liveshare/guestJupyterNotebook.ts 10.14% <0.00%> (+0.58%) ⬆️
src/client/datascience/types.ts 100.00% <ø> (ø)
src/client/datascience/jupyter/jupyterWebSocket.ts 15.38% <16.66%> (+0.38%) ⬆️
src/client/datascience/jupyter/jupyterSession.ts 57.14% <70.96%> (+0.33%) ⬆️
...ience/interactive-common/interactiveWindowTypes.ts 100.00% <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%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
... and 5 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 7a58ce8...aaae744. Read the comment docs.

@@ -4,6 +4,8 @@
import * as WebSocketWS from 'ws';
import { traceInfo } from '../../common/logger';

export const JupyterWebSockets = new Map<string, WebSocketWS>();
Copy link
Author

Choose a reason for hiding this comment

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

This is easier than a static property and works.
We couldnt use a static property due to restarts.
This works better as it is strongly typed.

@DonJayamanne DonJayamanne changed the title WIP Use a proxy web socket with a real kernel in UI layer for IPyWidgets Apr 1, 2020
@DonJayamanne DonJayamanne added the no-changelog No news entry required label Apr 1, 2020
@DonJayamanne DonJayamanne marked this pull request as ready for review April 1, 2020 17:11
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:

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 1, 2020

Kudos, SonarCloud Quality Gate passed!

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@DonJayamanne DonJayamanne merged commit dd1bb4c into microsoft:master Apr 1, 2020
@DonJayamanne DonJayamanne deleted the kernelNew branch April 1, 2020 21:07
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 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.

4 participants