Function: diffDefinitionSnapshots()
diffDefinitionSnapshots(
pinned,candidate):DefinitionDrift[]
Defined in: packages/workflow-engine/src/core/definition-version.ts:265
Compares a pinned snapshot with a candidate one and reports every structural difference. An empty array means the candidate can serve runs pinned to the snapshot.
Ordering: workflow-level differences first, then per stage in pinned order, then stages the candidate added.