MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersMethodallocTaskIDBlock
(prevBlockEnd int64)
service/matching/task_writer.go:213
↓ 1 callersMethodallocTaskIDBlock
(prevBlockEnd int64)
service/matching/fair_task_writer.go:247
↓ 1 callersMethodallocTaskIDs
(reqs []*writeTaskRequest)
service/matching/fair_task_writer.go:102
↓ 1 callersMethodallow
Allow validates the URL by: 1. true, nil if the provided url matches the rule and passed validation for the given rule. 2. false, nil if the URL does
components/callbacks/config.go:96
↓ 1 callersMethodallow
(task T)
common/tasks/rate_limited_scheduler.go:114
↓ 1 callersMethodallowForwarding
call with lock held
service/matching/matcher_data.go:484
↓ 1 callersMethodallowedBufferedStarts
allowedBufferedStarts returns the number of BufferedStarts that the Backfiller should buffer, taking into account buffer limits and concurrent backfil
chasm/lib/scheduler/backfiller_tasks.go:238
↓ 1 callersFunctionanalyzeArtifactForCIBreakers
analyzeArtifactForCIBreakers analyzes a single artifact for CI breakers. A test is a CI breaker if it has a failure with the "(final)" suffix, meaning
tools/flakereport/parser.go:324
↓ 1 callersMethodannotateSearchAttributes
( searchAttributes *commonpb.SearchAttributes, nsName string, )
service/frontend/workflow_handler.go:4522
↓ 1 callersMethodapiTargetToPersistenceTarget
(source *nexuspb.EndpointTarget)
service/frontend/nexus_endpoint_client.go:242
↓ 1 callersMethodappendCompactCandidatesForReader
( candidates []compactCandidate, reader Reader, slicePredicate SlicePredicate, )
service/history/queues/action_slice_count.go:148
↓ 1 callersFunctionappendPrefix
(prefix string, fields []string)
common/persistence/sql/sqlplugin/util.go:7
↓ 1 callersFunctionappendSeparatedTags
appendSeparatedTags adds the sorted list of tags using the DogStatsd/InfluxDB supported tagging protocol. For example, if the stat is `hello.world` an
common/metrics/statsd_exporter.go:260
↓ 1 callersFunctionappendSeparatedTags
appendSeparatedTags adds the sorted list of tags using the DogStatsd/InfluxDB supported tagging protocol. For example, if the stat is `hello.world` an
common/metrics/tally/statsd/reporter.go:119
↓ 1 callersMethodappendSyntheticFailure
appendSyntheticFailure adds a failure entry under a "testrunner" suite for events outside any real testcase (e.g. timeout killing gotestsum pre-write)
tools/testrunner/junit.go:104
↓ 1 callersMethodappendTaskLocked
appendTaskLocked appends a task to the queue for the given key, creating the queue and spawning a worker if needed. Must be called with s.mu held. q i
common/tasks/execution_queue_scheduler.go:156
↓ 1 callersMethodappendTasks
(reqs []*writeTaskRequest)
service/matching/pri_task_writer.go:124
↓ 1 callersMethodappendTasks
(reqs []*writeTaskRequest)
service/matching/task_writer.go:140
↓ 1 callersMethodappendToOutgoingContext
(ctx context.Context)
client/matching/partition_counts.go:43
↓ 1 callersFunctionappendTransientTasks
appendTransientEvents queries mutable state for transient/speculative events and appends them to the response. This function attempts to use cached tr
service/history/api/getworkflowexecutionhistory/api.go:36
↓ 1 callersMethodapply
(*serverOptions)
temporal/server_option.go:26
↓ 1 callersFunctionapplyActivityOptionsToStartRequest
applyActivityOptionsToStartRequest copies normalized values from ActivityOptions back to the StartActivityExecutionRequest.
chasm/lib/activity/frontend.go:446
↓ 1 callersMethodapplyBackfillEventsWithNew
( ctx context.Context, wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc,
service/history/ndc/history_replicator.go:351
↓ 1 callersMethodapplyBackfillEventsWithoutNew
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, branchIndex
service/history/ndc/history_replicator.go:383
↓ 1 callersMethodapplyBackoff
applyBackoff updates start's BackoffTime based on err and the retry policy. `now` is the framework clock captured at task start - using time.Now would
chasm/lib/scheduler/invoker_tasks.go:570
↓ 1 callersFunctionapplyClusterInfoUpdates
( clusterInfo map[string]ClusterInformation, oldClusterMetadata map[string]*ClusterInformation, newClusterM
common/cluster/metadata.go:482
↓ 1 callersMethodapplyCompletedRetention
applyCompletedRetention removes the oldest completed BufferedStarts beyond the retention limit.
chasm/lib/scheduler/invoker.go:424
↓ 1 callersMethodapplyDefaults
()
temporaltest/internal/lite_server.go:173
↓ 1 callersMethodapplyEvents
( ctx context.Context, ndcWorkflow Workflow, mutableStateSpec MutableStateInitializationSpec, versionHisto
service/history/ndc/history_importer.go:148
↓ 1 callersMethodapplyEventsThroughFetcher
( workflowID string, runID string, workflowType string, taskqueue string, versionHistory *historyspb.Vers
tests/ndc/ndc_test.go:2241
↓ 1 callersMethodapplyMutation
( ctx context.Context, namespaceID namespace.ID, workflowID string, runID string, archetypeID chasm.Arche
service/history/ndc/workflow_state_replicator.go:665
↓ 1 callersMethodapplyNewRunHistory
( ctx context.Context, namespaceID namespace.ID, newExecution *commonpb.WorkflowExecution, newRunHistory [
service/history/workflow/mutable_state_rebuilder.go:715
↓ 1 callersMethodapplyNonStartEventsAndSerialize
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, mutableStat
service/history/ndc/history_importer.go:225
↓ 1 callersMethodapplyNonStartEventsMissingMutableState
( ctx context.Context, newWFContext historyi.WorkflowContext, task replicationTask, )
service/history/ndc/history_replicator.go:760
↓ 1 callersMethodapplyNonStartEventsResetWorkflow
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, task replic
service/history/ndc/history_replicator.go:822
↓ 1 callersMethodapplyNonStartEventsToCurrentBranch
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, isRebuilt b
service/history/ndc/history_replicator.go:568
↓ 1 callersMethodapplyNonStartEventsToNonCurrentBranch
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, branchIndex
service/history/ndc/history_replicator.go:630
↓ 1 callersMethodapplyNonStartEventsToNonCurrentBranchWithContinueAsNew
( ctx context.Context, wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc,
service/history/ndc/history_replicator.go:716
↓ 1 callersMethodapplyParentClosePolicy
( ctx context.Context, parentExecution *commonpb.WorkflowExecution, childInfo *persistencespb.ChildExecutio
service/history/transfer_queue_active_task_executor.go:1904
↓ 1 callersMethodapplyPendingComponentMetadata
applyPendingComponentMetadata writes staged per-component framework metadata (request links and user metadata) onto the node's ChasmComponentAttribute
chasm/tree.go:1531
↓ 1 callersMethodapplyReplicationTask
( replicationTask *replicationspb.ReplicationTask, )
service/history/replication/task_processor.go:262
↓ 1 callersFunctionapplyResultToHTTPResponse
(r nexus.HandlerStartOperationResult[any], writer http.ResponseWriter, request *http.Request, handler *httpHan
common/nexus/nexusrpc/server.go:21
↓ 1 callersMethodapplyStartEvents
( ctx context.Context, wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc,
service/history/ndc/history_replicator.go:513
↓ 1 callersMethodapplyStartEventsAndSerialize
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, mutableStat
service/history/ndc/history_importer.go:199
↓ 1 callersMethodapplyToHTTPRequest
nolint:revive // This method is long but it's more readable to keep the logic in one place since it's all related to constructing the completion reque
common/nexus/nexusrpc/completion.go:113
↓ 1 callersMethodapplyTombstones
revive:disable-next-line:cognitive-complexity
service/history/workflow/mutable_state_impl.go:9558
↓ 1 callersMethodapplyUpdatesToStateMachineNodes
( nodeMutations []*persistencespb.WorkflowMutableStateMutation_StateMachineNodeMutation, )
service/history/workflow/mutable_state_impl.go:9274
↓ 1 callersMethodapplyUserDataUpdateBatch
(namespaceId namespace.ID, batch []*userDataUpdate)
service/matching/matching_engine.go:2793
↓ 1 callersMethodarchivalEnabled
archivalEnabled returns true if archival is enabled for either history or visibility. For both history and visibility, we check that archival is enabl
service/history/workflow/task_generator.go:922
↓ 1 callersFunctionarchiveExecutionTaskFromProto
( archivalTaskInfo *persistencespb.ArchivalTaskInfo, )
common/persistence/serialization/task_serializers.go:1289
↓ 1 callersFunctionarchiveExecutionTaskToProto
( archiveExecutionTask *tasks.ArchiveExecutionTask, )
common/persistence/serialization/task_serializers.go:1275
↓ 1 callersMethodarchiveHistory
(ctx context.Context, request *Request, logger log.Logger)
service/history/archival/archiver.go:178
↓ 1 callersMethodarchiveVisibility
(ctx context.Context, request *Request, logger log.Logger)
service/history/archival/archiver.go:204
↓ 1 callersMethodassertCompletionStateEqual
(expected *historyi.QueryCompletionState, actual *historyi.QueryCompletionState)
service/history/workflow/query_test.go:193
↓ 1 callersFunctionassertCurrentExecution
( ctx context.Context, tx sqlplugin.Tx, shardID int32, namespaceID primitives.UUID, workflowID string, a
common/persistence/sql/execution_util.go:1011
↓ 1 callersMethodassertDirectoryNotExists
(path string)
common/archiver/filestore/util_test.go:425
↓ 1 callersMethodassertFileExists
(filepath string)
common/archiver/filestore/visibility_archiver_test.go:643
↓ 1 callersMethodassertHistoryEvents
( ctx context.Context, namespaceId string, execution workflow.Execution, historyBatch []*historypb.History
tests/ndc/replication_task_batching_test.go:159
↓ 1 callersMethodassertHistoryEvents
( ctx context.Context, namespaceId string, workflowId string, runId string, )
tests/xdc/stream_based_replication_test.go:283
↓ 1 callersMethodassertMissingFromDB
( namespaceID string, taskQueue string, taskType enumspb.TaskQueueType, )
common/persistence/tests/task_queue.go:267
↓ 1 callersMethodassignTaskIDs
(reqs []*writeTaskRequest)
service/matching/pri_task_writer.go:108
↓ 1 callersMethodassignTaskIDs
(reqs []*writeTaskRequest)
service/matching/task_writer.go:124
↓ 1 callersMethodassignTaskIDs
( dbEventsBatches [][]*historypb.HistoryEvent, )
service/history/historybuilder/event_store.go:255
↓ 1 callersFunctionattachBatchOperationStats
attachBatchOperationStats attaches statistics on the number of individual successes and failures to the memo of this workflow.
service/worker/batcher/workflow.go:144
↓ 1 callersMethodattachDecorator
(tb testing.TB, decorator contextDecorator)
common/testing/testcontext/context.go:149
↓ 1 callersMethodattemptScheduleTime
attemptScheduleTime returns when the given attempt was scheduled to run: the activity's schedule time plus start delay for the first attempt, or calcu
chasm/lib/activity/activity.go:281
↓ 1 callersMethodaugmentContext
(ctx context.Context, header http.Header)
service/frontend/nexus_completion_http_handler.go:434
↓ 1 callersMethodauthorizeTargetNamespaces
authorizeTargetNamespaces authorizes cross-namespace commands in RespondWorkflowTaskCompleted. Commands like SignalExternalWorkflow, StartChildWorkflo
common/authorization/interceptor.go:351
↓ 1 callersMethodautoEnableIfNeeded
(ctx context.Context, params addTaskParams)
service/matching/task_queue_partition_manager.go:518
↓ 1 callersMethodawaitCompletion
(e Executor)
service/worker/scanner/executor/executor_test.go:58
↓ 1 callersMethodawaitExecutor
()
service/worker/scanner/executions/scavenger.go:176
↓ 1 callersMethodawaitExecutor
()
service/worker/scanner/taskqueue/scavenger.go:170
↓ 1 callersMethodbackfillHistory
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, runID strin
service/history/ndc/workflow_state_replicator.go:1595
↓ 1 callersMethodbackfillShardCount
backfillShardCount is to add backward compatibility to the svc based cluster connection. It sets the shard count for newMetadata to the number of shar
temporal/cluster_metadata_loader.go:73
↓ 1 callersMethodbackfillWorkflowEventsReapply
( ctx context.Context, targetWorkflow Workflow, targetWorkflowEventsSlice ...*persistence.WorkflowEvents, )
service/history/ndc/transaction_manager.go:260
↓ 1 callersMethodbacklogCountHint
()
service/matching/physical_task_queue_manager.go:538
↓ 1 callersMethodbackoffDelay
backoffDelay returns the amount of delay that should be added when retrying.
chasm/lib/scheduler/backfiller_tasks.go:196
↓ 1 callersMethodbackupProtos
()
cmd/tools/protogen/main.go:178
↓ 1 callersMethodbatchTaskQueuesForSync
()
service/worker/workerdeployment/version_workflow.go:1407
↓ 1 callersMethodbeginLinger
(shard historyi.ControllableContext)
service/history/shard/controller_impl.go:331
↓ 1 callersMethodbenchmarkEchoService
(b *testing.B)
common/testing/nettest/pipe_benchmark_test.go:83
↓ 1 callersMethodbgEvict
(settings dynamicconfig.CacheBackgroundEvictSettings)
common/cache/lru.go:468
↓ 1 callersFunctionblock
()
common/goro/adaptive_pool_test.go:21
↓ 1 callersMethodbootstrapRingPop
bootstrap ring pop service by discovering the bootstrap hosts and joining the ring pop cluster
common/membership/ringpop/monitor.go:190
↓ 1 callersMethodbroadcast
(taskCount int)
service/history/replication/ack_manager.go:498
↓ 1 callersMethodbroadcastAddressResolver
()
common/membership/ringpop/factory.go:146
↓ 1 callersMethodbuildActivityExecutionInfo
(ctx chasm.Context)
chasm/lib/activity/activity.go:854
↓ 1 callersFunctionbuildCAPoolFromData
(caData []string)
common/rpc/encryption/local_store_cert_provider.go:423
↓ 1 callersMethodbuildCAPoolFromFiles
(caFiles []string)
common/rpc/encryption/local_store_cert_provider.go:428
↓ 1 callersFunctionbuildCLI
buildCLI is the main entry point for the temporal server
cmd/server/main.go:34
↓ 1 callersFunctionbuildCLIZapLogger
()
common/log/zap_logger.go:268
↓ 1 callersFunctionbuildCallbackInfoFromHSM
( namespaceID namespace.ID, callback callbacks.Callback, outboundQueueCBPool *circuitbreakerpool.OutboundQu
service/history/api/describeworkflow/api.go:385
↓ 1 callersMethodbuildCallbackInfos
(ctx chasm.Context)
chasm/lib/activity/activity.go:962
↓ 1 callersFunctionbuildCallbackInfosFromChasm
buildCallbackInfosFromChasm reads callbacks from the CHASM workflow component and converts them to API format. TODO(long-nt-tran): move this to chasm/
service/history/api/describeworkflow/api.go:498
↓ 1 callersFunctionbuildCallbackInfosFromHSM
buildCallbackInfosFromHSM reads callbacks from HSM and converts them to API format.
service/history/api/describeworkflow/api.go:451
↓ 1 callersFunctionbuildCallbackURL
( useSystemCallback bool, callbackTemplate *template.Template, ns *namespace.Namespace, endpoint *persiste
chasm/lib/nexusoperation/task_handler_helpers.go:330
↓ 1 callersMethodbuildChangeSet
(currVer string)
tools/common/schema/updatetask.go:169
↓ 1 callersFunctionbuildChasmCallbackInfo
buildChasmCallbackInfo converts a single CHASM callback to API CallbackInfo format. Returns nil if the callback should not be included in the response
service/history/api/describeworkflow/api.go:591
↓ 1 callersFunctionbuildConfig
(uid, uid2 string)
common/config/loader_test.go:174
↓ 1 callersMethodbuildCountStmt
(namespaceID namespace.ID, queryString string, groupBy []string)
common/persistence/visibility/store/sql/query_converter_legacy.go:35
← previousnext →10,901–11,000 of 43,335, ranked by callers