Skip to content

workflow: always import passthrough modules in the host#164

Merged
msullivan merged 1 commit into
mainfrom
sandbox-host
Jul 10, 2026
Merged

workflow: always import passthrough modules in the host#164
msullivan merged 1 commit into
mainfrom
sandbox-host

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

Currently we use the host module if it is already imported
and otherwise do a sandbox import. This can lead to importing
a host module repeatedly, which is not what we want.

Also add encodings to the passthrough list, because it leaks memory
when reimported (and relies on this fix since the leak is via
submodules).

@msullivan
msullivan requested a review from fantix July 9, 2026 19:41
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
vercel-py Ready Ready Preview Jul 9, 2026 11:21pm

Request Review

Currently we use the host module if it is already imported
and otherwise do a sandbox import. This can lead to importing
a host module repeatedly, which is not what we want.

Also add `encodings` to the passthrough list, because it leaks memory
when reimported (and relies on this fix since the leak is via
submodules).
@msullivan
msullivan merged commit 7b5f848 into main Jul 10, 2026
13 checks passed
@msullivan
msullivan deleted the sandbox-host branch July 10, 2026 03:44
@elprans elprans mentioned this pull request Jul 14, 2026
elprans added a commit that referenced this pull request Jul 14, 2026
vercel-headers
==============

- Add request header context snapshots for running callbacks with the
  active Vercel header context. (#166)
- Add ASGI scope and WSGI environ helpers for constructing Vercel header
  mappings.

vercel-oidc
===========

- Prepare `vercel-oidc` for independent workspace releases with dynamic
  dependency metadata and the shared release build hook.

- Remember the freshest live request OIDC token process-wide so
  background SDK work can authenticate outside the originating request
  context.

vercel-internal-telemetry
=========================

- Add the standalone `vercel-internal-telemetry` package for shared
  internal telemetry helpers used by Vercel Python packages.

vercel-queue
============

- Initial release (#158)

vercel-cache
============

- Split runtime cache helpers into the standalone `vercel-cache`
  package. (#160)
- Add strict mode support for runtime cache operations. (#161)

vercel
======

- Add an experimental `vercel.unstable.sandbox` SDK with sync and async
  sandbox lifecycle, process, filesystem, snapshot, query, and session
  APIs. (#128)
- Add streaming read and write support for Sandbox files and process
  output. (#135)
- Improve Workflows sandbox execution with configurable cleanup
  handlers, passthrough modules, namespaced workflows, and more reliable
  resume/error handling. (#144, #146, #148, #153, #154, #155, #156, #162,
  #163, #164, #165)
- Refactor internal HTTP transport handling to support streamed
  responses, raw bodies, timeouts, retries, and shared token resolution.
  (#119)

vercel-celery
=============

- Initial release. `vercel-celery` integration with Kombu transports for
  Vercel Queue auto, poll, and push delivery modes; Celery result
  backend backed by Vercel Runtime Cache. (#159)
elprans added a commit that referenced this pull request Jul 14, 2026
vercel-headers
==============

- Add request header context snapshots for running callbacks with the
  active Vercel header context. (#166)
- Add ASGI scope and WSGI environ helpers for constructing Vercel header
  mappings.

vercel-oidc
===========

- Prepare `vercel-oidc` for independent workspace releases with dynamic
  dependency metadata and the shared release build hook.

- Remember the freshest live request OIDC token process-wide so
  background SDK work can authenticate outside the originating request
  context.

vercel-internal-telemetry
=========================

- Add the standalone `vercel-internal-telemetry` package for shared
  internal telemetry helpers used by Vercel Python packages.

vercel-queue
============

- Initial release (#158)

vercel-cache
============

- Split runtime cache helpers into the standalone `vercel-cache`
  package. (#160)
- Add strict mode support for runtime cache operations. (#161)

vercel
======

- Add an experimental `vercel.unstable.sandbox` SDK with sync and async
  sandbox lifecycle, process, filesystem, snapshot, query, and session
  APIs. (#128)
- Add streaming read and write support for Sandbox files and process
  output. (#135)
- Improve Workflows sandbox execution with configurable cleanup
  handlers, passthrough modules, namespaced workflows, and more reliable
  resume/error handling. (#144, #146, #148, #153, #154, #155, #156, #162,
  #163, #164, #165)
- Refactor internal HTTP transport handling to support streamed
  responses, raw bodies, timeouts, retries, and shared token resolution.
  (#119)

vercel-celery
=============

- Initial release. `vercel-celery` integration with Kombu transports for
  Vercel Queue auto, poll, and push delivery modes; Celery result
  backend backed by Vercel Runtime Cache. (#159)
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.

2 participants