SquidMesh.StepAttempt (squid_mesh v0.1.0-alpha.7)

Copy Markdown View Source

Public representation of one workflow step attempt.

Attempt history is exposed separately from the persistence schema so host applications can inspect retry history without depending on Ecto structs.

Summary

Types

status()

@type status() :: :running | :completed | :failed

t()

@type t() :: %SquidMesh.StepAttempt{
  attempt_number: term(),
  error: term(),
  id: term(),
  inserted_at: term(),
  status: term(),
  updated_at: term()
}