The states a run can be released INTO — the terminal subset of the entity's Status value list.
Derived with Extract rather than hand-written so it stays pinned to the CHECK-constraint union
CodeGen generates: if one of these values were ever removed from the column, this type narrows and
every call site fails to compile, instead of silently passing a status the constraint rejects at
runtime. 'In Progress' / 'Pending' / 'Queued' are deliberately excluded — they are not terminal.
The states a run can be released INTO — the terminal subset of the entity's Status value list. Derived with
Extractrather than hand-written so it stays pinned to the CHECK-constraint union CodeGen generates: if one of these values were ever removed from the column, this type narrows and every call site fails to compile, instead of silently passing a status the constraint rejects at runtime. 'In Progress' / 'Pending' / 'Queued' are deliberately excluded — they are not terminal.