Expand description
Deterministic ID derivation for compilation.
Uses UUID v5 (SHA-1 namespace-based) to derive stable, deterministic IDs from a FlowRunId + NodeId pair. This ensures that recompiling the same FlowSpec with the same FlowRunId always produces identical TaskIds and StepRunIds.
Functionsยง
- derive_
coordinator_ task_ id - Derives a deterministic TaskId for the Coordinator from a FlowRunId.
- derive_
step_ run_ id - Derives a deterministic StepRunId from a FlowRunId and NodeId.
- derive_
task_ id - Derives a deterministic TaskId for a step from a FlowRunId and NodeId.