yaml-task — YAML workflow as one task
One YAML file is one durable-go task. Each steps[].id is a RunStep.
No if/else, loops, or parallel DSL — just a list of commands.
Re-running with the same taskID and runID skips already-completed steps.
Run
From the repo root:
go run ./examples/yaml-task/
Crash after step 2, then resume:
CRASH_AFTER=2 go run ./examples/yaml-task/
go run ./examples/yaml-task/
On the second run, clone and build replay from the journal; only test executes.
Reset
rm -rf examples/yaml-task/.data/