Skip to content

Conversation

@JonnyBurger
Copy link
Member

Copilot AI review requested due to automatic review settings December 8, 2025 18:52
@vercel
Copy link
Contributor

vercel bot commented Dec 8, 2025

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

Project Deployment Preview Comments Updated (UTC)
bugs Ready Ready Preview Comment Dec 8, 2025 6:56pm
remotion Ready Ready Preview Comment Dec 8, 2025 6:56pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR handles the case where the PHP Lambda client omits the concurrency parameter when calling the serverless start handler, allowing it to be undefined in addition to number | null.

Key changes:

  • Updated the ServerlessStartPayload type to allow concurrency to be number | null | undefined
  • Used the nullish coalescing operator to convert undefined to null when creating the launch payload

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/serverless-client/src/constants.ts Added undefined to the concurrency type in ServerlessStartPayload with a comment explaining the PHP Lambda client behavior
packages/serverless/src/handlers/start.ts Used nullish coalescing operator to convert undefined concurrency to null before passing to launch payload

@JonnyBurger JonnyBurger marked this pull request as draft December 8, 2025 19:11
@JonnyBurger
Copy link
Member Author

I got no response on Discord, so I have to assume user just didn't update their Lambda SDK. Closing

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