Handles created with start should follow runs by default and use first_execution_run_id for safety (don't operate on runs that aren't part of the same execution chain).
Handles created with signal_with_start should not use run_id but cannot yet guarantee safety, a server change is required for that.
getHandle should accept a first_execution_run_id for safety.
NOTE: signal, query and describe methods are unsafe at the time of this writing and require a server + API change.
https://github.com/temporalio/sdk-typescript/pull/468 changed the behavior of
WorkflowHandle
methods to userun_id
only when a handle is created with one (getHandle
in TS).Handles created with
start
should follow runs by default and usefirst_execution_run_id
for safety (don't operate on runs that aren't part of the same execution chain). Handles created withsignal_with_start
should not userun_id
but cannot yet guarantee safety, a server change is required for that.getHandle
should accept afirst_execution_run_id
for safety.NOTE:
signal
,query
anddescribe
methods are unsafe at the time of this writing and require a server + API change.