Enable opening notebooks without a kernel - #8039
Conversation
There was a problem hiding this comment.
Pull request overview
Adds standalone Notebook support for opening notebooks without starting or reusing a kernel.
Changes:
- Enables the upstream no-kernel context-menu action.
- Propagates no-kernel preferences through notebook URLs.
- Adds an end-to-end test confirming no session starts.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
app/package.json |
Enables the no-kernel notebook plugin. |
packages/application-extension/src/index.ts |
Applies no-kernel preferences when opening routed notebooks. |
packages/docmanager-extension/src/index.ts |
Propagates no-kernel state to new tabs. |
ui-tests/test/filebrowser.spec.ts |
Tests opening without a running session. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Hi @jtpio, I tested this branch locally and found two edge cases around carrying the no-kernel state between the tree page and the notebook tab. The first is that The second is after explicitly opening with Notebook (no kernel). If a kernel is then started, I added regression coverage and a small fix on top of the current PR head ( The two regression tests fail on the original PR head and pass with the patch. The full Chromium Happy to open this as a small PR against your feature branch if that would be useful, or you can cherry-pick the commit directly. |
References
Fixes #3170
Build on top of the upstream JupyterLab changes.
Code changes
User-facing changes
notebook-no-kernel.mp4
Backwards-incompatible changes
None