Unique ports per Rust server fix vercel dev crashes
@vercel/rust@1.4.0
1 fixThis release1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗
Minor Changes
- 69892ba: Fix
vercel devinstability with the Rust runtime by allocating a unique free port per dev server instance. Previously the dev server relied on thevercel_runtimecrate's fixed default port, which caused intermittent "address already in use" failures (surfacing asProcess exited before completing request) whenvercel devrestarted the server between requests. The runtime now passes aVERCEL_DEV_PORT, waits for the process to exit during shutdown so the port is released, and reports a clear error on port collisions instead of silently falling back to lambda invocation. The shutdown grace period now also allows the runtime's dev-modewaitUntildrain to complete before force-killing, so background work registered viawaitUntilruns as expected undervercel dev.
Fetched July 1, 2026


