Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 1 callers
Method
allocTaskIDBlock
(prevBlockEnd int64)
service/matching/task_writer.go:213
↓ 1 callers
Method
allocTaskIDBlock
(prevBlockEnd int64)
service/matching/fair_task_writer.go:247
↓ 1 callers
Method
allocTaskIDs
(reqs []*writeTaskRequest)
service/matching/fair_task_writer.go:102
↓ 1 callers
Method
allow
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 callers
Method
allow
(task T)
common/tasks/rate_limited_scheduler.go:114
↓ 1 callers
Method
allowForwarding
call with lock held
service/matching/matcher_data.go:484
↓ 1 callers
Method
allowedBufferedStarts
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 callers
Function
analyzeArtifactForCIBreakers
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 callers
Method
annotateSearchAttributes
( searchAttributes *commonpb.SearchAttributes, nsName string, )
service/frontend/workflow_handler.go:4522
↓ 1 callers
Method
apiTargetToPersistenceTarget
(source *nexuspb.EndpointTarget)
service/frontend/nexus_endpoint_client.go:242
↓ 1 callers
Method
appendCompactCandidatesForReader
( candidates []compactCandidate, reader Reader, slicePredicate SlicePredicate, )
service/history/queues/action_slice_count.go:148
↓ 1 callers
Function
appendPrefix
(prefix string, fields []string)
common/persistence/sql/sqlplugin/util.go:7
↓ 1 callers
Function
appendSeparatedTags
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 callers
Function
appendSeparatedTags
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 callers
Method
appendSyntheticFailure
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 callers
Method
appendTaskLocked
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 callers
Method
appendTasks
(reqs []*writeTaskRequest)
service/matching/pri_task_writer.go:124
↓ 1 callers
Method
appendTasks
(reqs []*writeTaskRequest)
service/matching/task_writer.go:140
↓ 1 callers
Method
appendToOutgoingContext
(ctx context.Context)
client/matching/partition_counts.go:43
↓ 1 callers
Function
appendTransientTasks
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 callers
Method
apply
(*serverOptions)
temporal/server_option.go:26
↓ 1 callers
Function
applyActivityOptionsToStartRequest
applyActivityOptionsToStartRequest copies normalized values from ActivityOptions back to the StartActivityExecutionRequest.
chasm/lib/activity/frontend.go:446
↓ 1 callers
Method
applyBackfillEventsWithNew
( ctx context.Context, wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc,
service/history/ndc/history_replicator.go:351
↓ 1 callers
Method
applyBackfillEventsWithoutNew
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, branchIndex
service/history/ndc/history_replicator.go:383
↓ 1 callers
Method
applyBackoff
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 callers
Function
applyClusterInfoUpdates
( clusterInfo map[string]ClusterInformation, oldClusterMetadata map[string]*ClusterInformation, newClusterM
common/cluster/metadata.go:482
↓ 1 callers
Method
applyCompletedRetention
applyCompletedRetention removes the oldest completed BufferedStarts beyond the retention limit.
chasm/lib/scheduler/invoker.go:424
↓ 1 callers
Method
applyDefaults
()
temporaltest/internal/lite_server.go:173
↓ 1 callers
Method
applyEvents
( ctx context.Context, ndcWorkflow Workflow, mutableStateSpec MutableStateInitializationSpec, versionHisto
service/history/ndc/history_importer.go:148
↓ 1 callers
Method
applyEventsThroughFetcher
( workflowID string, runID string, workflowType string, taskqueue string, versionHistory *historyspb.Vers
tests/ndc/ndc_test.go:2241
↓ 1 callers
Method
applyMutation
( ctx context.Context, namespaceID namespace.ID, workflowID string, runID string, archetypeID chasm.Arche
service/history/ndc/workflow_state_replicator.go:665
↓ 1 callers
Method
applyNewRunHistory
( ctx context.Context, namespaceID namespace.ID, newExecution *commonpb.WorkflowExecution, newRunHistory [
service/history/workflow/mutable_state_rebuilder.go:715
↓ 1 callers
Method
applyNonStartEventsAndSerialize
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, mutableStat
service/history/ndc/history_importer.go:225
↓ 1 callers
Method
applyNonStartEventsMissingMutableState
( ctx context.Context, newWFContext historyi.WorkflowContext, task replicationTask, )
service/history/ndc/history_replicator.go:760
↓ 1 callers
Method
applyNonStartEventsResetWorkflow
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, task replic
service/history/ndc/history_replicator.go:822
↓ 1 callers
Method
applyNonStartEventsToCurrentBranch
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, isRebuilt b
service/history/ndc/history_replicator.go:568
↓ 1 callers
Method
applyNonStartEventsToNonCurrentBranch
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, branchIndex
service/history/ndc/history_replicator.go:630
↓ 1 callers
Method
applyNonStartEventsToNonCurrentBranchWithContinueAsNew
( ctx context.Context, wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc,
service/history/ndc/history_replicator.go:716
↓ 1 callers
Method
applyParentClosePolicy
( ctx context.Context, parentExecution *commonpb.WorkflowExecution, childInfo *persistencespb.ChildExecutio
service/history/transfer_queue_active_task_executor.go:1904
↓ 1 callers
Method
applyPendingComponentMetadata
applyPendingComponentMetadata writes staged per-component framework metadata (request links and user metadata) onto the node's ChasmComponentAttribute
chasm/tree.go:1531
↓ 1 callers
Method
applyReplicationTask
( replicationTask *replicationspb.ReplicationTask, )
service/history/replication/task_processor.go:262
↓ 1 callers
Function
applyResultToHTTPResponse
(r nexus.HandlerStartOperationResult[any], writer http.ResponseWriter, request *http.Request, handler *httpHan
common/nexus/nexusrpc/server.go:21
↓ 1 callers
Method
applyStartEvents
( ctx context.Context, wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc,
service/history/ndc/history_replicator.go:513
↓ 1 callers
Method
applyStartEventsAndSerialize
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, mutableStat
service/history/ndc/history_importer.go:199
↓ 1 callers
Method
applyToHTTPRequest
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 callers
Method
applyTombstones
revive:disable-next-line:cognitive-complexity
service/history/workflow/mutable_state_impl.go:9558
↓ 1 callers
Method
applyUpdatesToStateMachineNodes
( nodeMutations []*persistencespb.WorkflowMutableStateMutation_StateMachineNodeMutation, )
service/history/workflow/mutable_state_impl.go:9274
↓ 1 callers
Method
applyUserDataUpdateBatch
(namespaceId namespace.ID, batch []*userDataUpdate)
service/matching/matching_engine.go:2793
↓ 1 callers
Method
archivalEnabled
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 callers
Function
archiveExecutionTaskFromProto
( archivalTaskInfo *persistencespb.ArchivalTaskInfo, )
common/persistence/serialization/task_serializers.go:1289
↓ 1 callers
Function
archiveExecutionTaskToProto
( archiveExecutionTask *tasks.ArchiveExecutionTask, )
common/persistence/serialization/task_serializers.go:1275
↓ 1 callers
Method
archiveHistory
(ctx context.Context, request *Request, logger log.Logger)
service/history/archival/archiver.go:178
↓ 1 callers
Method
archiveVisibility
(ctx context.Context, request *Request, logger log.Logger)
service/history/archival/archiver.go:204
↓ 1 callers
Method
assertCompletionStateEqual
(expected *historyi.QueryCompletionState, actual *historyi.QueryCompletionState)
service/history/workflow/query_test.go:193
↓ 1 callers
Function
assertCurrentExecution
( ctx context.Context, tx sqlplugin.Tx, shardID int32, namespaceID primitives.UUID, workflowID string, a
common/persistence/sql/execution_util.go:1011
↓ 1 callers
Method
assertDirectoryNotExists
(path string)
common/archiver/filestore/util_test.go:425
↓ 1 callers
Method
assertFileExists
(filepath string)
common/archiver/filestore/visibility_archiver_test.go:643
↓ 1 callers
Method
assertHistoryEvents
( ctx context.Context, namespaceId string, execution workflow.Execution, historyBatch []*historypb.History
tests/ndc/replication_task_batching_test.go:159
↓ 1 callers
Method
assertHistoryEvents
( ctx context.Context, namespaceId string, workflowId string, runId string, )
tests/xdc/stream_based_replication_test.go:283
↓ 1 callers
Method
assertMissingFromDB
( namespaceID string, taskQueue string, taskType enumspb.TaskQueueType, )
common/persistence/tests/task_queue.go:267
↓ 1 callers
Method
assignTaskIDs
(reqs []*writeTaskRequest)
service/matching/pri_task_writer.go:108
↓ 1 callers
Method
assignTaskIDs
(reqs []*writeTaskRequest)
service/matching/task_writer.go:124
↓ 1 callers
Method
assignTaskIDs
( dbEventsBatches [][]*historypb.HistoryEvent, )
service/history/historybuilder/event_store.go:255
↓ 1 callers
Function
attachBatchOperationStats
attachBatchOperationStats attaches statistics on the number of individual successes and failures to the memo of this workflow.
service/worker/batcher/workflow.go:144
↓ 1 callers
Method
attachDecorator
(tb testing.TB, decorator contextDecorator)
common/testing/testcontext/context.go:149
↓ 1 callers
Method
attemptScheduleTime
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 callers
Method
augmentContext
(ctx context.Context, header http.Header)
service/frontend/nexus_completion_http_handler.go:434
↓ 1 callers
Method
authorizeTargetNamespaces
authorizeTargetNamespaces authorizes cross-namespace commands in RespondWorkflowTaskCompleted. Commands like SignalExternalWorkflow, StartChildWorkflo
common/authorization/interceptor.go:351
↓ 1 callers
Method
autoEnableIfNeeded
(ctx context.Context, params addTaskParams)
service/matching/task_queue_partition_manager.go:518
↓ 1 callers
Method
awaitCompletion
(e Executor)
service/worker/scanner/executor/executor_test.go:58
↓ 1 callers
Method
awaitExecutor
()
service/worker/scanner/executions/scavenger.go:176
↓ 1 callers
Method
awaitExecutor
()
service/worker/scanner/taskqueue/scavenger.go:170
↓ 1 callers
Method
backfillHistory
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, runID strin
service/history/ndc/workflow_state_replicator.go:1595
↓ 1 callers
Method
backfillShardCount
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 callers
Method
backfillWorkflowEventsReapply
( ctx context.Context, targetWorkflow Workflow, targetWorkflowEventsSlice ...*persistence.WorkflowEvents, )
service/history/ndc/transaction_manager.go:260
↓ 1 callers
Method
backlogCountHint
()
service/matching/physical_task_queue_manager.go:538
↓ 1 callers
Method
backoffDelay
backoffDelay returns the amount of delay that should be added when retrying.
chasm/lib/scheduler/backfiller_tasks.go:196
↓ 1 callers
Method
backupProtos
()
cmd/tools/protogen/main.go:178
↓ 1 callers
Method
batchTaskQueuesForSync
()
service/worker/workerdeployment/version_workflow.go:1407
↓ 1 callers
Method
beginLinger
(shard historyi.ControllableContext)
service/history/shard/controller_impl.go:331
↓ 1 callers
Method
benchmarkEchoService
(b *testing.B)
common/testing/nettest/pipe_benchmark_test.go:83
↓ 1 callers
Method
bgEvict
(settings dynamicconfig.CacheBackgroundEvictSettings)
common/cache/lru.go:468
↓ 1 callers
Function
block
()
common/goro/adaptive_pool_test.go:21
↓ 1 callers
Method
bootstrapRingPop
bootstrap ring pop service by discovering the bootstrap hosts and joining the ring pop cluster
common/membership/ringpop/monitor.go:190
↓ 1 callers
Method
broadcast
(taskCount int)
service/history/replication/ack_manager.go:498
↓ 1 callers
Method
broadcastAddressResolver
()
common/membership/ringpop/factory.go:146
↓ 1 callers
Method
buildActivityExecutionInfo
(ctx chasm.Context)
chasm/lib/activity/activity.go:854
↓ 1 callers
Function
buildCAPoolFromData
(caData []string)
common/rpc/encryption/local_store_cert_provider.go:423
↓ 1 callers
Method
buildCAPoolFromFiles
(caFiles []string)
common/rpc/encryption/local_store_cert_provider.go:428
↓ 1 callers
Function
buildCLI
buildCLI is the main entry point for the temporal server
cmd/server/main.go:34
↓ 1 callers
Function
buildCLIZapLogger
()
common/log/zap_logger.go:268
↓ 1 callers
Function
buildCallbackInfoFromHSM
( namespaceID namespace.ID, callback callbacks.Callback, outboundQueueCBPool *circuitbreakerpool.OutboundQu
service/history/api/describeworkflow/api.go:385
↓ 1 callers
Method
buildCallbackInfos
(ctx chasm.Context)
chasm/lib/activity/activity.go:962
↓ 1 callers
Function
buildCallbackInfosFromChasm
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 callers
Function
buildCallbackInfosFromHSM
buildCallbackInfosFromHSM reads callbacks from HSM and converts them to API format.
service/history/api/describeworkflow/api.go:451
↓ 1 callers
Function
buildCallbackURL
( useSystemCallback bool, callbackTemplate *template.Template, ns *namespace.Namespace, endpoint *persiste
chasm/lib/nexusoperation/task_handler_helpers.go:330
↓ 1 callers
Method
buildChangeSet
(currVer string)
tools/common/schema/updatetask.go:169
↓ 1 callers
Function
buildChasmCallbackInfo
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 callers
Function
buildConfig
(uid, uid2 string)
common/config/loader_test.go:174
↓ 1 callers
Method
buildCountStmt
(namespaceID namespace.ID, queryString string, groupBy []string)
common/persistence/visibility/store/sql/query_converter_legacy.go:35
← previous
next →
10,901–11,000 of 43,335, ranked by callers