Durable runtime context passed to native Jizoku steps.
The context intentionally exposes Jizoku concepts only. It gives steps the current run identity, workflow module, step name, attempt number, and the durable run state available before the current attempt started.
Summary
Types
@type t() :: %Jizoku.Step.Context{ attempt: pos_integer() | nil, claim_id: String.t() | nil, idempotency_key: String.t() | nil, partition: String.t() | nil, run_id: Ecto.UUID.t(), runnable_key: String.t() | nil, state: map(), step: atom(), step_opts: keyword(), trace: Jizoku.Runtime.Trace.t() | nil, workflow: module() }