PRO

Effect Workflow v4 Migration

A working Effect 4 workflow annotated line by line with the Effect 3 spelling it replaces, covering the six verified breaks between @effect/workflow 0.19.0 and effect/unstable/workflow: the package move into core, tag-first Workflow.make with a subclassable result and an exposed _tag, the Schema.Schema.Any to Schema.Top generic bound change that only bites user-written helpers, TaggedError to TaggedErrorClass, variadic Schema.Literal to array Schema.Literals, and the Context.Service Type to Service rename on WorkflowEngine.

Install
npx shadcn@latest add https://ui.aryank.space/r/effect-workflow-v4-migration.json

Installs from ui.aryank.space. To add it by hand, copy the files in Files below, or register the @compronents namespace via the docs.

Visualization
migrate
Schema.Schema.Any
<S extends Schema.Top>(w: Workflow<S>) => w._tag // v3 bound: Schema.Schema.Any

The same workflow annotated with the six verified Effect 3 to 4 breaks: the package move, tag-first make, and the generic-bound change.

Files

Dependencies