diff --git a/.changeset/fix-interactive-connect-resume.md b/.changeset/fix-interactive-connect-resume.md deleted file mode 100644 index 937e8dda..00000000 --- a/.changeset/fix-interactive-connect-resume.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sandbox": patch ---- - -Fix `sandbox connect` hanging or failing on a stopped/resumed sandbox. The interactive shell now surfaces `attach()` failures instead of swallowing them once the connection handshake lands, always stops the spinner on teardown (so a failure can no longer hang the process), and includes the in-sandbox server's stderr when the interactive server exits early. The in-sandbox `vc-interactive-server` also health-checks a reused server before trusting a leftover config file, so a stale `/tmp/vercel/interactive/config.json` restored from a snapshot no longer causes it to connect to a dead socket. diff --git a/packages/sandbox/CHANGELOG.md b/packages/sandbox/CHANGELOG.md index d84d6345..889a4af1 100644 --- a/packages/sandbox/CHANGELOG.md +++ b/packages/sandbox/CHANGELOG.md @@ -1,5 +1,11 @@ # sandbox +## 3.1.1 + +### Patch Changes + +- Fix `sandbox connect` hanging or failing on a stopped/resumed sandbox. The interactive shell now surfaces `attach()` failures instead of swallowing them once the connection handshake lands, always stops the spinner on teardown (so a failure can no longer hang the process), and includes the in-sandbox server's stderr when the interactive server exits early. The in-sandbox `vc-interactive-server` also health-checks a reused server before trusting a leftover config file, so a stale `/tmp/vercel/interactive/config.json` restored from a snapshot no longer causes it to connect to a dead socket. ([#215](https://github.com/vercel/sandbox/pull/215)) + ## 3.1.0 ### Minor Changes diff --git a/packages/sandbox/docs/index.md b/packages/sandbox/docs/index.md index 25aa0747..a31bc65b 100644 --- a/packages/sandbox/docs/index.md +++ b/packages/sandbox/docs/index.md @@ -1,7 +1,7 @@ ## `sandbox --help` ``` -sandbox 3.1.0 +sandbox 3.1.1 ▲ sandbox [options] diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 53ded2c4..5f0be6c9 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -1,7 +1,7 @@ { "name": "sandbox", "description": "Command line interface for Vercel Sandbox", - "version": "3.1.0", + "version": "3.1.1", "scripts": { "clean": "rm -rf node_modules dist", "sandbox": "ts-node ./src/sandbox.ts",