Skip to content

Add Vercel sandboxes with Tailscale SSH - #68

Merged
czpython merged 1 commit into
mainfrom
codex/vercel-sandbox
Oct 18, 2026
Merged

czpython merged 1 commit into
mainfrom
codex/vercel-sandbox

Conversation

@czpython

@czpython czpython commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

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 as root. Vercel stops a sandbox after VERCEL_MAX_LIFETIME_SECONDS, and no lease ends later: a longer, permanent or renewed expires_at is 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, and VMProvider.lease_end cuts the create, claim, renewal and pool leases at created_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

@czpython
czpython force-pushed the codex/vercel-sandbox branch from 89ec5f3 to 97a8628 Compare October 18, 2026 13:05
@czpython czpython changed the title Add Vercel sandboxes with Tailscale and bounded leases Add Vercel sandboxes with Tailscale SSH and lease deadlines Oct 18, 2026
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
czpython force-pushed the codex/vercel-sandbox branch from 97a8628 to 237355d Compare October 18, 2026 13:53
@czpython czpython changed the title Add Vercel sandboxes with Tailscale SSH and lease deadlines Add Vercel sandboxes with Tailscale SSH Oct 18, 2026
@czpython
czpython merged commit deeae3a into main Oct 18, 2026
6 checks passed
@czpython
czpython deleted the codex/vercel-sandbox branch October 18, 2026 14:16
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.

1 participant