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
Python: Consolidate workflow ID instantiation #1665
The Id is also managed by 3 entities during runtime:
The workflow object itself
The runner
The runner context
We are currently doing nothing to make sure the ID in these 3 places stay in sync.
We should consider a way to have a non-random identifier for workflow. Currently, the traces from different workflow instances are separated because their IDs are different. This creates an issue when you have a persisted session, which creates different instances of workflows but following the same checkpoint state lineage. In this case, there isn't a way to "join" these separate traces from different instances.
Activity
[-]Consolidate workflow ID instantiation[/-][+]Python: Consolidate workflow ID instantiation[/+]lokitoth commentedon Oct 23, 2025
We should take care to avoid confusing Workflow Id with Run Id (and Checkpoint Id) (as well as WorkflowExecutor Id when hosted in another workflow).
And we should make sure that .NET carries the same semantics.