Repository navigation
Closed
Labels
implements-proposalAdds conformance cases for an accepted proposal from itinera-dev/spectier: 1Belongs to tier 1waiting for specOpened early for design discussion; no pull request until the proposal is accepted
Description
Cases for itinera-dev/spec#9 (Running a workflow)
Opened before the proposal is accepted, so the checklist exists while it is evaluated (waiting for spec). Updated on 2026-10-02 to match the agreed design in spec#9. The cases pull request may be merged once spec#9 is status: ready.
What the cases must check
The workflow instance and its data
- The initial data of the workflow instance is the initial content of the data bag, and inputs can read it.
- The "journey started" event lists the initial keys, not their values.
- A contribution may overwrite a key from the initial data (with the overwrite event, proposal 0008).
Journey IDs
- Without a custom generator, the journey ID is a UUID v4.
- With a custom generator, the journey ID is the generator's value.
Order and the scan
- Steps run in the order of their descriptors, visible in the order of events.
- A contribution from one step is available as an input to a later step.
- Succeeded and skipped steps are passed over; a journey whose steps all succeeded or were skipped succeeds.
- A failed step ends the journey; the steps after it stay not executed.
- Run-once: a step that succeeded, failed or was skipped never runs again.
Retries
- Without a stated retry budget, a retriable failure is not retried: the failure hook is called with the cause "retries exhausted".
- With a budget of N, a step is attempted at most N + 1 times.
- An abnormal termination is not retried unless the step's descriptor marks it retriable (
abnormal termination retriable); when allowed, it shares the budget with retriable failures. - Attempts are counted from 1; the result shows the attempt count.
- An abnormal termination that is not retriable makes the step fail at once, with the cause "abnormal termination".
The result
- All steps successful: the journey succeeded, with a data bag holding the initial data plus every committed contribution.
- A failed journey's result names the failed step and its reason or cause, and carries the data bag as it stood.
- An aborted journey's result names the step during which it was aborted (status Aborted), the abort reason, and the data bag as it stood; later steps are not executed.
- Every step's status and attempt count are in the result.
Metadata
Metadata
Assignees
Labels
implements-proposalAdds conformance cases for an accepted proposal from itinera-dev/spectier: 1Belongs to tier 1waiting for specOpened early for design discussion; no pull request until the proposal is accepted
Activity