workflow: always import passthrough modules in the host#164
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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).
fantix
approved these changes
Jul 10, 2026
Merged
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
encodingsto the passthrough list, because it leaks memorywhen reimported (and relies on this fix since the leak is via
submodules).