Repository navigation
Add optional Jupyter kernel workers with private sandbox transport - #178
Draft
t-kalinowski wants to merge 9 commits into
Draft
t-kalinowski wants to merge 9 commits into
t-kalinowski wants to merge 9 commits into
Conversation
Apply the existing test-only DuckDB snapshot to direct and MXC SQL scenarios. Assert the selected version before the long query so cold caches cannot silently introduce the known Arrow cancellation limitation. Preserve production defaults, interruption deadlines, and exact results.
Queue stdin while the replacement cell is held at its checkpoint, then release it and collect the complete result. Preserve the exact output and idle-state assertions without assuming one response completes the cell.
Require the new guide in the task table and Guides sidebar, and retain the explicit allowlist of supported task destinations.
Keep the required completion marker when a control-and-cell response is split across polls. Exercise the split with a gated native R startup cell and select the same contract in related restart continuations.
This branch has not been deployed
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.
Adds
serve --jupyter-kernel NAMEso Console can use an installed local Jupyter kernel while retaining its MCP interface and sandbox. This makes published ark and ipykernel available as optional execution backends; the built-in worker remains the default.send(code=...), including the synchronous and asynchronous Python clients. Kernel sessions support persistent state, text and image output, prompted input, interrupts, restart, and source archives.code, across split responses. A gated native startup case exercises the split while preserving its sandbox and package-preparation assertions. These collector changes affect tests only.This mode requires preinstalled packages and supports macOS/Linux. It does not provide Console's managed dependency preparation, SQL sessions, Windows worker support, or interactive notebook displays. Reticulate integration is in the dependent draft #179.
Local feature validation on macOS passed all 13 applicable ipykernel and ark cases, 22 lifecycle/CLI executions, all 36 website checks,
scripts/format, andscripts/check. Seven affected baseline SQL/startup cases also passed in 12 executions. Two Linux kernel cases were capability-skipped locally. Benchmark data retains its original measured revision and is not presented as a rerun of this branch.The hosted Unix runners capability-skip the optional Jupyter execution cases when kernel dependencies are not configured; those runs do not establish kernel execution coverage. The Windows runner reports MXC unavailable, so native sandbox execution remains unverified. Documentation deployment is intentionally skipped for pull requests.
For the collector repair, a public ipykernel restart with bundled
code="pass"andtimeout_ms=0reproduced the missing completion marker and passed after the fix, followed by an accepted cell. The native R startup gate, ipykernel interrupt/restart case, and ark output/error case passed on macOS (three cases).scripts/format,git diff --check, andscripts/checkpassed. Current-head hosted checks remain pending; Linux and Windows were not rerun locally for this repair.