Skip to content

When a job splits into branches, how do you stop one branch from changing another’s data?

Module
02/05Module
To read
~6 minTo read

It starts with a failure

Four branches of a document pipeline ran in parallel, and the merge step received results that didn’t agree with each other. What do you think caused it?

In the module you make your guess first, then read what happened and why.

  1. 01

    Branch state is scoped by default

  2. 02

    Dead-letter routing for unroutable states

  3. 03

    Merge nodes validate before committing

  4. 04

    Parallel branches must not share mutable references

SpecA plan for keeping branches apart

A spec for your own app, as a text file you download. The module also gives you the prompt for Claude Code, Codex or Antigravity, a checklist to check what it built, and recommended skills.

  • Stateless services
  • Fault tolerance