Skip to content

An instance without activations answers its state - #147

Merged
noha merged 1 commit into
mainfrom
an-old-instance-answers-its-state
Nov 3, 2026
Merged

noha merged 1 commit into
mainfrom
an-old-instance-answers-its-state

Conversation

@noha

@noha noha commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

FBFlowInstance>>hasErrors sent anySatisfy: to activations directly. An instance stored in an older form comes back from Soil with activations nil (no initialize on materialization), so #state failed with a DNU. On production (apptive-base 2.5.922, 2026-11-02) one instance from 2024-03 took the whole instance listing of its flow down to a 500 (AGFlowInstancePresenter>>state, 6 SnapDump reports in 5 seconds).

Behaviour change: with activations nil, hasErrors answers false and #state goes on to #waiting/#done/#running as for any instance. Nothing is written on the read.

Not changed: activationOfNode: and FBBaseExecutor>>activationOf: still fail on such an instance; whether old instances should be migrated belongs to the epic Flow Persistency.

FBFlowInstance>>hasErrors sent anySatisfy: to activations directly. An
instance stored in an older form comes back from Soil with activations
nil (no initialize on materialization), so #state failed with a DNU. On
production (apptive-base 2.5.922, 2026-11-02) one instance from 2024-03
took the whole instance listing of its flow down to a 500
(AGFlowInstancePresenter>>state, 6 SnapDump reports in 5 seconds).

Behaviour change: with activations nil, hasErrors answers false and
#state goes on to #waiting/#done/#running as for any instance. Nothing is
written on the read.

Not changed: activationOfNode: and FBBaseExecutor>>activationOf: still
fail on such an instance; whether old instances should be migrated
belongs to the epic Flow Persistency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha merged commit c23a236 into main Nov 3, 2026
4 checks passed
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