Skip to content

fix(js-sdk): pass sandbox headers to EnvdApiClient#1175

Merged
mishushakov merged 2 commits into
mainfrom
mishushakov/fix-sandbox-headers
Mar 6, 2026
Merged

fix(js-sdk): pass sandbox headers to EnvdApiClient#1175
mishushakov merged 2 commits into
mainfrom
mishushakov/fix-sandbox-headers

Conversation

@mishushakov
Copy link
Copy Markdown
Member

@mishushakov mishushakov commented Mar 3, 2026

Summary

  • Fixes Sandbox.create() failing in self-hosted environments because sandboxHeaders were not propagated to EnvdApiClient
  • Spreads sandboxHeaders (E2b-Sandbox-Id, E2b-Sandbox-Port) into the headers passed to the envd API client

Closes #1158
Based on #1159 by @ajuijas

Test plan

  • Verify sandbox creation works in self-hosted environments
  • Verify sandbox headers are correctly passed to EnvdApiClient

Note

Cursor Bugbot is generating a summary for commit f78d8b5. Configure here.

ajuijas and others added 2 commits March 3, 2026 13:32
Fixes an issue where Sandbox.create() would fail in self-hosted environments because sandboxHeaders were not propagated to EnvdApiClient.

Signed-off-by: ajuijas <ijas.ahmd.ap@gmail.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 3, 2026

🦋 Changeset detected

Latest commit: f78d8b5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
e2b Patch

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 3, 2026

Package Artifacts

Built from 9839cdb. Download artifacts from this workflow run.

JS SDK (e2b@2.13.1-mishushakov-fix-sandbox-headers.0):

npm install ./e2b-2.13.1-mishushakov-fix-sandbox-headers.0.tgz

CLI (@e2b/cli@2.7.4-mishushakov-fix-sandbox-headers.0):

npm install ./e2b-cli-2.7.4-mishushakov-fix-sandbox-headers.0.tgz

Python SDK (e2b==2.14.0+mishushakov-fix-sandbox-headers):

pip install ./e2b-2.14.0+mishushakov.fix.sandbox.headers-py3-none-any.whl

@mishushakov mishushakov enabled auto-merge (squash) March 3, 2026 13:14
@mishushakov mishushakov merged commit 3c56842 into main Mar 6, 2026
23 checks passed
@mishushakov mishushakov deleted the mishushakov/fix-sandbox-headers branch March 6, 2026 13:22
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.

[Bug]: Client SDK should pass sandboxHeaders to EnvdApiClient

3 participants