Workflow run 状态集合与归一化工具。
归一化 atom/string 状态。
返回所有合法 run 状态。
判断状态是否为终态。
@type status() :: :queued | :running | :waiting | :paused | :succeeded | :failed | :cancelled
@spec normalize(status() | String.t()) :: status()
@spec statuses() :: [status()]
@spec terminal?(status() | String.t()) :: boolean()