Skip to content

Conversation

@mishushakov
Copy link
Member

@mishushakov mishushakov commented Nov 3, 2025

  • CPU/Memory increased due to OOM on build
  • Added ready command (check for URL)
  • We're copying user configuration file after user is and home directory is set

Note

Moves the template to the new E2B Python SDK with script-driven builds, updates CI to use E2B_API_KEY and buildx, removes legacy Dockerfiles/e2b.toml, adjusts startup paths, and updates docs.

  • Template build system:
    • Introduces SDK-driven template builder template/template.py and build scripts (build_ci.py, build_prod.py, build_test.py).
    • Removes legacy files: template/Dockerfile, template/test.Dockerfile, template/e2b.Dockerfile, template/e2b.toml.
    • Adds dev deps template/requirements-dev.txt.
  • CI/CD:
    • Switches secrets to E2B_API_KEY; sets up Python 3.13 and installs requirements-dev.txt.
    • Generates template ID in workflow and uses it as job output.
    • Replaces CLI-based builds with python build_ci.py / build_prod.py.
    • Docker image build now pipes build_docker.py output to docker buildx build and pushes latest.
  • Runtime/startup:
    • Updates start-up.sh to new paths (/.server, .config/...) and starts Uvicorn from venv.
    • Template start command includes readiness check via wait_for_url.
    • Resource defaults increased to cpu_count=2, memory_mb=2048 (was 1024 MB).
  • Makefile:
    • start-template-server now builds via template/build_docker.py.
  • Docs:
    • template/README.md rewritten to use the new SDK workflow.
  • Versioning:
    • Changeset: minor bump for @e2b/code-interpreter-template.

Written by Cursor Bugbot for commit ea46150. This will update automatically on new commits. Configure here.

@linear
Copy link

linear bot commented Nov 3, 2025

@mishushakov mishushakov marked this pull request as draft November 3, 2025 12:04
cursor[bot]

This comment was marked as outdated.

@mishushakov mishushakov marked this pull request as ready for review November 3, 2025 23:31
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@mishushakov mishushakov requested review from dobrac and jakubno November 6, 2025 10:01
Copy link
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

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

one nit

@mishushakov mishushakov enabled auto-merge (squash) November 6, 2025 10:31
@mishushakov mishushakov merged commit 31e8d47 into main Nov 6, 2025
9 checks passed
@mishushakov mishushakov deleted the convert-code-interpreter-template-to-new-sdk-eng-3178 branch November 6, 2025 10:52
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.

4 participants