-
Notifications
You must be signed in to change notification settings - Fork 93
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
Main thread runtime notebook kernels #5926
Conversation
…while already restarting from ready state
…otebooks listener
…uld drop the execution
This reverts commit 903b7a0.
E2E Tests 🚀 ? |
E2E test failure should be fixed by posit-dev/qa-example-content#42 |
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.
properties: { | ||
[POSITRON_RUNTIME_NOTEBOOK_KERNEL_ENABLED_KEY]: { | ||
type: 'boolean', | ||
default: true, |
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.
If this is CAUTION Experimental
, should it default to false for now?
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.
Ah, I ended up spending more time testing + hardening the PR than I initially intended on, so it turned out not to be CAUTION Experimental
in the end. I've updated the description to reflect that in eb2315f.
This PR adds notebook kernels for language runtimes in the main thread. Before this, runtime kernels lived in the
positron-notebook-controllers
extension. Having kernels in the main thread gives us more control over runtime session management. Addresses #2671.Should also address #4224 because of the way we manage notebook runtime sessions.
Some changes were required in the runtime session service in order to make this possible.
Release Notes
New Features
positron.runtimeNotebookKernel.enable
setting.Bug Fixes
QA Notes
I'll run E2E tests against this branch. Playing around with notebooks should also feel stable.
Should also address #4224.