Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
AssigneesNone

Relationships

↔ sibling #2923

#2925 swamp workflow create crashes with an [FTL] ZodError stack trace on an invalid (uppercase) workflow name

Opened by hammz · 10/1/2026· Shipped 10/1/2026

Description

Passing a workflow name that fails workflow-name validation to swamp workflow create crashes the CLI with an [FTL] fatal log, a raw ZodError JSON dump and a stack trace, instead of a clean validation error. Sibling of swamp-club#2923 (same defect in model create).

Found while triaging swamp-club#2923 on 20261001.202145.0-sha.a3515474.

Steps to reproduce

  1. swamp repo init --tool none in a scratch dir
  2. swamp workflow create WfUpper

Actual

[FTL] error: ZodError with message: Workflow name must be lowercase alphanumeric with hyphens (e.g. 'deploy-pipeline'). Must start with a letter or number. followed by a stack trace through Workflow.create (src/libswamp/workflows/create.ts). Names over 64 characters crash the same way.

Expected

A user-facing validation error naming the rule (and a json-mode error object under --json), with no stack trace. The name should be validated up front in workflowCreate, before Workflow.create throws.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPEDLINKED+ 4 MOREPR_MERGED+ 1 MORESESSION_SUMMARIZED

Shipped

10/1/2026, 10:19:03 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
hammz linked sibling of #292310/1/2026, 8:49:08 PM

Sign in to post a ripple.