[build-utils] Add process-serverless utils#15712
Merged
healeycodes merged 2 commits intomainfrom Mar 26, 2026
Merged
Conversation
🦋 Changeset detectedLatest commit: 02c48ba The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
Low Risk — New utility functions extracted to shared package with comprehensive tests.
Assessed at c559e82. |
ofhouse
approved these changes
Mar 25, 2026
packages/build-utils/src/process-serverless/get-lambda-supports-streaming.ts
Outdated
Show resolved
Hide resolved
Contributor
🧪 Unit Test StrategyComparing: Strategy: Code changed outside of a package - running all unit tests Affected packages - 40 (100%)
Results
This comment is automatically generated based on the affected testing strategy |
Merged
ofhouse
pushed a commit
that referenced
this pull request
Mar 26, 2026
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. # Releases ## @vercel/build-utils@13.11.0 ### Minor Changes - Add `process-serverless` utilities: `getLambdaEnvironment`, `getLambdaPreloadScripts`, `getLambdaSupportsStreaming`, and `getEncryptedEnv`. ([#15712](#15712)) ## @vercel/backends@0.0.52 ### Patch Changes - Updated dependencies \[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]: - @vercel/build-utils@13.11.0 ## @vercel/cervel@0.0.39 ### Patch Changes - Updated dependencies \[]: - @vercel/backends@0.0.52 ## vercel@50.37.1 ### Patch Changes - Improve agent plugin install flow: agents now receive structured JSON prompts for plugin installation instead of auto-approving silently. Preferences are persisted to avoid repeat prompts. On deploy, shows a non-blocking tip if the plugin is not installed. ([#15707](#15707)) - Auto-install agent tooling on `vercel login`, `vercel link`, and `vercel deploy`. When a supported agent platform (Claude Code, Cursor) is detected or the user has `~/.claude`/`~/.cursor` directories, prompts to install the Vercel plugin. On `vercel link`, also prompts to add Vercel best practices to AGENTS.md/CLAUDE.md. On `vercel deploy`, shows a non-blocking tip if the plugin is not installed. User preferences are persisted to avoid repeat prompts. ([#15692](#15692)) - Add --archive support to `deploy continue` command. ([#15197](#15197)) - Updated dependencies \[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]: - @vercel/build-utils@13.11.0 - @vercel/backends@0.0.52 - @vercel/elysia@0.1.54 - @vercel/express@0.1.64 - @vercel/fastify@0.1.57 - @vercel/go@3.4.6 - @vercel/h3@0.1.63 - @vercel/hono@0.2.57 - @vercel/hydrogen@1.3.6 - @vercel/koa@0.1.37 - @vercel/nestjs@0.2.58 - @vercel/next@4.16.3 - @vercel/node@5.6.21 - @vercel/python@6.28.0 - @vercel/redwood@2.4.12 - @vercel/remix-builder@5.7.2 - @vercel/ruby@2.3.2 - @vercel/rust@1.0.5 - @vercel/static-build@2.9.5 ## @vercel/client@17.2.64 ### Patch Changes - Add --archive support to `deploy continue` command. ([#15197](#15197)) - Updated dependencies \[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]: - @vercel/build-utils@13.11.0 ## @vercel/elysia@0.1.54 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 ## @vercel/express@0.1.64 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 - @vercel/cervel@0.0.39 ## @vercel/fastify@0.1.57 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 ## @vercel/fs-detectors@5.12.1 ### Patch Changes - Updated dependencies \[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]: - @vercel/build-utils@13.11.0 ## @vercel/gatsby-plugin-vercel-builder@2.1.5 ### Patch Changes - Updated dependencies \[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]: - @vercel/build-utils@13.11.0 ## @vercel/h3@0.1.63 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 ## @vercel/hono@0.2.57 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 ## @vercel/koa@0.1.37 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 ## @vercel/nestjs@0.2.58 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.21 ## @vercel/node@5.6.21 ### Patch Changes - Updated dependencies \[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]: - @vercel/build-utils@13.11.0 ## @vercel/static-build@2.9.5 ### Patch Changes - Updated dependencies \[]: - @vercel/gatsby-plugin-vercel-builder@2.1.5 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
healeycodes
added a commit
that referenced
this pull request
Mar 27, 2026
Similar to #15712, we're starting to extract `collect-build-result` here in `build-utils` so it can be used in `vercel/vercel` and `vercel/api`. This code has been moved without changes.
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.
Extract process-serverless utils to
build-utilsso we can use it here invercel/vercelas well asvercel/apiwithout duplicating code.The only meaningful change is avoiding direct
process.envreads and instead accepting arguments for these functions. I'll refactor the existing call sites to pass inprocess.envvalues after this ships.