SquidMesh.Run (squid_mesh v0.1.0-alpha.3)

Copy Markdown View Source

Public representation of a workflow run.

This struct keeps the library-facing API focused on workflow concepts rather than exposing the underlying persistence schema directly.

Summary

Types

status()

@type status() ::
  :pending
  | :running
  | :retrying
  | :paused
  | :failed
  | :completed
  | :cancelling
  | :cancelled

t()

@type t() :: %SquidMesh.Run{
  audit_events: term(),
  context: term(),
  current_step: term(),
  id: term(),
  inserted_at: term(),
  last_error: term(),
  payload: term(),
  replayed_from_run_id: term(),
  status: term(),
  step_runs: term(),
  steps: term(),
  trigger: term(),
  updated_at: term(),
  workflow: term()
}