Node statuses are keyed by workflow node id and collapse every iteration
This is what an editor looks a badge up by, so the key has to be the id the canvas holds. A node that ran many times still has one entry, with the per-iteration picture inside it.
The rule
Normative: this is the rule
node_statusesis keyed by the workflow node id (the id the stored workflow gives the node), never by a job identifier, a node-type identifier or an iteration-suffixed variant.- Iterations of a node produced by a loop carry the plain node id, so every iteration collapses onto one entry.
- Only nodes that produced work get a key; a node excluded from execution has no entry and reads as idle.
- Within a collapsed entry,
statusis the status of the newest job in the group, with the later job in run order winning a tie;last_executed,execution_timeandexecution_time_uscome from the most recent job that actually started, and are null when none did;errorcomes from that started job, otherwise from the newest;executionscounts only jobs that started; andstatus_countscounts every job in the group. - A job entry's
node_idcarries the same ids.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · PIPE-4 · changed in spec 1.0