Skip to content
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

Add more logging around jupyter server death #4663

Merged
merged 7 commits into from
Mar 7, 2019

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Mar 6, 2019

For #4573, #4497

Add more logging around server death and connection problems. Make kernel spec connection problems not cause server crash

Also adjust the version of 'ws' in use.

  • 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!)
  • 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.

@rchiodo rchiodo self-assigned this Mar 6, 2019
@codecov
Copy link

codecov bot commented Mar 6, 2019

Codecov Report

Merging #4663 into master will decrease coverage by 1%.
The diff coverage is 36%.

@@           Coverage Diff           @@
##           master   #4663    +/-   ##
=======================================
- Coverage      77%     77%   -<1%     
=======================================
  Files         446     446            
  Lines       21151   21226    +75     
  Branches     3456    3473    +17     
=======================================
+ Hits        16264   16303    +39     
- Misses       4883    4919    +36     
  Partials        4       4
Flag Coverage Δ
#Linux 66% <28%> (ø) ⬇️
#Windows 66% <28%> (ø) ⬇️
#macOS 66% <28%> (ø) ⬇️

@@ -247,7 +263,7 @@ export class JupyterServerBase implements INotebookServer {

// Complete all pending as an error. We're restarting
const copyPending = [...this.pendingCellSubscriptions];
copyPending.forEach(c => c.reject());
copyPending.forEach(c => c.reject(new Error('Restarting kernel')));
Copy link
Member

@IanMatthewHuff IanMatthewHuff Mar 7, 2019

Choose a reason for hiding this comment

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

I might just be following the promise / deferred chain wrong. But is this shown in the UI?

Copy link
Author

Choose a reason for hiding this comment

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

Ah, I forgot to remove these. These should have been empty still.


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

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good. The rest of it looks good to me.


In reply to: 263191335 [](ancestors = 263191335,263191091)

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

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

:shipit:

@rchiodo rchiodo merged commit 1fb0799 into master Mar 7, 2019
@rchiodo rchiodo deleted the rchiodo/econnrefused_logging branch March 7, 2019 16:46
@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 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.

2 participants