Open
Conversation
|
E2E Tests 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #12104
Backend-side at posit-dev/ark#1171
Enable debugging Ark notebooks via Jupyter.
Add a
BreakpointSyncServicetopositron-runtime-debugger. This allows syncing breakpoints to Ark outside of debugging sessions, which is needed so we can inject breakpoints when executing cells before the "Debug Cell" action. This is needed because Ark injects breakpoints at parse-time. Without being able to inject them outside of debuggin sessions, users would need to go back and reexecute all cells after they click "Debug Cell", which is rather poor UX.The nice thing is that we'll be able to reuse that infrastructure for Console-mode Ark to update it with breakpoints outside of debug sessions too. And then go back to our previous debug sessions approach where the backend initiates a debug session when it detects a browser prompt. We had to switch to a new approach where the debug session is enabled at all time so Ark can receive breakpoints updates, which required patching up all context keys related to debug sessions. By using the Jupyter channel for Console-mode Ark, we'll be able to simplify all of that.
This breakpoint sync service is opt-in, behing the
supported_featuresflagproactive breakpoints. The space separation is consitent withkernel subshellsfrom https://jupyter.org/enhancement-proposals/91-kernel-subshells/kernel-subshells.html.For the same reason, we now send
cellIdas part of execute request metadata. This is not part of the Jupyter protocol but a convention established by JuyterLab and ipykernel. With thecellId, Ark is able to map breakpoints to the dumpCell tempfile. cc @jmcphersScreen.Recording.2026-04-25.at.11.11.03.mov
Release Notes
New Features
Bug Fixes
QA Notes
@:notebooks
@:positron-notebooks