Unify labels, byte units, snapshot numbers and spelling
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
The fields of a workflow's definition, the object save_workflow takes and read_workflow returns: steps (stage, order, parallel, random), auto_merge and auto_discard, and how stages pass outputs along and branch.
|
||||
|
||||
# Workflow definitions
|
||||
|
||||
A workflow's definition is an object: an optional `description`, optional `auto_merge` and `auto_discard` booleans, then `steps`, which run in order. With `auto_merge`, when a stage task of a run calls `ready_for_merge`, byre merges it right away as the creator of the run, pressing the button the agent picked (`complete` or `continue`); with `auto_discard`, byre discards a stage task that calls `suggest_discard`. Without them the human decides, as for any task. The workflow's name is not in it. `save_workflow` takes it as its `definition` argument and `read_workflow` returns it, both as JSON. Unknown fields are refused.
|
||||
|
||||
Reference in New Issue
Block a user