feat(sdk): add httpsPorts network config for HTTPS sandbox backends#1546
feat(sdk): add httpsPorts network config for HTTPS sandbox backends#1546mishushakov wants to merge 1 commit into
Conversation
Adds httpsPorts (JS) / https_ports (Python) to the sandbox network config so ports whose in-sandbox service serves TLS itself get their public URLs proxied over HTTPS. Pairs with e2b-dev/infra#3280. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: aeec4d0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
PR SummaryMedium Risk Overview OpenAPI Reviewed by Cursor Bugbot for commit aeec4d0. Bugbot is set up for automated code reviews on this repo. Configure here. |
Package ArtifactsBuilt from b5f1168. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.33.1-define-sdk-config-for-https-backend-ports-sdk-235.0.tgzCLI ( npm install ./e2b-cli-2.13.3-define-sdk-config-for-https-backend-ports-sdk-235.0.tgzPython SDK ( pip install ./e2b-2.32.0+define.sdk.config.for.https.backend.ports.sdk.235-py3-none-any.whl |
Adds
httpsPorts(JS) /https_ports(Python, sync and async) to the sandbox network config (SDK-235) so ports whose in-sandbox service serves TLS itself get their public URLs proxied to the sandbox over HTTPS. This is not TLS passthrough — traffic is still terminated at the E2B proxy and re-encrypted on the hop to the sandbox, and the backend certificate is not verified, so self-signed certificates work. The configured ports are also returned in the sandbox info network config, and the OpenAPI spec change mirrors e2b-dev/infra#3280, which this PR depends on. Live tests covering the new option currently fail with a 502 (all pre-existing network tests pass) and will go green once the infra PR is deployed.Usage
🤖 Generated with Claude Code