feat(deployments): simplify create worker deployment UX#3518
Merged
Conversation
Redesigns the create serverless worker deployment form with a two-card layout (Configuration + Compute), compute provider selection (Lambda / GCP Cloud Run), provider-conditional fields, and a collapsible IAM role setup guide with CloudFormation and Terraform tabs. - Auto-generates Build ID with a random hex value - Adds GCP Cloud Run provider fields and buildGcpCloudRunComputeConfig - Stores CFN and Terraform templates as raw files (?raw imports) - Accepts cfnTemplate and cfnTemplateUrl props so cloud-ui can supply hosted S3 templates and Launch Stack deep links - Removes unused serverless-worker-setup-guide and setup-guide-toggle
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…aler until supported - Extract shared provider Resource/Access/Scaling sections into compute-fields.svelte; create deployment, create version, and edit version forms all render identical provider-specific sections - Add provider + GCP fields to create/edit version schemas with conditional validation (shared superRefine) - Build GCP Cloud Run compute config in version create/edit pages; infer initial provider from stored config when editing - Omit the scaler block for Cloud Run requests: no worker-set compatible scaling algorithm exists server-side yet; scaling section shows a Coming Soon badge with Customize disabled - Decode and render GCP provider details (worker pool, project, region, service account) in the expanded version row
Cloud Run radio card renders disabled with a Coming Soon badge unless cloudRunEnabled is passed. OSS routes enable it; cloud-ui can wire the prop to a feature flag and flip it when the backend is ready.
…ility The provider picker reads the gcpCloudRunDeployments system capability directly (via a new hasCapability helper, also adopted by CapabilityGuard) and renders the Cloud Run radio card disabled with a Coming Soon badge when absent. The field doesn't exist in the published api proto yet, so OSS shows Coming Soon until the server advertises it; cloud-ui enables it by mapping a feature flag into its synthesized systemInfo capabilities, same as serverScaledDeployments.
Matches the proto field server_scaled_provider_cloud_run (temporalio/api#799).
7 tasks
laurakwhit
reviewed
Jun 11, 2026
- buildId default uses crypto.randomUUID() - provider detail decoders short-circuit unless the scaling group's provider type matches, instead of both running on every config
laurakwhit
approved these changes
Jun 12, 2026
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.
Summary
buildGcpCloudRunComputeConfig/decodeGcpCloudRunProviderDetailsin the deployments servicecompute-fields.svelteused by all three forms — create deployment, create version, and edit version render identical provider UIs, including provider-aware validation (shared zodsuperRefine) and per-provider compute config on submitserverScaledProviderCloudRuncapability (Add server_scaled_provider_cloud_run capability api#799): when the server doesn't advertise it, the radio card is disabled with a Coming Soon badge. Cloud-ui enables it by mapping theenable_server_scaled_provider_cloud_runfeature flag (temporalio/cloud-ui#2775, temporalio/saas-control-plane#13828) into its synthesized capabilities. Adds ahasCapability()utility, now also used byCapabilityGuard?rawcfnTemplateandcfnTemplateUrlprops so cloud-ui can supply its S3-hosted templates and enable the CloudFormation Launch Stack deep link (open-source UI falls back to the CF console root)serverless-worker-setup-guide.svelteandsetup-guide-toggle.svelteTesting locally
The serverless section only appears when the server advertises
serverScaledDeployments, and Cloud Run is additionally gated onserverScaledProviderCloudRun(not in the published api yet — Cloud Run shows as Coming Soon everywhere by default).temporalio/temporal-auto-scaled-workersnext to yourtemporalclone, addreplace go.temporal.io/auto-scaled-workers => ../auto-scaled-workersto temporal'sgo.mod, thenmake start(for AWS validation:AWS_PROFILE=<profile> make start)temporal operator namespace create -n default --address localhost:7233pnpm dev:local-temporalin this repo → http://localhost:3000src/routes/(app)/+layout.tsafterfetchSystemInfo:aws-lambda-deploy-testandgcp-cloud-run-deploy-testskills (test values in 1Password,devvault). Both providers were validated end-to-end against real cloud resources with this branchTest plan