Skip to content

(draft) lifecycle in sdk#1146

Draft
matthewlouisbrockman wants to merge 9 commits intomainfrom
lifecycle-in-sdk
Draft

(draft) lifecycle in sdk#1146
matthewlouisbrockman wants to merge 9 commits intomainfrom
lifecycle-in-sdk

Conversation

@matthewlouisbrockman
Copy link
Contributor

@matthewlouisbrockman matthewlouisbrockman commented Feb 19, 2026

Implements the lifecycle prop on Sandbox.create, taking over and deprecating the beta_pause functionality.

Currently supports:

  • on_timeout: kill (default) | pause. Controls what should happen to the sandbox when it hits end of life. Pause allows for resuming
  • resume_on: off (default) | any. Controls what traffic should auto-resume the sandbox.

Intended for additional functionality as we update the backend to support additional props. Blocked from deploying until the API and client-proxy are deployed.

Meant to be extended as add more capabilities to the API

@changeset-bot
Copy link

changeset-bot bot commented Feb 19, 2026

🦋 Changeset detected

Latest commit: 986c81d

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

This PR includes changesets to release 2 packages
Name Type
@e2b/python-sdk Minor
e2b Minor

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
Contributor

github-actions bot commented Feb 19, 2026

Package Artifacts

Built from 9f72a9d. Download artifacts from this workflow run.

JS SDK (e2b@2.12.2-lifecycle-in-sdk.0):

npm install ./e2b-2.12.2-lifecycle-in-sdk.0.tgz

CLI (@e2b/cli@2.7.1-lifecycle-in-sdk.0):

npm install ./e2b-cli-2.7.1-lifecycle-in-sdk.0.tgz

Python SDK (e2b==2.13.2+lifecycle-in-sdk):

pip install ./e2b-2.13.2+lifecycle.in.sdk-py3-none-any.whl

@matthewlouisbrockman
Copy link
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ 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".

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

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@matthewlouisbrockman
Copy link
Contributor Author

matthewlouisbrockman commented Feb 19, 2026

adding the changeset should not have caused tests to fail, tests seem a bit flaky for some reason (not related to this PR i don't think)

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.

1 participant

Comments