Skip to content

An instance stored without activations answers none - #148

Merged
noha merged 1 commit into
mainfrom
an-old-instance-answers-empty-activations
Nov 6, 2026
Merged

noha merged 1 commit into
mainfrom
an-old-instance-answers-empty-activations

Conversation

@noha

@noha noha commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

#147 guarded only FBFlowInstance>>hasErrors. Readers in apptive-base walk #activations as well: AGFlowInstancePresenter>>steps answered a DNU #do: and a 500 for the detail view of an instance from 2023-12 (SnapDump, beta 2.5.1033, 2026-11-05), AGActivationScope selects over it the same way.

Behaviour change: #activations answers an empty collection when the instance came back from Soil with activations nil. Nothing is written on the read. hasErrors goes through the accessor again and drops its own guard.

Not changed: an executor that adds an activation to such an instance now fails on the empty literal instead of a DNU on nil; old instances are not migrated (epic Flow Persistency). AGFlowInstance>>rerun: in apptive-base writes the ivar directly and is untouched.

#147 guarded only FBFlowInstance>>hasErrors. Readers in apptive-base walk
#activations as well: AGFlowInstancePresenter>>steps answered a DNU #do:
and a 500 for the detail view of an instance from 2023-12 (SnapDump, beta
2.5.1033, 2026-11-05), AGActivationScope selects over it the same way.

Behaviour change: #activations answers an empty collection when the
instance came back from Soil with activations nil. Nothing is written on
the read. hasErrors goes through the accessor again and drops its own
guard.

Not changed: an executor that adds an activation to such an instance now
fails on the empty literal instead of a DNU on nil; old instances are not
migrated (epic Flow Persistency). AGFlowInstance>>rerun: in apptive-base
writes the ivar directly and is untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha merged commit a08e96a into main Nov 6, 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