Skip to main content

Module operation_id

Module operation_id 

Source
Expand description

Deterministic operation ID generation for replay correctness.

Operation IDs must be identical across replays for the same code path. This module implements the Python SDK’s ID generation strategy: blake2b("{counter}") for root operations, blake2b("{parent_id}-{counter}") for child operations, truncated to 64 hex characters.

Structs§

OperationIdGenerator
Generate deterministic operation IDs for durable operations.