MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersMethodvalidateBuildIdRedirectInfo
validateBuildIdRedirectInfo validates build ID for the task being dispatched and returned the redirect counter that should be used in the task started
service/history/workflow/mutable_state_impl.go:3607
↓ 2 callersFunctionvalidateClientTLS
(cfg *config.ClientTLS)
common/rpc/encryption/tls_factory.go:136
↓ 2 callersFunctionvalidateClusterNotInUseByNamespaces
validateClusterNotInUseByNamespaces returns an error if any active multi-cluster namespace still references clusterName in its replication cluster lis
service/frontend/cluster_removal_validation.go:19
↓ 2 callersMethodvalidateConfig
()
temporal/server_options.go:126
↓ 2 callersFunctionvalidateDatetime
(value time.Time)
common/persistence/visibility/store/elasticsearch/visibility_store.go:1489
↓ 2 callersMethodvalidateDeleteVersion
(args *deploymentspb.DeleteVersionArgs)
service/worker/workerdeployment/workflow.go:1113
↓ 2 callersFunctionvalidateGroupTLS
(cfg *config.GroupTLS)
common/rpc/encryption/tls_factory.go:88
↓ 2 callersFunctionvalidateHistoryDLQKey
( key *commonspb.HistoryDLQKey, )
service/frontend/admin_handler.go:2483
↓ 2 callersFunctionvalidateLinkType
(value string)
common/nexus/nexusrpc/api.go:242
↓ 2 callersFunctionvalidateLinkURL
(value *url.URL)
common/nexus/nexusrpc/api.go:231
↓ 2 callersMethodvalidateNamespaceStatus
(input enumspb.NamespaceState)
common/namespace/nsreplication/replication_task_executor.go:377
↓ 2 callersMethodvalidateNotZombieWorkflow
( ms historyi.MutableState, accessType hsm.AccessType, )
service/history/statemachine_environment.go:349
↓ 2 callersFunctionvalidatePartitionCounts
validatePartitionCounts checks whether a partition should accept an RPC based on the current scale info. It returns nil if the RPC should be accepted,
service/matching/task_queue_partition_manager.go:386
↓ 2 callersFunctionvalidatePartitionScaleDrift
validatePartitionScaleDrift checks whether a partition should accept an RPC based on the client's idea of partition counts. It returns nil if the RPC
service/matching/task_queue_partition_manager.go:406
↓ 2 callersMethodvalidatePhysicalTaskQueueInfo
(expectedPhysicalTaskQueueInfo *taskqueuespb.PhysicalTaskQueueInfo, responsePhysicalTaskQueueInfo *taskqueues
service/frontend/admin_handler_test.go:2223
↓ 2 callersMethodvalidatePinnedVersionExistsInTaskQueue
validatePinnedVersionExistsInTaskQueue validates that the version, to be pinned, exists in the task queue. TODO (future improvement): This can be furt
tests/versioning_3_test.go:6057
↓ 2 callersFunctionvalidateRateLimit
(update *workflowservice.UpdateTaskQueueConfigRequest_RateLimitUpdate, label string)
service/frontend/validators.go:30
↓ 2 callersFunctionvalidateReleaseBranch
(modFile *modfile.File)
cmd/tools/check-dependencies/main.go:88
↓ 2 callersFunctionvalidateRequestId
(requestID *string, lenLimit int)
service/frontend/workflow_handler.go:6592
↓ 2 callersMethodvalidateRetentionDuration
validateRetentionDuration ensures that retention duration can't be set below a sane minimum.
service/frontend/namespace_handler.go:1111
↓ 2 callersMethodvalidateSchedulePayloadSize
validateSchedulePayloadSize validates the blob size of the schedule's memo and action input. This runs for both CHASM and V1 paths.
service/frontend/workflow_handler.go:6637
↓ 2 callersFunctionvalidateServerTLS
(cfg *config.ServerTLS)
common/rpc/encryption/tls_factory.go:117
↓ 2 callersFunctionvalidateSlicesOrderedDisjoint
( slices []Slice, )
service/history/queues/reader.go:561
↓ 2 callersMethodvalidateStartWorkflowArgsForSchedule
Validates inner start workflow request. Note that this can mutate search attributes if present.
service/frontend/workflow_handler.go:3851
↓ 2 callersMethodvalidateStateBeforeAcceptingRampingUpdate
(args *deploymentspb.SetRampingVersionArgs)
service/worker/workerdeployment/workflow.go:748
↓ 2 callersMethodvalidateStateBeforeAcceptingSetCurrent
(args *deploymentspb.SetCurrentVersionArgs)
service/worker/workerdeployment/workflow.go:1253
↓ 2 callersMethodvalidateStateBeforeAcceptingSetManager
(args *deploymentspb.SetManagerIdentityArgs)
service/worker/workerdeployment/workflow.go:1200
↓ 2 callersFunctionvalidateString
(value string)
common/persistence/visibility/store/elasticsearch/visibility_store.go:1498
↓ 2 callersFunctionvalidateStringField
(fieldName string, value string, maxLen int, required bool)
service/frontend/validators.go:40
↓ 2 callersFunctionvalidateStructuredCalendar
(scs *schedulepb.StructuredCalendarSpec)
service/worker/scheduler/spec.go:193
↓ 2 callersFunctionvalidateTask
( chasmContext chasm.Context, store *PayloadStore, attributes chasm.TaskAttributes, payloadKey string, )
chasm/lib/tests/tasks.go:63
↓ 2 callersMethodvalidateTaskQueueStatsByPriority
( t require.TestingT, label string, stats map[int32]*taskqueuepb.TaskQueueStats, taskQueueExpectation task
tests/task_queue_stats_test.go:1527
↓ 2 callersFunctionvalidateTaskRange
( taskCategoryType tasks.CategoryType, minTaskKey tasks.Key, maxTaskKey tasks.Key, )
common/persistence/execution_manager.go:1326
↓ 2 callersFunctionvalidateTimeRange
(t time.Time, expectedDuration time.Duration)
service/matching/matching_engine_test.go:6079
↓ 2 callersFunctionvalidateUUID
(input string)
service/history/ndc/replication_task.go:466
↓ 2 callersMethodvalidateUpsert
(req *p.UpsertClusterMembershipRequest, resp *p.GetClusterMembersResponse, err error)
common/persistence/persistence-tests/cluster_metadata_manager.go:136
↓ 2 callersMethodvalidateUpsertSpec
(spec *nexuspb.EndpointSpec)
service/frontend/nexus_endpoint_client.go:333
↓ 2 callersMethodvalidateValueType
( saName string, saType enumspb.IndexedValueType, value any, )
common/persistence/visibility/store/query/converter.go:653
↓ 2 callersMethodvalidateWorkerDeploymentCount
( env *VersioningTestEnv, request *workflowservice.ListWorkerDeploymentsRequest, expectedCount int, )
tests/worker_deployment_test.go:3619
↓ 2 callersMethodvalidateWorkflowID
( workflowID string, )
service/history/workflow/cache/cache.go:433
↓ 2 callersMethodvalidateWorkflowRetryPolicy
( namespaceName namespace.Name, retryPolicy *commonpb.RetryPolicy, )
service/history/api/command_attr_validator.go:566
↓ 2 callersMethodvalidateWorkflowRun
(env *dlqTestEnv, run sdkclient.WorkflowRun)
tests/dlq_test.go:399
↓ 2 callersFunctionvalidateWorkflowState
validateWorkflowState validate workflow state
common/persistence/workflow_state_status_validator.go:88
↓ 2 callersFunctionvalidateWorkflowStatus
validateWorkflowStatus validate workflow status
common/persistence/workflow_state_status_validator.go:100
↓ 2 callersFunctionverifyChildExecution
( ctx context.Context, workflowConsistencyChecker api.WorkflowConsistencyChecker, request *historyservice.V
service/history/api/verifychildworkflowcompletionrecorded/api.go:26
↓ 2 callersMethodverifyChildExecutionInfos
(expectedMap, actualMap, originMap map[int64]*persistencespb.ChildExecutionInfo)
service/history/workflow/mutable_state_impl_test.go:5402
↓ 2 callersMethodverifyEventHistory
( workflowID string, runID string, historyBatch []*historypb.History, )
tests/ndc/ndc_test.go:2366
↓ 2 callersMethodverifyEventsOrder
( ctx context.Context, localVersionHistory *historyspb.VersionHistory, incomingFirstEventID int64, incomin
service/history/ndc/branch_manager.go:154
↓ 2 callersMethodverifyMutableState
(current, target, origin *MutableStateImpl)
service/history/workflow/mutable_state_impl_test.go:5569
↓ 2 callersMethodverifyOwnership
verifyOwnership checks if the shard should be owned by this host's shard controller. If membership lists another host as the owner, it returns a Shard
service/history/shard/ownership.go:135
↓ 2 callersMethodverifyReusePolicyIsSetForAllChild
verifyReusePolicy checks if a given workflow was started with REJECT_DUPLICATE
tests/workflow_reset_with_child_test.go:866
↓ 2 callersMethodverifyWorkflowTaskStamps
( recorder *testcore.HistoryTaskRecorder, clusterName string, workflowID string, runID string, namespaceI
tests/xdc/stream_based_replication_test.go:1319
↓ 2 callersFunctionvisibilityManagerFromContext
( ctx context.Context, )
chasm/visibility_manager.go:172
↓ 2 callersMethodwaitCallback
( ctx context.Context, sdkClient sdkclient.Client, execution *commonpb.WorkflowExecution, condition func(c
tests/xdc/nexus_state_replication_test.go:712
↓ 2 callersMethodwaitForDeploymentVersion
(env *VersioningTestEnv, tv *testvars.TestVars)
tests/worker_deployment_test.go:175
↓ 2 callersMethodwaitForMatch
call with matcherData.lock held
service/matching/matcher_data.go:633
↓ 2 callersMethodwaitForNoPollers
(env *testcore.TestEnv, tv *testvars.TestVars, moreUnexpectedVersions ...*testvars.TestVars)
tests/worker_deployment_version_test.go:775
↓ 2 callersMethodwaitForWorkflowTaskFailedCause
( env *testcore.TestEnv, run sdkclient.WorkflowRun, cause enumspb.WorkflowTaskFailedCause, )
tests/versioning_test.go:2857
↓ 2 callersFunctionwaitForYellowStatus
(esClient esclient.IntegrationTestsClient, index string)
tests/testcore/test_cluster.go:456
↓ 2 callersMethodwaitUntilInitialized
(ctx context.Context)
common/nexus/endpoint_registry.go:211
↓ 2 callersMethodwaitUntilWorkflowReplicated
waitUntilWorkflowReplicated waits until the workflow with the given ID has been replicated to the standby cluster. It does this by waiting for the rep
tests/xdc/history_replication_dlq_test.go:356
↓ 2 callersFunctionwciSpecToComputeConfigSummary
(spec *wciiface.WorkerControllerInstanceSpec)
service/worker/workerdeployment/compute_util.go:81
↓ 2 callersFunctionwftCompletedOnTargetVersion
( wftDeployment *deploymentpb.Deployment, targetVersion *deploymentpb.WorkerDeploymentVersion, )
service/history/workflow/workflow_task_state_machine.go:1438
↓ 2 callersFunctionwithCompletionCallback
(cb func())
service/history/workflow/update/update.go:138
↓ 2 callersMethodwithRedirect
(ctx context.Context, namespaceEntry *namespace.Namespace, apiName string, call func(string) error)
common/rpc/interceptor/dc_redirection_policy.go:165
↓ 2 callersMethodwork
()
common/goro/adaptive_pool.go:95
↓ 2 callersFunctionworkerHeartbeatToListInfo
(hb *workerpb.WorkerHeartbeat)
service/matching/handler.go:636
↓ 2 callersMethodworkflowKeyFromTask
workflowKeyFromTask extracts namespace ID, workflow ID, and run ID from the replication task. It first tries RawTaskInfo, then falls back to task-type
service/history/replication/executable_task.go:313
↓ 2 callersMethodwriteHistoryBatchesForGetTest
(historyBatches []*historypb.History, version int64)
common/archiver/filestore/history_archiver_test.go:611
↓ 2 callersMethodwriteHistoryBatchesForGetTest
(historyBatches []*archiverspb.HistoryBlob, version int64)
common/archiver/s3store/history_archiver_test.go:749
↓ 2 callersMethodwriteManagers
()
common/persistence/visibility/manager_selector.go:16
↓ 2 callersFunctionwriteReport
(t *testing.T, outputDir string, fileName string, contents string)
tests/leakcheck/leak_test.go:171
↓ 2 callersFunctionwriteTaskToDLQ
This is a helper function to make it easier to change the DLQWriteRequest format in the future.
service/history/replication/dlq_writer.go:137
↓ 2 callersFunctionwrongorderness
(vs []int)
tests/priority_fairness_test.go:402
↓ 1 callersMethodAbort
()
service/history/replication/batchable_task.go:103
↓ 1 callersMethodAbort
(reason AbortReason)
service/history/workflow/update/registry.go:283
↓ 1 callersMethodAbortAccepted
AbortAccepted aborts all accepted Updates in the Registry.
service/history/workflow/update/registry.go:66
↓ 1 callersMethodAccess
(ctx context.Context, ref hsm.Ref, accessType hsm.AccessType, accessor func(*hsm.Node) error)
service/history/statemachine_environment.go:363
↓ 1 callersMethodAck
()
service/history/replication/batchable_task.go:72
↓ 1 callersFunctionAckLevel
AckLevel returns tag for ack level
common/log/tag/tags.go:941
↓ 1 callersMethodActivityInfoFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:83
↓ 1 callersFunctionActivitySize
ActivitySize returns a tag for a standalone activity size
common/log/tag/tags.go:931
↓ 1 callersMethodAdd
(task Executable)
service/history/queues/memory_scheduled_queue.go:101
↓ 1 callersMethodAddActivityTaskCanceledEvent
( scheduledEventID int64, startedEventID int64, latestCancelRequestedEventID int64, details *commonpb.Payl
service/history/historybuilder/history_builder.go:564
↓ 1 callersMethodAddActivityTaskCompletedEvent
( scheduledEventID int64, startedEventID int64, identity string, result *commonpb.Payloads, ns namespace.
service/history/historybuilder/history_builder.go:359
↓ 1 callersMethodAddCompletionCallbacks
AddCompletionCallbacks creates completion callbacks using the CHASM implementation. maxCallbacksPerWorkflow is the configured maximum number of callba
chasm/lib/workflow/workflow.go:192
↓ 1 callersMethodAddDeleteExecutionTask
( ctx context.Context, nsID namespace.ID, we *commonpb.WorkflowExecution, ms historyi.MutableState
service/history/deletemanager/delete_manager.go:24
↓ 1 callersMethodAddExitVertex
AddExitVertex adds the terminate history event vertex
common/testing/event_generator.go:94
↓ 1 callersMethodAddExternalPayloadCount
(count int64)
service/history/workflow/mutable_state_impl.go:7161
↓ 1 callersMethodAddExternalPayloadSize
(size int64)
service/history/workflow/mutable_state_impl.go:7150
↓ 1 callersMethodAddFirstWorkflowTaskScheduled
AddFirstWorkflowTaskScheduled adds the first workflow task scheduled event unless it should be delayed as indicated by the startEvent's FirstWorkflowT
service/history/workflow/mutable_state_impl.go:3439
↓ 1 callersMethodAddIncomingSignalEvent
AddIncomingSignalEvent adds an entry for the signal requestID -> eventID mapping to track all signals that have been received by the workflow. Note th
chasm/lib/workflow/workflow.go:271
↓ 1 callersMethodAddInitialEntryVertex
AddInitialEntryVertex adds the initial history event vertices Generator will only start from one of the entry vertex
common/testing/event_generator.go:84
↓ 1 callersMethodAddRecordMarkerEvent
(int64, *commandpb.RecordMarkerCommandAttributes)
service/history/interfaces/mutable_state.go:87
↓ 1 callersMethodAddSignalRequested
( requestID string, )
service/history/workflow/mutable_state_impl.go:2538
↓ 1 callersMethodAddSpeculativeWorkflowTaskTimeoutTask
(task *tasks.WorkflowTaskTimeoutTask)
service/history/interfaces/shard_context.go:89
↓ 1 callersMethodAddSpooledTaskToMatcher
(task *internalTask)
service/matching/physical_task_queue_manager_interface.go:50
↓ 1 callersMethodAddTasks
( newTasks ...tasks.Task, )
service/history/workflow/mutable_state_impl.go:7262
↓ 1 callersMethodAddToBuildIdToTaskQueueMapping
(ctx context.Context, request AddToBuildIdToTaskQueueMapping)
common/persistence/sql/sqlplugin/matching_task_queue_user_data.go:49
↓ 1 callersMethodAddUpdateCompletionCallbacks
AddUpdateCompletionCallbacks creates completion callbacks using the CHASM implementation. maxCallbacksPerWorkflow is the configured maximum number of
chasm/lib/workflow/workflow.go:213
← previousnext →9,101–9,200 of 43,335, ranked by callers