if directive.GetBuildId() == nil {
// The task belongs to an unversioned execution. Keep using unversioned. But also return
task_queue_partition_manager.go
// userDataChanged so if current deployment is set, the task redirects to that deployment.
return dbq, dbq, userDataChanged, taskDispatchRevisionNumber, targetDeploymentVersion, nil
}
userData, userDataChanged, err := pm.userDataManager.GetUserData()