Vercel

Vercel Introduces Named Sandboxes for Easier Identification and Session Persistence


Executive Summary

Vercel has updated the beta package for its Sandboxes feature, replacing the previous ID-based system with unique, customizable names. This change allows developers to more easily find, reference, and manage their sandbox environments. The introduction of named sandboxes also enables automatic session persistence, making it simple to stop and later resume work within a specific sandbox using the updated SDK or CLI.

Key Takeaways

* Custom Naming: Developers can now assign a human-readable name to a Vercel Sandbox upon creation (e.g., `name: 'user-a-workspace'`).

* Simplified Management: Names make it easier to reference and retrieve specific sandboxes, improving workflow efficiency.

* Automatic Persistence: The naming system is the foundation for automatic persistence, allowing sessions to be easily identified and resumed even after timing out.

* Updated Tooling: The feature is available in the latest beta versions of the SDK (`@vercel/sandbox@beta`) and the CLI (`sandbox@beta`), which includes new commands for managing named sandboxes.

Strategic Importance

This update enhances the developer experience by making Vercel's ephemeral cloud environments more user-friendly and stateful, encouraging more complex and long-running development workflows.

Original article