Rebuildable projection of one dispatch attempt.
This is not mutable runtime state. It is the compact read model obtained by replaying journal entries for one runnable key.
Summary
Types
@type status() :: :available | :retry_scheduled | :claimed | :completed | :failed
@type t() :: %Squidie.Runtime.DispatchProtocol.ActionAttempt{ applied?: boolean(), attempt_number: pos_integer(), claim_id: String.t() | nil, claim_token_hash: String.t() | nil, completed_at: DateTime.t() | nil, deadline: map() | nil, error: map() | nil, execution_opts: keyword(), idempotency_key: String.t(), input: map(), lease_until: DateTime.t() | nil, owner_id: String.t() | nil, result: map() | nil, run_id: String.t(), runnable_key: String.t(), status: status(), step: String.t(), transition: map() | nil, visible_at: DateTime.t(), wakeup_emitted?: boolean() }