feat: serverless workers prototype#3209
Draft
rossnelson wants to merge 30 commits intoworker-insightsfrom
Draft
Conversation
Foundation for serverless workers prototype with types, CRUD operations, and async mock validators for Lambda ARN, IAM role, region, and task queue.
Adds 60+ translation keys for serverless worker management UI and route helpers for configuration, detail, and edit pages.
Adds Configuration as third tab alongside Workers and Deployments. Updates sidebar nav isActive to include worker-configuration and serverless-workers routes.
Shows traditional and serverless workers in one table with Type column. Reorders columns to Instance, Task Queue, Status, Type. Adds three-dots context menu to serverless rows with View, Edit, and Delete actions.
Configuration tab uses side-nav with Serverless Workers active and placeholder items. Includes serverless workers list with context menus and create form with superforms validation.
Detail page shows config and advanced settings with Edit/Delete actions. Edit page shows read-only connection details with editable advanced config. Create form uses superforms with zod validation and async mock checks.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Extract shared form component for create/edit, add provider picker, pre-setup guidance with CloudFormation/Terraform snippets, Combobox region selector, validation spinners, tooltip help, copyable ARNs with AWS console links, and educational empty state.
…events Navigate back to workers list instead of config page after creation. Convert on:input/on:blur to oninput/onblur in form component.
Replace generic Badge with the purpose-built status badge that shows correct colors and heartbeat animation for running/stopped/draining.
Wire up Delete menu item with confirmation modal and service call.
… tab Add toolbar with debounced search input and create button above the workers table, matching the Figma design for the Active workers view.
Add skeleton component that mimics the detail layout with animated placeholders for the header, configuration card, and advanced config.
Default compute to Lambda and sdkVersion when creating workers. Apply search filter to serverless workers alongside traditional ones.
- Redesign header with Back to Workers | Go to Workflows links, status badge + name + Edit button - Add metadata row (Task Queue, Compute, Last Heartbeat, Created, SDK) - Redesign Deployment Configuration card with two-column layout (Compute Provider + Scaling) - Redesign metrics cards with 3-column layout (Slots with progress bar, Tasks Processed, Poller) - Use ghost badges for slot type and poller strategy - Redesign Host Info card with stacked label/value layout and border-separated usage section - Redesign Workflow Cache card with big mono numbers in 2-column grid - Redesign Diagnostics card with big mono numbers in 2-column grid - Replace custom versions table with Holocene Table component - Add external-link icon to Go to Workflows links in versions table - Update i18n keys and mock service data to match Figma designs
- Extract form into separate create/edit components with shared utilities - Add two-column layout with AWS Setup Guide sidebar for create form - Add Timeline component for setup guide steps - Make all fields editable in edit form with inline compute provider - Remove old monolithic serverless-worker-form.svelte
- Add ServerlessWorkerStatus badge component - Update serverless worker table row with formatted dates and compute icons - Add empty states for active workers and deployments tabs - Update routing to move serverless workers under namespace path - Remove old worker-configuration routes - Update heartbeat indicator component
Adds a destructive delete button next to the Edit button that opens the existing DeleteWorkerModal with type-to-confirm pattern.
Restructures the edit form with Configuration and Compute cards, nested AWS fields in a shaded sub-section, vertically stacked scaling fields, and Coming Soon provider options with badges.
Add a generic RadioCard component to the holocene design system that renders a bordered card with radio input, label, description, optional badge slot, and expandable content when selected. Use it in a new ComputeProviderPicker component shared by both create and edit forms, eliminating duplicated provider radio markup.
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
Adds Serverless Workers as a new worker type alongside traditional workers, built on top of the
worker-insightsbranch. All serverless data is mocked — no backend APIs exist yet.Test plan