Skip to content

feat(examples): add Jupyter sandbox fleet#2253

Draft
drew wants to merge 1 commit into
mainfrom
2252-jupyter-sandbox/drew
Draft

feat(examples): add Jupyter sandbox fleet#2253
drew wants to merge 1 commit into
mainfrom
2252-jupyter-sandbox/drew

Conversation

@drew

@drew drew commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add a Python SDK example that launches a configurable fleet of Jupyter sandboxes, exposes each Jupyter API server as an OpenShell service, and submits code to one member through the Jupyter REST and WebSocket APIs.

Related Issue

Closes #2252

Changes

  • Add a generic context-managed Fleet abstraction with partial-failure cleanup.
  • Manage Jupyter sandbox lifecycle through the OpenShell Python SDK.
  • Add a configurable plain Python demo that launches three fleet members and submits work to one member.
  • Add a pinned Jupyter image, restrictive sandbox policy, and usage documentation.
  • Document missing Python SDK APIs and retain the CLI only for service expose/delete operations.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

No example test files were added per the current scope. Focused Ruff, formatting, ty, policy/Fleet smoke checks, Markdown lint, SPDX checks, and the Docker image build also passed. A live sandbox run could not be completed because the available local gateways were unhealthy or unready.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (not applicable; the example README documents the feature)

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

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.

feat(examples): add a Jupyter sandbox fleet example

1 participant