Skip to content

An instance can fail its next step without running the node - #146

Merged
noha merged 1 commit into
mainfrom
an-instance-fails-its-next-step-without-running-the-node
Oct 27, 2026
Merged

noha merged 1 commit into
mainfrom
an-instance-fails-its-next-step-without-running-the-node

Conversation

@noha

@noha noha commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

FBFlowInstance>>failNext: takes the next step as one whose node fails with a given message: for a driver that lost a step to an error that was not the node's (ApptiveBase's run queue rolls such a step back). The step goes the way a step goes whose node throws - activation errored, error event, #error state, an errored sub flow ends its caller or follows its #error transition - but the node does not run: it is stopped when it is announced as started. Nothing changes on the way of a step that goes through.

whenAnnounced:do: answers the subscription, so that it can be removed.

FBFlowInstance>>failNext: takes the next step as one whose node fails with
a given message: for a driver that lost a step to an error that was not
the node's (ApptiveBase's run queue rolls such a step back). The step goes
the way a step goes whose node throws - activation errored, error event,
#error state, an errored sub flow ends its caller or follows its #error
transition - but the node does not run: it is stopped when it is announced
as started. Nothing changes on the way of a step that goes through.

whenAnnounced:do: answers the subscription, so that it can be removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha merged commit 84c33af into main Oct 27, 2026
4 checks passed
@noha
noha deleted the an-instance-fails-its-next-step-without-running-the-node branch November 2, 2026 14:38
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.

1 participant