Skip to content

Cases for proposal 0009 (Running a workflow) - #16

Merged
marlon-sousa merged 1 commit into
mainfrom
cases/0009-running-a-workflow
Oct 2, 2026
Merged

marlon-sousa merged 1 commit into
mainfrom
cases/0009-running-a-workflow

Conversation

@marlon-sousa

Copy link
Copy Markdown
Contributor

Closes #9

Refs itinera-dev/spec#9, which is status: ready. Merged before the proposal pull request.

Scenarios (12)

  • data-and-ids.feature (4): the initial data is the bag's initial content; the journey started event lists the keys without values; a contribution may overwrite an initial key; the journey ID is a UUID v4 by default, or the custom generator's value.
  • order-and-retries.feature (5): steps run in descriptor order; a contribution is an input to a later step; a failed step ends the journey and later steps do not run; without a stated budget a retriable failure is not retried; a budget of N allows at most N + 1 attempts.
  • result.feature (3): a successful journey's bag holds the initial data and every committed contribution; a failed journey names the failed step and keeps the bag as it stood; an aborted journey names the step (status Aborted) and the abort reason.

Several checklist items are already covered by the cases of 0008 and 0024 (passing over skipped steps, run-once, abnormal terminations), which these do not repeat.

Catalogue

New sentences for journey IDs, the aborted status, the journey started event and the named step and reason in the result; the list of abort reasons; provisional event names journey started and attempt started. Written to merge cleanly with #15 in either order.

🤖 Generated with Claude Code

The workflow instance, its data and journey ID; order, the scan and
retries; the journey result. With the catalogue sentences they need.

Closes #9

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@marlon-sousa
marlon-sousa merged commit 62dc7bb into main Oct 2, 2026
2 checks passed
@marlon-sousa
marlon-sousa deleted the cases/0009-running-a-workflow branch October 2, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cases for spec#9 (Running a workflow)

1 participant