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
↓ 5 callers
Function
newPriTaskMatcher
newPriTaskMatcher returns a task matcher instance
service/matching/pri_matcher.go:90
↓ 5 callers
Method
newRandomExecutionBufferRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, )
common/persistence/sql/sqlplugin/tests/history_execution_buffer.go:175
↓ 5 callers
Method
newRandomTreeRow
( shardID int32, treeID primitives.UUID, branchID primitives.UUID, )
common/persistence/sql/sqlplugin/tests/history_tree.go:181
↓ 5 callers
Function
newSUTFromConfig
(config builderConfig)
service/history/historybuilder/history_builder_categorization_test.go:1246
↓ 5 callers
Function
newScheduledTestOperation
(t *testing.T, ctx *chasm.MockMutableContext)
chasm/lib/nexusoperation/operation_test.go:106
↓ 5 callers
Function
newTaskQueueLoadBalancer
(tq *tqid.TaskQueue)
client/matching/loadbalancer.go:147
↓ 5 callers
Function
newTestActivities
(client schedulerpb.SchedulerServiceClient, nsID namespace.ID)
service/worker/scheduler/activities_test.go:30
↓ 5 callers
Method
newTestEnv
(doAutoEnable bool, opts ...testcore.TestOption)
tests/priority_fairness_test.go:432
↓ 5 callers
Method
newTestEnv
()
tests/archival_test.go:113
↓ 5 callers
Method
newTestEnv
(opts ...testcore.TestOption)
tests/dlq_test.go:77
↓ 5 callers
Function
newTestFrontendHTTPClient
(ts *httptest.Server)
components/callbacks/request_test.go:23
↓ 5 callers
Function
newTestFrontendHTTPClient
(ts *httptest.Server)
chasm/lib/callback/request_test.go:22
↓ 5 callers
Function
newTestRingpopFactory
( serviceName primitives.ServiceName, logger log.Logger, rpcConfig *config.RPC, tlsProvider encryption.TLS
common/membership/ringpop/factory_test.go:150
↓ 5 callers
Function
newTestUpdateRequest
(keys []tasks.Key)
common/persistence/execution_manager_test.go:25
↓ 5 callers
Function
nexusCompleteOperationFailure
nexusCompleteOperationFailure constructs a failed CompleteOperationOptions from the given failure.
service/history/workflow/mutable_state_impl.go:830
↓ 5 callers
Method
nexusTaskPoller
(ctx context.Context, t *testing.T, taskQueue string, handler nexusTaskHandler)
tests/nexus_test_base.go:112
↓ 5 callers
Method
oldestTime
oldestTime returns the time of the oldest task in this backlog, or the zero Time if empty.
service/matching/backlog_age_tracker.go:43
↓ 5 callers
Method
openURI
openURI returns a ReadCloser for the given URI. Supports http://, https://, and file:// schemes.
common/authorization/default_token_key_provider.go:171
↓ 5 callers
Method
output
()
components/callbacks/statemachine.go:102
↓ 5 callers
Function
parseCalendarToStructured
(cal *schedulepb.CalendarSpec)
service/worker/scheduler/calendar.go:216
↓ 5 callers
Function
parseFailedTestsFromOutput
parseFailedTestsFromOutput extracts failing test names from gotestsum stdout. It looks for Go test failure lines produced as tests complete, and is us
tools/testrunner/log.go:330
↓ 5 callers
Method
peekTaskKey
( category tasks.Category, )
service/history/shard/task_key_manager.go:56
↓ 5 callers
Method
percentile
(key string, p float64)
tools/fairsim/sim.go:544
↓ 5 callers
Method
pollAndQueryWorkflow
( env *testcore.TestEnv, tv *testvars.TestVars, sticky bool, )
tests/versioning_3_test.go:557
↓ 5 callers
Method
prepare
prepare applies request overrides, validates the request, and records eager execution metrics.
service/history/api/startworkflow/api.go:117
↓ 5 callers
Method
prepareTransientWorkflowTaskCompletionFirstBatchApplied
(version int64, workflowID, runID string)
service/history/workflow/mutable_state_impl_test.go:2350
↓ 5 callers
Function
prettyPrintAny
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:22
↓ 5 callers
Method
processCloseCallbacks
processCloseCallbacks triggers "WorkflowClosed" callbacks, applying the state machine transition that schedules callback tasks.
service/history/workflow/mutable_state_impl.go:7199
↓ 5 callers
Method
processNewRange
()
service/history/queues/queue_base.go:262
↓ 5 callers
Function
propagateTimeSkippingToChild
propagateTimeSkippingToChild makes sure the start time of the child workflow execution is shifted forward by the accumulated skipped duration. FastFor
service/history/workflow/timeskipping.go:38
↓ 5 callers
Method
rampingVersionStringUnversioned
(s string)
service/worker/workerdeployment/workflow.go:744
↓ 5 callers
Function
randSignalBroadcast
( cv ConditionVariable, signalRatio float64, )
common/locks/condition_variable_test.go:223
↓ 5 callers
Method
randomRequest
()
service/history/api/signalwithstartworkflow/signal_with_start_workflow_test.go:228
↓ 5 callers
Method
randomTask
(taskID, pass int64)
common/persistence/tests/task_queue_fair_task.go:183
↓ 5 callers
Method
rate
rate returns the rate of increments in a given interval
service/matching/task_tracker.go:94
↓ 5 callers
Function
readFile
readFile reads the contents of a file specified by filepath WARNING: callers of this method should be extremely careful not to use it in a context whe
common/archiver/filestore/util.go:83
↓ 5 callers
Method
reapplyContinueAsNewWorkflowEvents
( ctx context.Context, resetMutableState historyi.MutableState, currentWorkflow Workflow, namespaceID name
service/history/ndc/workflow_resetter.go:644
↓ 5 callers
Method
recordAttempt
(ts time.Time)
components/nexusoperations/statemachine.go:91
↓ 5 callers
Method
recordHeartbeat
(ctx context.Context, heartbeat heartbeatDetails)
service/worker/scanner/build_ids/scavenger.go:119
↓ 5 callers
Method
recvSyncReplicationState
( attr *replicationspb.SyncReplicationState, )
service/history/replication/stream_sender.go:244
↓ 5 callers
Method
refreshClusterMetadata
(ctx context.Context)
common/cluster/metadata.go:417
↓ 5 callers
Method
removePoller
(id pollerIdentity)
service/matching/poller_history.go:45
↓ 5 callers
Method
replaceAssignmentRule
replaceAssignmentRule replaces a new versioning assignment rule to the task queue user data. It checks the response and returns the conflict token.
tests/versioning_test.go:4453
↓ 5 callers
Method
requireLegacyTaskQueueStatsRelaxed
requireLegacyTaskQueueStatsRelaxed asserts task queue statistics by allowing for over-counting in multi-partition scenarios. The production code inten
tests/task_queue_stats_test.go:773
↓ 5 callers
Method
resetNextReadSliceLocked
()
service/history/queues/reader.go:487
↓ 5 callers
Method
respondWorkflowTaskCompleted
(env *testcore.TestEnv, task *workflowservice.PollWorkflowTaskQueueResponse, result any)
tests/eager_workflow_start_test.go:59
↓ 5 callers
Function
restoreOriginalOptions
( ctx context.Context, ms historyi.MutableState, updateRequest *workflowservice.UpdateActivityOptionsReques
service/history/api/updateactivityoptions/api.go:412
↓ 5 callers
Method
root
()
service/history/hsm/tree.go:707
↓ 5 callers
Function
routeRequest
( r *http.Request, clusterMetadata cluster.Metadata, namespaceRegistry namespace.Registry, httpClientCache
components/callbacks/request.go:90
↓ 5 callers
Function
routeRequest
( r *http.Request, clusterMetadata cluster.Metadata, namespaceRegistry namespace.Registry, httpClientCache
chasm/lib/callback/request.go:106
↓ 5 callers
Method
runNexusCompletionHTTPServer
(t *testing.T, h *completionHandler)
tests/activity_standalone_test.go:6350
↓ 5 callers
Method
runScavenger
()
service/worker/scanner/taskqueue/scavenger_test.go:150
↓ 5 callers
Method
runTestCase
(tc *testCase)
common/persistence/sql/sqlplugin/tests/history_execution_chasm.go:47
↓ 5 callers
Function
scalerBackgroundPolls
(s testcore.Env, tv *testvars.TestVars, tp *taskpoller.TaskPoller, workers int)
tests/partition_scaling_test.go:277
↓ 5 callers
Function
scalerBackgroundTasks
TODO: test disabling scaler
tests/partition_scaling_test.go:252
↓ 5 callers
Function
scalerBacklogEmpty
(s testcore.Env, tv *testvars.TestVars, parts ...int)
tests/partition_scaling_test.go:330
↓ 5 callers
Function
scalerEnvOptions
(dcPartitions int)
tests/partition_scaling_test.go:25
↓ 5 callers
Method
serializePageToken
(token *visibilityPageToken)
common/persistence/visibility/store/elasticsearch/visibility_store.go:911
↓ 5 callers
Function
serializePageTokenJson
(token *T)
common/persistence/sql/common.go:116
↓ 5 callers
Method
setAckLevel
Moves ack level to the new level if it is higher than the current one. Also updates the read level if it is lower than the ackLevel.
service/matching/ack_manager.go:86
↓ 5 callers
Method
setCurrentVersion
TODO (Shivam): We may have to wait for the propagation status to show completed if we are using async workflows here.
tests/task_queue_stats_test.go:1056
↓ 5 callers
Method
setDefaultDeleteParams
(t *testing.T)
service/worker/dlq/workflow_test.go:512
↓ 5 callers
Method
setDefaultPriority
(task *internalTask)
service/matching/config.go:582
↓ 5 callers
Function
setIncomingMD
setIncomingMD sets the key-value pairs in the incoming metadata. Empty values are ignored.
common/headers/headers.go:156
↓ 5 callers
Method
setTaskMinScheduledTime
( taskMinScheduledTime time.Time, )
service/history/shard/task_key_manager.go:82
↓ 5 callers
Method
setUserDataState
setUserDataState sets user data enabled/disabled and marks the future ready (if it's not ready yet). userDataState controls whether GetUserData return
service/matching/user_data_manager.go:224
↓ 5 callers
Method
setupComponentWithTree
setupComponentWithTree creates a basic component structure and attaches it to the tree.
chasm/field_test.go:165
↓ 5 callers
Function
setupForCompletion
(t *testing.T, handler nexusrpc.CompletionHandler, serializer nexus.Serializer, failureConverter nexusrpc.Fail
common/nexus/nexusrpc/setup_test.go:58
↓ 5 callers
Method
setupSignalExternalWorkflowInitiated
( targetNamespace namespace.Name, targetNamespaceID namespace.ID, )
service/history/transfer_queue_active_task_executor_test.go:1972
↓ 5 callers
Method
setupStartWorkflowExecutionForRunning
()
service/history/history_engine2_test.go:1607
↓ 5 callers
Method
setupTaskMgrMocks
()
service/worker/scanner/taskqueue/scavenger_test.go:162
↓ 5 callers
Method
setupToCaptureTasks
()
service/matching/backlog_manager_test.go:141
↓ 5 callers
Function
shallowCloneVersioningData
(data *persistencespb.VersioningData)
service/matching/version_sets.go:126
↓ 5 callers
Method
shouldMaskErrors
(req any)
common/rpc/interceptor/mask_internal_error.go:59
↓ 5 callers
Function
sizeOfStringSet
( stringSet map[string]struct{}, )
common/persistence/size_util.go:20
↓ 5 callers
Method
skipDuplicatedEvents
(skipIndex int)
service/history/ndc/replication_task.go:48
↓ 5 callers
Function
sleep
(ctx context.Context, deadline time.Time, pollInterval time.Duration)
common/testing/await/require_ctx.go:268
↓ 5 callers
Method
spoolDefaultTasks
spoolDefaultTasks spools n tasks to the partition manager's default queue.
service/matching/task_queue_partition_manager_test.go:679
↓ 5 callers
Function
standbyTransferTaskPostActionTaskDiscarded
( _ context.Context, taskInfo tasks.Task, postActionInfo any, logger log.Logger, )
service/history/ndc_standby_task_util.go:52
↓ 5 callers
Method
startManagerWithLogger
( logger log.Logger, writePartitions int, initial *persistencespb.PartitionScaleState, )
service/matching/scale_manager_test.go:86
↓ 5 callers
Method
startUnversionedWorkflows
(env *taskQueueStatsContext, count int, tqName string)
tests/task_queue_stats_test.go:876
↓ 5 callers
Method
stopWorkers
( count int, )
common/tasks/fifo_scheduler.go:153
↓ 5 callers
Method
stoppedForOwnershipLost
()
service/history/shard/context_impl.go:1493
↓ 5 callers
Function
sum
--- generic helpers ---
tools/fairsim/sim.go:575
↓ 5 callers
Method
tags
(keyvals []any)
common/log/sdk_logger.go:31
↓ 5 callers
Function
taskWorkflowKey
(task tasks.Task)
service/history/statemachine_environment.go:27
↓ 5 callers
Method
tearDownTestCluster
tearDownTestCluster tears down the underlying TestCluster and runs the proxy T's queued cleanups (notably tl.Close). Cleanups run via defer so they ex
tests/testcore/functional_test_base.go:478
↓ 5 callers
Function
testActivityMetricTags
(operation string)
service/history/workflow/metrics_test.go:270
↓ 5 callers
Method
testStandingBacklog
(p standingBacklogParams)
service/matching/backlog_manager_test.go:828
↓ 5 callers
Function
timerTypeToTimerMask
( timerType enumspb.TimeoutType, )
service/history/workflow/timer_sequence.go:364
↓ 5 callers
Method
toTally
()
common/metrics/config.go:507
↓ 5 callers
Function
trimShardInfo
( cfg *configs.Config, allClusterInfo map[string]cluster.ClusterInformation, shardInfo *persistencespb.Shar
service/history/shard/context_impl.go:2315
↓ 5 callers
Method
txExecuteShardLocked
txExecuteShardLocked executes f under transaction and with read lock on shard row
common/persistence/sql/execution.go:40
↓ 5 callers
Function
union
(this, that map[K]struct{})
service/history/tasks/predicates.go:440
↓ 5 callers
Method
unloadFromEngine
(unloadCause unloadCause)
service/matching/task_queue_partition_manager.go:1966
↓ 5 callers
Function
unmarshalTimestamp
unmarshalTimestamp unmarshals a string into a Time instance. Uses RFC 3339, with some extra validation to ensure that seconds and subseconds are with
common/nexus/nexusrpc/timestamp.go:28
↓ 5 callers
Method
updatePhysicalTaskQueueGauge
Responsible for emitting and updating loaded_physical_task_queue_count metric
service/matching/matching_engine.go:2998
↓ 5 callers
Method
updateQuota
(newQuota float64)
common/quotas/calculator/logged_calculator_test.go:108
↓ 5 callers
Method
updateTaskQueuePartitionGauge
Responsible for emitting and updating loaded_task_queue_family_count, loaded_task_queue_count and loaded_task_queue_partition_count metrics
service/matching/matching_engine.go:3041
↓ 5 callers
Method
updateTimeSkippingInfo
updateTimeSkippingInfo updates the time skipping info with with new config and the event ID that updates the config we allow updating the config to ni
service/history/workflow/mutable_state_impl.go:10013
← previous
next →
4,601–4,700 of 43,335, ranked by callers