You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
state: the JSON IR can't tell a declared zero-valued onError from none #251
An Invocation always writes its onError key, holding the zero event when none was declared. So the IR can't tell an onError deliberately declared as the zero value, such as the first constant of an iota enum, from no onError at all. The builder knows the difference; a machine loaded from JSON doesn't. Any fix for the InvokeActor onError issue that reads "was an onError declared" needs this to survive the IR.
#268's has-onError flags already let the JSON IR tell a declared zero-valued onError from none. fix/state-onerror-declared, a working branch with no PR yet, adds a test in state/invoke_flags_test.go that pins the round trip.
Activity
revert: keep state's v1 behavior; track compound starts and undeclare…
fix(durable): don't journal a step whose context ended partway (#234)
reka18 commentedon Nov 27, 2026
#268's has-onError flags already let the JSON IR tell a declared zero-valued onError from none.
fix/state-onerror-declared, a working branch with no PR yet, adds a test instate/invoke_flags_test.gothat pins the round trip.