previousRunID primitives.UUID,
serializer serialization.Serializer,
assertFn := func(currentRow *sqlplugin.CurrentExecutionsRow) error {
if !bytes.Equal(currentRow.RunID, previousRunID) {
executionState, err := workflowExecutionStateFromCurrentExecutionsRow(serializer, currentRow)
if err != nil {