Skip to content

[COM-193] Lock compute provider for new deployment versions#3674

Merged
rossnelson merged 2 commits into
mainfrom
com-193-lock-version-provider
Jul 16, 2026
Merged

[COM-193] Lock compute provider for new deployment versions#3674
rossnelson merged 2 commits into
mainfrom
com-193-lock-version-provider

Conversation

@rossnelson

@rossnelson rossnelson commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Resolve the compute provider already used by an existing Worker Deployment before rendering the create-version form.
  • Initialize new versions with that provider and hide every alternative so a deployment cannot move providers between versions.
  • Preserve the existing configurable/default provider behavior for deployments without versions.
  • Fail closed when deployment loading fails or the existing provider is missing, unknown, mixed, or excluded by configuration.
  • Expose canCreateServerlessDeployment so consumers can hide the empty-state serverless create action when no provider is supported, while keeping the self-managed deployment link visible.

Test plan

  • Focused provider-lock tests passed during implementation (25/25).
  • Pre-commit ESLint, Prettier, and Stylelint hooks passed for both commits.
  • git diff --check passed.
  • Static architect review approved both changes.
  • CI checks pending. Per request, local test workers were not restarted after the final static-only adjustments.

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Jul 15, 2026 5:09pm

Request Review

@rossnelson
rossnelson marked this pull request as ready for review July 14, 2026 19:38
@rossnelson
rossnelson requested a review from a team as a code owner July 14, 2026 19:38

@andrewzamojc andrewzamojc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@rossnelson
rossnelson merged commit 51164cb into main Jul 16, 2026
18 checks passed
@rossnelson
rossnelson deleted the com-193-lock-version-provider branch July 16, 2026 20:50
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