3664
// allocated from the physical task row) and would always miss the cache.
3665
chasmTask.DeserializedTask, err = node.deserializeTaskWithCache(registrableTask, logicalTask.Data)
3667
>
// Backward compatibility: physical task predates TaskVersionedTransition.
3668
>
chasmTask.DeserializedTask, err = deserializeTask(registrableTask, taskInfo.Data)
3669
>
}
3670
>
if err != nil {
3671
return false, false, err
3672
}
3673
}
3674
3675
>
isValidByComponent, retErr = node.validateTask(
tree.go
3676
>
validateCtx,
3677
>
TaskInvocation{
3678
>
TaskAttributes: TaskAttributes{
3679
>
ScheduledTime: chasmTask.GetVisibilityTime(),
3680
>
Destination: chasmTask.Destination,
3681
>
},
3682
>
Attempt: chasmTask.Attempt,
3683
>
},
3684
>
chasmTask.DeserializedTask.Interface(),
3685
>
)
3686
>
return true, isValidByComponent, retErr
3687
}
3688