807
e.logger.Debug("Duplicated workflow task", tag.WorkflowTaskQueueName(taskQueueName), tag.TaskID(task.event.GetTaskId()))
808
task.finish(taskFinishResult{dropReason: dropReasonInvalid})
810
>
// history should've scheduled another task on the right build ID. dropping this one.
811
>
e.logger.Info("dropping workflow task due to invalid build ID",
812
>
tag.WorkflowTaskQueueName(taskQueueName),
813
>
tag.WorkflowNamespaceID(task.event.Data.GetNamespaceId()),
814
>
tag.WorkflowID(task.event.Data.GetWorkflowId()),
815
>
tag.WorkflowRunID(task.event.Data.GetRunId()),
816
>
tag.TaskID(task.event.GetTaskId()),
817
>
tag.TaskVisibilityTimestamp(timestamp.TimeValue(task.event.Data.GetCreateTime())),
818
>
tag.BuildId(requestClone.WorkerVersionCapabilities.GetBuildId()),
819
>
)
820
>
task.finish(taskFinishResult{dropReason: dropReasonInvalid})
821
case *serviceerrors.ObsoleteMatchingTask:
822
// History should've scheduled another task on the right task queue and deployment.