Lightning.Workflows.WorkflowVersion (Lightning v2.15.0-pre5)
View SourceImmutable provenance rows for workflow heads.
One row per head:
hash(12-char lowercase hex),source("app" | "cli"),workflow_id,inserted_at(UTC μs).- Append-only:
updated_atdisabled; rows are never mutated. - Uniqueness:
(workflow_id, hash)unique; same hash may exist across workflows. - Validation mirrors DB checks: hash format, allowed sources, valid
workflow_id. - Deterministic ordering via
:utc_datetime_usectimestamps. - Use
Lightning.WorkflowVersionsto record/query and keepworkflows.version_historyin sync.