Skip to content

chore: rename the infra repository references to e2b-dev/runtime - #1864

Merged
mishushakov merged 1 commit into
mainfrom
devin/1789050962-rename-infra-to-runtime
Sep 10, 2026
Merged

chore: rename the infra repository references to e2b-dev/runtime#1864
mishushakov merged 1 commit into
mainfrom
devin/1789050962-rename-infra-to-runtime

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

e2b-dev/infra was renamed to e2b-dev/runtime today. Git clone URLs and the REST API follow the redirect, but the GitHub App installation-token endpoint does not, so the "Generated files" check has failed on every PR since ~13:34 UTC:

actions/create-github-app-token  repositories: belt,infra
→ 422 There is at least one repository that does not exist or is not accessible to the parent installation.

This renames every reference to the old repo name so nothing depends on the redirect:

  • .github/workflows/generated_files.yml: repositories: belt,infrabelt,runtime (the actual fix)
  • copy.bara.sky: INFRA_REPORUNTIME_REPO = "https://github.com/e2b-dev/runtime.git"
  • spec pin: spec/infra-refspec/runtime-ref (same commit), override env E2B_INFRA_REFE2B_RUNTIME_REF in scripts/fetch-spec.sh
  • docs/comments in Makefile, spec/README.md, CLAUDE.md, and the SDK/CLI docstrings that point at the server-side source

No changeset: only docstrings/comments change in the published packages. CHANGELOG entries and infra#NNNN issue shorthands are left as historical.

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

The e2b-dev/infra repository was renamed to e2b-dev/runtime. Git clone URLs
follow the redirect, but the GitHub App installation-token endpoint does
not, so the generated-files check failed to mint a token for 'belt,infra'.
Point the token mint, the Copybara origin, the spec pin (spec/runtime-ref,
E2B_RUNTIME_REF) and the docs at the new name.

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

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@cla-bot cla-bot Bot added the cla-signed label Sep 10, 2026
@changeset-bot

changeset-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0dc29c4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

TASTE.md review: no violations. The PR only renames e2b-dev/infrae2b-dev/runtime in comments, docstrings, CI config, Copybara config, and the spec-fetch script; it changes no public SDK surface. Checked the touched SDK docstrings (sandboxApi.ts, sandbox_api.py, sandbox_sync/main.py, sandbox_async/main.py) against T-1/T-2 parity, T-69–T-74 docstring rules, and T-12 acronym casing — all still comply, and the sync/async Python edits mirror each other.

@github-actions

Copy link
Copy Markdown
Contributor

Package Artifacts

Built from e1afd5d. Download artifacts from this workflow run.

JS SDK (e2b@2.49.1-devin-1789050962-rename-infra-to-runtime.0):

npm install ./e2b-2.49.1-devin-1789050962-rename-infra-to-runtime.0.tgz

CLI (@e2b/cli@2.19.1-devin-1789050962-rename-infra-to-runtime.0):

npm install ./e2b-cli-2.19.1-devin-1789050962-rename-infra-to-runtime.0.tgz

Code Interpreter JS SDK (@e2b/code-interpreter@2.8.1-devin-1789050962-rename-infra-to-runtime.0):

npm install ./e2b-code-interpreter-2.8.1-devin-1789050962-rename-infra-to-runtime.0.tgz

Desktop JS SDK (@e2b/desktop@2.4.1-devin-1789050962-rename-infra-to-runtime.0):

npm install ./e2b-desktop-2.4.1-devin-1789050962-rename-infra-to-runtime.0.tgz

Python SDK (e2b==2.49.0+devin.1789050962.rename.infra.to.runtime):

pip install ./e2b-2.49.0+devin.1789050962.rename.infra.to.runtime-py3-none-any.whl

Code Interpreter Python SDK (e2b-code-interpreter==2.10.0+devin.1789050962.rename.infra.to.runtime):

pip install ./e2b_code_interpreter-2.10.0+devin.1789050962.rename.infra.to.runtime-py3-none-any.whl

Desktop Python SDK (e2b-desktop==2.5.0+devin.1789050962.rename.infra.to.runtime):

pip install ./e2b_desktop-2.5.0+devin.1789050962.rename.infra.to.runtime-py3-none-any.whl

@mishushakov
mishushakov marked this pull request as ready for review September 10, 2026 14:39
@mishushakov
mishushakov self-requested a review as a code owner September 10, 2026 14:39

@claude claude 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.

Looks good, straightforward rename/config fix. Reviewed: the actual CI fix (repositories: belt,infrabelt,runtime in generated_files.yml), the copy.bara.sky/fetch-spec.sh/Makefile env-var and pin renames (E2B_INFRA_REFE2B_RUNTIME_REF, infra-refruntime-ref), the spec/infra-refspec/runtime-ref rename (commit hash unchanged), and the doc-comment updates in the JS/Python SDK and CLI. All are comment/config-only changes with no behavior impact.

Extended reasoning...

Overview

This PR renames every internal reference from e2b-dev/infra to e2b-dev/runtime following the upstream repo rename, fixing a broken "Generated files" CI check (the GitHub App installation-token action doesn't follow the rename redirect for its repositories: list). Changes span the workflow file, copy.bara.sky, scripts/fetch-spec.sh, Makefile, spec/README.md, CLAUDE.md, and doc comments/docstrings in the JS SDK, Python SDK, and CLI. The spec/infra-ref file was renamed to spec/runtime-ref with identical content (same pinned commit hash), confirmed via git show.

Security risks

None. No functional code paths change — only comments, docstrings, an env var name, a Copybara config variable name, and a GitHub Actions repositories: list value used for scoping a short-lived installation token to the (renamed) repo it already needed access to.

Level of scrutiny

Low scrutiny is appropriate: this is a mechanical, find-and-replace-style rename with no changeset required (correctly omitted per CLAUDE.md, since only comments/docstrings in published packages changed) and no behavioral changes to test. I verified the actual functional fix (the repositories: field) is correct and that the pin file rename preserved the exact commit reference. I also grepped for any remaining e2b-dev/infra / infra-ref / E2B_INFRA_REF references across the changed files and confirmed all were updated consistently, with no other workflow files left referencing the old name.

Other factors

One minor leftover: README.md:106 still links to github.com/e2b-dev/infra and says "E2B infrastructure" — untouched by this PR and outside its stated scope (GitHub's redirect keeps the link functional, so this is cosmetic, not a bug). No third-party reviewer objections are outstanding, and the change is small, self-contained, and low-risk enough that a human need not review it further.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@mishushakov
mishushakov merged commit 87d65f2 into main Sep 10, 2026
77 of 79 checks passed
@mishushakov
mishushakov deleted the devin/1789050962-rename-infra-to-runtime branch September 10, 2026 15:00
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