Skip to main content

Module ids

Module ids 

Source
Expand description

Deterministic identifier derivation. Every id a run produces is a pure function of (run_id, step_id, attempt), which is what makes task dispatch idempotent across crashes and re-pushes.

Functionsยง

child_run_id
run_ followed by the first 26 hex chars of sha256(task_id).
derive_ids
All three ids for one (run_id, step_id, attempt).
idempotency_key
<run_id>:<step_id>:<attempt>; unique per dispatch attempt.
task_id
<run_id>:<step_id>; stable across attempts.