Repository navigation
Add Vercel sandboxes with Tailscale SSH - #68
Merged
Merged
Conversation
czpython
force-pushed
the
codex/vercel-sandbox
branch
from
October 18, 2026 13:05
89ec5f3 to
97a8628
Compare
Vercel stops each sandbox after a fixed time, so a provider's max_lifetime now cuts every lease at created_at + max_lifetime. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JWeJyDmCJYS6etbwXsb3vw
czpython
force-pushed
the
codex/vercel-sandbox
branch
from
October 18, 2026 13:53
97a8628 to
237355d
Compare
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.
Requested by Paulo · project thread
Before: drukbox could not make hosts on Vercel.
After:
{"provider": "vercel"}starts a Vercel sandbox that joins the tailnet and serves Tailscale SSH asroot. Vercel stops a sandbox afterVERCEL_MAX_LIFETIME_SECONDS, and no lease ends later: a longer, permanent or renewedexpires_atis cut to that time.How: the provider calls the Vercel Sandbox REST API in the same shape as Daytona: create, run the bootstrap and wait for it, delete by name. A provider with a fixed lifetime sets
VMProvider.max_lifetime, andVMProvider.lease_endcuts the create, claim, renewal and pool leases atcreated_at + max_lifetime. Providers without it behave as before. The image is the same as the Daytona image.Not verified live: a real create, the bootstrap, Tailscale SSH and the delete need a Vercel team with sandbox access.
🤖 Generated with Claude Code
https://claude.ai/code/session_01JWeJyDmCJYS6etbwXsb3vw