DEV Community

Cover image for Demystifying workflows, runs, and gates ⚙️
Flora Brandão for Upsun

Posted on

Demystifying workflows, runs, and gates ⚙️

Most people mix up execution primitives when setting up automated systems. It is frustrating when terms get blurred and governance gets confusing.

Here is the quick breakdown:

  • Workflows are the template definition, written once to handle matching triggers
  • Runs are individual execution instances tied to a single piece of work and its immutable audit log
  • Gates are explicit human decision stops that pause execution until approved

Understanding how these three primitives fit together helps track execution costs per run and keeps audit trails clear.

Check out the full article to see how these building blocks work together:

The Upsun Dispatch primitives, explained | Upsun

A workflow, a run, and a gate mean specific things in Upsun Dispatch. Here's the actual model, precisely enough to reason about before you commit to it.

favicon upsun.com

Top comments (0)