Repository navigation
Closed
Labels
amends: 8Amends accepted proposal 0008proposalA proposed change to Itinera's behaviourstatus: readyAgreed; ready for the spec pull requesttier: 1Belongs to tier 1
Description
Agreed design as of 2026-10-02. Amends #8 (proposal 0008, Steps). Decided by the maintainer during the evaluation of #9; there was no separate original proposal.
Summary
An abnormal termination is retried only when the step's descriptor allows it. Proposal 0008 treated it like a retriable failure by default.
Motivation
An abnormal termination is an error the step did not anticipate. Its side effects may already have happened, for example a payment sent before the error, so retrying it by default is unsafe. A step author who knows that retrying an unexpected error is safe says so explicitly.
Agreed design
abnormal termination retriableis a setting of each step's descriptor (Running a workflow #9), false unless the descriptor says so, with no workflow-wide default. It uses the same word as a failure'sretriableflag.- When it is false, an abnormal termination makes the step
Failedat once, and its failure hook is called with the cause "abnormal termination". By default, the journey fails. - When it is true, an abnormal termination is retried like a retriable failure, within the same retry budget; when the budget is exhausted, the failure hook is called with the cause "retries exhausted".
- This replaces item 6 of proposal 0008, "By default it is treated like a retriable failure, since nobody knows whether trying again would help", and adds "abnormal termination" to the causes the failure hook may receive (item 10 of proposal 0008).
- The setting replaces "abort on abnormal termination", which earlier drafts of Running a workflow #9 had; an abnormal termination never aborts the journey. It always ends as a failure, at once or after its retries.
Changes when accepted
proposals/0008-steps.mdgains the line "Amended by Amends #8: abnormal terminations are retried only when the step allows it #24", and nothing else.- The conformance cases for proposal 0008 that retry an abnormal termination state the setting explicitly, and new cases check the default.
Tier
Metadata
Metadata
Assignees
Labels
amends: 8Amends accepted proposal 0008proposalA proposed change to Itinera's behaviourstatus: readyAgreed; ready for the spec pull requesttier: 1Belongs to tier 1
Activity
marlon-sousa commentedon Oct 2, 2026
Claude summary
Posted by Claude (Claude Code) from a maintainer's account, as described in PROCESS.md.
Decided by the maintainer during the evaluation of #9, outside the thread, on 2026-10-02. The issue body holds the agreed design. Nothing is open. This proposal is ready for a maintainer to set
status: ready; its cases and its proposal file will then be written together, as for #8.github-actions commentedon Oct 2, 2026
Accepted on 2026-10-02 in #25.