Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Drukbox can now create and delete E2B VMs through
POST /hostswithprovider: e2b. The adapter uses the async E2B SDK, requires Tailscale SSH, prepares the host environment, and deletes only resources with the matching host name and deployment label. Failed bootstrap and uncertain create responses trigger cleanup.E2B has a maximum continuous runtime. Host leases and renewals stay within a persisted deadline set 60 seconds before the configured E2B timeout. Automatic pause, resume, and public ingress are disabled. A template builder and setup guide are included.
Depends on #68 for the shared lease deadline and userspace Tailscale bootstrap. This PR targets
codex/vercel-sandbox; its diff contains only the E2B addition. The SDK is an optional dependency for local installs and is included in the service image.Validation: 809 local tests passed with SQLite; Ruff, format checks, and Pyright passed. All six CI checks passed, including SQLite and Postgres tests, Docker builds, and Docker-provider API tests. The local service image built and registered E2B on Python 3.11. The template builder's help command passed. Live E2B template builds, provisioning, and SSH were not run.