Skip to content

A resume drops only the resumed strand's address - #134

Merged
noha merged 1 commit into
mainfrom
resume-drops-own-address
Sep 10, 2026
Merged

noha merged 1 commit into
mainfrom
resume-drops-own-address

Conversation

@noha

@noha noha commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Two iterations of a parallel scope park the very same transition or node, each registered under its own token. Resuming one dropped every registry entry naming the suspension, so the other iteration's address was gone while its token still waited: its signal answered a silent false. One flow form per list entry, and the first submit spent the other links.

FBBaseExecutor>>resume:withToken:value: now takes the token first and drops the entry of that token only (FBFlowInstance>> dropWaitingEntriesMatching:token:). A resume that ends up without a token - a suspension parked before tokens were kept - still drops every entry of the suspension, there being nothing to tell them apart by.

Two iterations of a parallel scope park the very same transition or
node, each registered under its own token. Resuming one dropped every
registry entry naming the suspension, so the other iteration's address
was gone while its token still waited: its signal answered a silent
false. One flow form per list entry, and the first submit spent the
other links.

FBBaseExecutor>>resume:withToken:value: now takes the token first and
drops the entry of that token only (FBFlowInstance>>
dropWaitingEntriesMatching:token:). A resume that ends up without a
token - a suspension parked before tokens were kept - still drops every
entry of the suspension, there being nothing to tell them apart by.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@noha
noha merged commit 64bdcea into main Sep 10, 2026
4 checks passed
@noha
noha deleted the resume-drops-own-address branch September 10, 2026 12:01
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