-
Notifications
You must be signed in to change notification settings - Fork 308
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
Nudge kernel with info request until we receive IOPub messages #361
Conversation
f1031ed
to
aca54f7
Compare
Codecov Report
@@ Coverage Diff @@
## master #361 +/- ##
==========================================
- Coverage 68.24% 66.98% -1.27%
==========================================
Files 56 56
Lines 6066 6134 +68
Branches 794 804 +10
==========================================
- Hits 4140 4109 -31
- Misses 1693 1784 +91
- Partials 233 241 +8
Continue to review full report at Codecov.
|
39eefe7
to
d4502c0
Compare
d4502c0
to
14f0c84
Compare
Now that jupyter/notebook#5908 has been merged, I think that this can get in! cc @minrk |
81890a3
to
816ca64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @SylvainCorlay. Took for a spin (with minrk/ipykernel@3fdb063 from @minrk) and it works beautifully!
I think this is ready. Please feel free to merge! This issue has been bothering us for quite some time! |
Done and released! jupyter_server 1.1.2 |
Hi @SylvainCorlay - I'm sorry for posting this against a closed PR, but I figured it's got the most context relative to what I'm seeing across restarts when kernels have had their ports changed. I'd like to get a better understanding of these lines of code in jupyter_server/jupyter_server/services/kernels/handlers.py Lines 152 to 156 in a0f98a0
which are really artifacts (for the purpose of this discussion) of these lines of code: jupyter_server/jupyter_server/services/kernels/handlers.py Lines 368 to 372 in a0f98a0
I also find that the connection counts (via I know this is all intricately tied to the buffer replay stuff, but I think Does this make sense? |
Nudge kernel with info request until we receive IOPub messages
Porting jupyter/notebook#5908 to jupyter_server.
see original discussion in jupyter/jupyter_client#593
Nudge kernel with info request upon opening websocket and upon restart until some IOPub message is received.