Skip to content

[named-sandboxes] rebase from main#88

Merged
marc-vercel merged 4 commits intonamed-sandboxesfrom
named-sandboxes-rebase-3
Mar 13, 2026
Merged

[named-sandboxes] rebase from main#88
marc-vercel merged 4 commits intonamed-sandboxesfrom
named-sandboxes-rebase-3

Conversation

@marc-vercel
Copy link
Collaborator

Rebase the following commits from main:

The goal is to keep this branch as frequently updates as possible, to avoid a big merge conflict on the last day.

QuiiBz and others added 2 commits March 13, 2026 10:49
Running a command today might throw an unhandled promise rejection if
fetching the logs returns a non-ok status code (e.g. when the sandbox is
being stopped)

This happens because `getLogs` creates a floating promise without any
catch handler. `command.logs` may throw an error if the response is not
ok, in which case we would get an unhandled promise rejection error. By
default in Node.js, this kills the whole process, unless you [attach a
unhandled promise rejection
handler](https://nodejs.org/api/process.html#event-unhandledrejection)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.

- Updated dependencies
\[[`ac49096ea505d658d6e255780c663765e7a309af`](ac49096)]:
    -   @vercel/sandbox@1.8.1

- Fix unhandled promise rejection when running a command while the
sandbox is stopping ([#82](#82))

- Updated dependencies
\[[`ac49096ea505d658d6e255780c663765e7a309af`](ac49096)]:
    -   @vercel/sandbox@1.8.1

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Lienard <tom.lienrd@gmail.com>
@vercel
Copy link

vercel bot commented Mar 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sandbox-cli Ready Ready Preview, Comment Mar 13, 2026 10:16am
sandbox-sdk Ready Ready Preview, Comment Mar 13, 2026 10:16am
sandbox-sdk-ai-example Ready Ready Preview, Comment Mar 13, 2026 10:16am

Request Review

@marc-vercel marc-vercel changed the base branch from main to named-sandboxes March 13, 2026 09:55
@marc-vercel marc-vercel marked this pull request as ready for review March 13, 2026 10:07
@marc-vercel marc-vercel requested a review from AndyW22 March 13, 2026 10:07
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.

3 participants