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

use jupyter server sha with fixes for switching kernel #28

Open
wants to merge 2 commits into
base: 4.2.x-ocean
Choose a base branch
from

Conversation

sigmarkarl
Copy link

Jira ticket

https://spotinst.atlassian.net/browse/BGD-5953

Checklist

  • I added a Jira ticket link
  • I added a changeset with the simple-changeset add command
  • I filled in the test plan
  • I executed the tests and filled in the test results

Why

Switching kernels was broken when using pseudo waiting kernel to prevent timeouts

What

Ignore kernel_id "waiting" in all cases. Previously "waiting" kernel was saved to sqlite db to be fetched again and treated like a normal kernel

How to test

Run a workspace with jupyterlab image with these changes (edit deployment). Run one of the config templates and wait until the notebook spark application is running. Switch to another config template in the upper right corner. The previous application should be killed and a new one with the selected config should be launched and connected

Screenshot 2024-10-08 at 10 09 42

Test plan and results

Ran the above and switches kernels two more times.

pyproject.toml Outdated
@@ -42,7 +42,7 @@ dependencies = [
"ipykernel>=6.5.0",
"jinja2>=3.0.3",
"jupyter_core",
"jupyter_server@git+https://github.com/spotinst/jupyter_server.git@846e3fb",
"jupyter_server@git+https://github.com/spotinst/jupyter_server.git@5653074",
Copy link

Choose a reason for hiding this comment

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

I think it should be ddf0b984e3a609aa0582f1a69d75276157a175a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants