Repository navigation
chore(sdk): deprecate every sandbox git method - #2177
Conversation
🦋 Changeset detectedLatest commit: 2de9c7a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
TASTE.md review (posted as a PR comment because the GitHub reviews API returned HTTP 500 twice for this PR) TASTE.md review: complies, 0 violations. Checked T-1/T-2 (all 19 methods deprecated in JS, sync and async Python), T-66 ( |
Package ArtifactsBuilt from 2f0a28a. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-dockerfile-utils-0.1.3-devin-1795622525-deprecate-git-methods.0.tgz ./e2b-2.64.1-devin-1795622525-deprecate-git-methods.0.tgzCLI ( npm install ./e2b-cli-2.24.1-devin-1795622525-deprecate-git-methods.0.tgzCode Interpreter JS SDK ( npm install ./e2b-code-interpreter-2.9.2-devin-1795622525-deprecate-git-methods.0.tgzDesktop JS SDK ( npm install ./e2b-desktop-2.5.1-devin-1795622525-deprecate-git-methods.0.tgzPython SDK ( pip install ./e2b_dockerfile_utils-0.1.2+devin.1795622525.deprecate.git.methods-py3-none-any.whl ./e2b-2.64.0+devin.1795622525.deprecate.git.methods-py3-none-any.whlCode Interpreter Python SDK ( pip install ./e2b_code_interpreter-2.11.10+devin.1795622525.deprecate.git.methods-py3-none-any.whlDesktop Python SDK ( pip install ./e2b_desktop-2.7.2+devin.1795622525.deprecate.git.methods-py3-none-any.whl |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
can you force-push to restart the stuck workflows |
ddbc2bf to
2de9c7a
Compare
|
Rebased on main and force-pushed (2de9c7a); all workflows restarted, CodeQL |
Summary
#1774 deprecated
Sandbox.git, theGitclass and its types, but not the individual methods. This adds the same deprecation notice to all 19 publicGitmethods (clone,init,remoteAdd,remoteGet,status,branches,createBranch,checkoutBranch,deleteBranch,add,commit,reset,restore,push,pull,setConfig,getConfig,dangerouslyAuthenticate,configureUser, and their snake_case Python equivalents):@deprecatedJSDoc:deprecated:docstring line (same convention as the rest of the SDK)Annotations only, no behavior change;
patchchangeset.Migration:
Link to Devin session: https://app.devin.ai/sessions/c1ed439c560c461db1fbaa3669a2c2d7
Open in Devin Desktop: https://app.devin.ai/desktop/session/c1ed439c560c461db1fbaa3669a2c2d7?variant=devin
Requested by: @mishushakov
🟢 Devin Review found nothing to fix · View findings