1034
e.logger.Debug("Duplicated activity task", tag.WorkflowTaskQueueName(taskQueueName), tag.TaskID(task.event.GetTaskId()))
1035
task.finish(taskFinishResult{dropReason: dropReasonInvalid})
1037
>
// history should've scheduled another task on the right build ID. dropping this one.
1038
>
e.logger.Info("dropping activity task due to invalid build ID",
1039
>
tag.WorkflowTaskQueueName(taskQueueName),
1040
>
tag.WorkflowNamespaceID(task.event.Data.GetNamespaceId()),
1041
>
tag.WorkflowID(task.event.Data.GetWorkflowId()),
1042
>
tag.WorkflowRunID(task.event.Data.GetRunId()),
1043
>
tag.TaskID(task.event.GetTaskId()),
1044
>
tag.TaskVisibilityTimestamp(timestamp.TimeValue(task.event.Data.GetCreateTime())),
1045
>
tag.BuildId(requestClone.WorkerVersionCapabilities.GetBuildId()),
1046
>
)
1047
>
task.finish(taskFinishResult{dropReason: dropReasonInvalid})
1048
case *serviceerrors.ObsoleteMatchingTask:
1049
// History should've scheduled another task on the right task queue and deployment.