440
attr *commandpb.ProtocolMessageCommandAttributes,
441
msgs *collection.IndexedTakeList[string, *protocolpb.Message],
443
>
executionInfo := handler.mutableState.GetExecutionInfo()
444
>
namespaceID := namespace.ID(executionInfo.NamespaceId)
445
>
446
>
if err := handler.validateCommandAttr(
447
>
func() (enumspb.WorkflowTaskFailedCause, error) {
448
>
return handler.attrValidator.ValidateProtocolMessageAttributes(
449
>
namespaceID,
450
>
attr,
451
>
executionInfo.WorkflowRunTimeout,
452
>
)
453
>
},
454
); err != nil || handler.stopProcessing {
455
return err