Skip to content

feat: serverless workers prototype#3209

Draft
rossnelson wants to merge 30 commits intoworker-insightsfrom
serverless-workers-prototype
Draft

feat: serverless workers prototype#3209
rossnelson wants to merge 30 commits intoworker-insightsfrom
serverless-workers-prototype

Conversation

@rossnelson
Copy link
Collaborator

@rossnelson rossnelson commented Mar 3, 2026

Summary

Adds Serverless Workers as a new worker type alongside traditional workers, built on top of the worker-insights branch. All serverless data is mocked — no backend APIs exist yet.

CleanShot 2026-03-03 at 15 40 51

  • Workers tab: Unified table showing both traditional and serverless workers with a Type column distinguishing them. Reordered columns (Instance, Task Queue, Status, Type...). Three-dots context menus on serverless rows with View, Edit, and Delete actions.
  • Configuration tab (new, third tab): Side-nav layout using VerticalNav. Placeholder items for General, Policies, Alerts (disabled). Serverless Workers section is functional with a list view, context menus, and a Create button.
  • Create form: Single-page form (not a wizard) using superforms + zod. Fields for name, Lambda ARN, IAM Role ARN, region dropdown, and task queue. Advanced config (max workers, concurrency, rate, idle timeout) in a collapsible accordion with defaults. Async mock validation on blur for ARN format, IAM permissions, region mismatch, and task queue existence.
  • Detail page: Two-column card layout showing connection config and advanced settings. Accessible from both the workers list and configuration list. Edit and Delete actions.
  • Edit page: Read-only connection details (name, ARN, IAM role, region, task queue) with editable advanced configuration fields. Uses superforms + zod validation.

Test plan

  • Navigate to Workers tab — serverless workers appear in unified table with correct Type badges
  • Column order: Instance, Task Queue, Status, Type, Identity, Host Name, slots, SDK
  • Three-dots menu on serverless rows shows View, Edit, Delete
  • Configuration tab — VerticalNav with Serverless Workers active, General/Policies/Alerts disabled
  • Serverless list shows all 4 mock workers with context menus
  • Create form validates fields, async checks on blur, advanced config in accordion
  • Detail page shows config + advanced settings, Edit and Delete buttons
  • Edit page shows read-only connection details, editable advanced config, Save/Cancel
  • Delete via modal confirmation returns to workers list

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.
@vercel
Copy link

vercel bot commented Mar 3, 2026

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

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Mar 13, 2026 5:01pm

Request Review

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.
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.

1 participant