-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Reset execution indicator state when kernel restarts #13832
Reset execution indicator state when kernel restarts #13832
Conversation
Thanks for making a pull request to jupyterlab! |
The added test is a bit blunt and while it works perfectly locally it does not pass on CI. I did not find another way to reproduce the issue with a two-liner, but suggestions for an alternative testing strategy (or how to make the tests pass) are very much welcome! |
I was able to reproduce the CI error locally; it was because previously I was only running the added test in isolation; as it was killing kernel we had to restart it. This was fixed in 40acbf2. For record the traceback when tests were failing was:
|
Thanks @krassowski! |
@meeseeksdev please backport to 3.6.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…rts (#13887) Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
References
Fixes #13780.
Code changes
Add special handling for
restarting
message, which is the only message we get if the kernel is killed non-gracefully. Because abrupt killing of kernel prevents it from responding with idle status we need to listen torestarting
instead (and clear the set with scheduled cells).User-facing changes
Execution indicator works after abrupt kernel death.
Backwards-incompatible changes
None