Skip to content

Direct synchronous execution refuses a workflow that loops

The engine walks the compiled order once and runs each node once, so no loop can go round again in it. It refuses the workflow rather than running the body once and reporting success.

The rule

Normative: this is the rule
  1. Direct synchronous execution MUST walk the compiled execution order once, top to bottom, and MUST NOT run a node a second time.
  2. It carries results in memory.
  3. After compiling and before any node executes, it MUST check the compiled graph for loopback edges.
  4. Where any is present it MUST refuse the run with a distinguishable refusal that names the offending edges and nodes and points at the strategies that do iterate.
  5. In that case it MUST execute no node.

Why

Recorded under OPEN-13, OPEN-25, OPEN-60.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · ORC-7 · changed in spec 1.1