Skip to content

feat: isolate Jupyter behind a private Unix socket - #343

Merged
mishushakov merged 4 commits into
mainfrom
devin/1791373732-private-jupyter
Oct 7, 2026
Merged

mishushakov merged 4 commits into
mainfrom
devin/1791373732-private-jupyter

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Move Jupyter HTTP, kernel WebSockets, interrupts, and health checks to /run/e2b-jupyter/server.sock (0600, directory 0700) instead of TCP port 8888. Loopback binding alone is insufficient because envd forwards loopback listeners onto the sandbox interface. Port 49999 remains the existing interpreter API; this PR does not add interpreter authentication.

Independent of token authentication in #342: no envd or SDK rollout dependency. Both PRs target main; only the server-test harness is shared.

Verification: real Jupyter integration passes on Python 3.10 and 3.12 after the split, covering HTTP, WebSocket execution, interrupts, socket permissions, and refused TCP connections. Repository lint/format and Python compilation pass. Template CI is pending.

Link to Devin session: https://app.devin.ai/sessions/23861bced08343e59c14adf841498b12
Open in Devin Desktop: https://app.devin.ai/desktop/session/23861bced08343e59c14adf841498b12?variant=devin
Requested by: @mishushakov

Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Comment thread template/README.md Outdated
@mishushakov
mishushakov marked this pull request as ready for review October 7, 2026 11:51
Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T11:55:31.679105Z 361f055 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread .github/workflows/lint.yml Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 361f05573c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread template/jupyter_server_config.py
devin-ai-integration Bot and others added 2 commits October 7, 2026 11:55
Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
@mishushakov
mishushakov merged commit 698c370 into main Oct 7, 2026
11 checks passed
@mishushakov
mishushakov deleted the devin/1791373732-private-jupyter branch October 7, 2026 11:59
claude[bot]

This comment was marked as outdated.

mishushakov added a commit that referenced this pull request Oct 7, 2026
chore: add changeset for Jupyter Unix socket isolation (#343)

Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mish@e2b.dev <mish@e2b.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant