MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 7 callersMethodmetricTagConfig
metricTagConfig returns the configured metric tag config (nil-safe).
components/nexusoperations/metrics.go:13
↓ 7 callersFunctionmustToPayload
(t *testing.T, input any)
components/nexusoperations/executors_test.go:66
↓ 7 callersFunctionnamespaceState
( clusterMetadata cluster.Metadata, mutableStateCurrentVersion *int64, )
service/history/workflow/context.go:1232
↓ 7 callersFunctionnewCQLClient
newCQLClient returns a new instance of CQLClient
tools/cassandra/cqlclient.go:84
↓ 7 callersFunctionnewChasmRowFromFilter
(filter sqlplugin.ChasmNodeMapsAllFilter)
common/persistence/sql/sqlplugin/tests/history_execution_chasm.go:105
↓ 7 callersMethodnewDetachedContext
newDetachedContext creates a detached context with the same deadline and values from the given context. Detached context won't be affected if the cont
service/history/shard/context_impl.go:2279
↓ 7 callersFunctionnewFaultFromError
(err error, rate float64)
common/persistence/faultinjection/fault.go:22
↓ 7 callersFunctionnewGeneratorHandler
(env *testEnv)
chasm/lib/scheduler/generator_tasks_test.go:22
↓ 7 callersFunctionnewIdleHandler
(idleTime time.Duration)
chasm/lib/scheduler/scheduler_idle_tasks_test.go:18
↓ 7 callersFunctionnewPollForwarderTask
(p priorityKey, t pollForwarderType)
service/matching/task.go:227
↓ 7 callersMethodnewRandomNodeRow
( shardID int32, treeID primitives.UUID, branchID primitives.UUID, nodeID int64, prevTransactionID int64,
common/persistence/sql/sqlplugin/tests/history_node.go:355
↓ 7 callersMethodnewRandomTasksRow
(queueID []byte, pass, id int64)
common/persistence/sql/sqlplugin/tests/matching_task_v2.go:116
↓ 7 callersFunctionnewRateLimitManager
Create a new rate limit manager for the task queue partition.
service/matching/ratelimit_manager.go:66
↓ 7 callersMethodnewSlice
( scope Scope, iterators []Iterator, tracker *executableTracker, )
service/history/queues/slice.go:448
↓ 7 callersMethodnewSpeculativeWorkflowTaskTimeoutTestExecutable
( visibilityTimestamp time.Time, )
service/history/queues/memory_scheduled_queue_test.go:152
↓ 7 callersFunctionnewSummaryFromReports
(reports []*junitReport)
tools/testrunner/summary.go:19
↓ 7 callersFunctionnewTestCQLClient
(keyspace string)
tools/cassandra/cqlclient_tests.go:48
↓ 7 callersMethodnewTestEnv
newTestEnv creates a TestEnv with the dynamic config this suite needs. Additional per-test options may be passed in opts.
tests/admin_batch_refresh_workflow_tasks_test.go:34
↓ 7 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/worker_registry_test.go:29
↓ 7 callersFunctionnewTestSpecProcessor
newTestSpecProcessor creates a real SpecProcessor for tests that need actual scheduling logic.
chasm/lib/scheduler/spec_processor_test.go:28
↓ 7 callersFunctionnewTimerQueueActiveTaskExecutor
( shard historyi.ShardContext, workflowCache wcache.Cache, workflowDeleteManager deletemanager.DeleteManage
service/history/timer_queue_active_task_executor.go:49
↓ 7 callersFunctionnewUpdateChildWorkflow
newUpdateChildWorkflow returns a child workflow function that registers an "update" handler and waits for a "stop" signal. If blockOnSignal is true, t
tests/nexus_workflow_update_test.go:160
↓ 7 callersFunctionnormalizeTagsForCaching
normalizeTagsForCaching applies excludeTags substitution to produce canonical tag values for cache key computation. Returns the original slice unchang
common/metrics/tally_metrics_handler.go:204
↓ 7 callersMethodopts
()
tests/max_buffered_event_test.go:30
↓ 7 callersFunctionparseWhereString
(where string)
common/persistence/visibility/store/query/converter_test.go:2520
↓ 7 callersMethodpath
()
chasm/tree.go:2699
↓ 7 callersMethodpayloadEncode
(value any)
service/history/historybuilder/history_builder_test.go:2628
↓ 7 callersMethodpollWithMinPriority
(timeout time.Duration, minPriority int32)
service/matching/matcher_data_test.go:71
↓ 7 callersMethodprependTags
(tags []tag.Tag)
common/log/with_logger.go:27
↓ 7 callersMethodprocessTransfer
( ctx context.Context, processTaskIfClosed bool, taskInfo tasks.Task, actionFn standbyActionFn, postActio
service/history/transfer_queue_standby_task_executor.go:560
↓ 7 callersMethodqueueStates
()
service/history/shard/controller_test.go:1090
↓ 7 callersMethodrandomTaskQueueInfo
( taskQueueKind enumspb.TaskQueueKind, )
common/persistence/tests/task_queue.go:247
↓ 7 callersMethodrateAndFull
rateLocked returns the rate of increments in a given interval, plus whether the full interval has elapsed.
service/matching/task_tracker.go:103
↓ 7 callersMethodread
()
tools/testrunner/junit.go:40
↓ 7 callersMethodrecordCommandMetrics
(commands []*workerpb.WorkerCommand, namespaceName string, outcome string)
service/history/worker_commands_task_dispatcher.go:214
↓ 7 callersMethodrecordExpectationMatches
recordExpectationMatches increments the match counter of every expectation registered at the given level whose matcher matches this log call. It is pu
common/testing/testlogger/testlogger.go:387
↓ 7 callersMethodrecordTasks
recordTasks appends tasks to the flattened list by category, wrapping each with metadata
tests/testcore/history_task_recorder.go:138
↓ 7 callersFunctionresolveFieldName
(valueType enumspb.IndexedValueType, index int)
chasm/search_attribute.go:213
↓ 7 callersMethodring
()
common/membership/ringpop/service_resolver.go:442
↓ 7 callersFunctionrouteSystemCallbackRequest
routeSystemCallbackRequest routes a system callback request to the appropriate frontend client based on the callback token's namespace and active clus
chasm/lib/callback/request.go:24
↓ 7 callersFunctionrowTypeTaskInSubqueue
We steal some upper bits of the "row type" field to hold a subqueue index. Subqueue 0 must be the same as rowTypeTask (before subqueues were introduce
common/persistence/cassandra/matching_task_store.go:37
↓ 7 callersMethodrun
()
tests/reset_workflow_test.go:543
↓ 7 callersMethodrunTdbg
(ctx context.Context, args []string)
tests/dlq_test.go:125
↓ 7 callersFunctionscheduleExecution
(workflowID string)
tools/tdbg/schedule_migrate_test.go:88
↓ 7 callersFunctionselectTopFlakyTests
selectTopFlakyTests selects the top-N flakiest tests that meet minimum signal thresholds. allRuns is the full set of test runs. Returns normalized tes
tools/flakereport/bisect.go:351
↓ 7 callersMethodsetAndVerifyRampingVersionUnversionedOption
nolint:staticcheck // SA1019
tests/worker_deployment_test.go:3355
↓ 7 callersFunctionsetDefaultMsg
(msg string)
common/log/zap_logger.go:123
↓ 7 callersMethodsetRangeID
( rangeID int64, )
service/history/shard/task_key_manager.go:72
↓ 7 callersMethodsetReadLevel
(readLevel int64)
service/matching/ack_manager.go:57
↓ 7 callersFunctionsetUnknownNexusContent
(nexusHeader nexus.Header, payloadMetadata map[string][]byte)
common/nexus/payload_serializer.go:92
↓ 7 callersMethodsetupRemoteFrontendClients
()
tests/ndc/ndc_test.go:2404
↓ 7 callersMethodskipBeforeVersion
(version DeploymentWorkflowVersion)
service/worker/workerdeployment/workflow_test.go:53
↓ 7 callersFunctionstartTimerCmd
startTimerCmd returns a StartTimer command with the given duration and timer ID.
tests/timeskipping_test.go:402
↓ 7 callersMethodstartWorkflowWithRetry
startWorkflowWithRetry starts a scanner workflow, retrying until it succeeds or the scanner shuts down. workflowType may be either a registered type-n
service/worker/scanner/scanner.go:300
↓ 7 callersMethodstop
()
client/history/caching_redirector.go:72
↓ 7 callersMethodsyncSummary
Sync version summary with the WorkerDeployment workflow.
service/worker/workerdeployment/version_workflow.go:1048
↓ 7 callersMethodsyncVersion
(ctx workflow.Context, targetVersion string, versionUpdateArgs *deploymentspb.SyncVersionStateUpdateArgs)
service/worker/workerdeployment/workflow.go:1538
↓ 7 callersMethodtargetWorkerDeploymentVersionChangedForStartedEvent
()
service/history/workflow/workflow_task_state_machine.go:883
↓ 7 callersMethodtaskFor
(taskInstance any)
chasm/registry.go:219
↓ 7 callersFunctiontoGetter
(snake string)
cmd/tools/genrpcwrappers/main.go:233
↓ 7 callersMethodupdateMemo
(ctx workflow.Context)
service/worker/workerdeployment/workflow.go:1732
↓ 7 callersFunctionupdateRequest
( historyArchivalURI string, historyArchivalState enumspb.ArchivalState, visibilityArchivalURI string, vis
service/frontend/workflow_handler_test.go:3784
↓ 7 callersMethodupdateTaskQueueLocked
(ctx context.Context, incrementRangeId bool)
service/matching/db.go:239
↓ 7 callersMethodupdateUtils
()
tests/versioning_3_test.go:126
↓ 7 callersMethodupdateWorkflowExecution
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, scheduleNew
service/history/timer_queue_active_task_executor.go:964
↓ 7 callersMethodvalidateClusterName
( clusterName string, )
common/namespace/nsmanager/attr_validator.go:86
↓ 7 callersFunctionvalidateStrings
(anyValue any, err error)
common/searchattribute/sadefs/encode_value.go:72
↓ 7 callersFunctionverifyDeployment
nolint:revive
service/worker/workerdeployment/replaytester/worker/worker.go:215
↓ 7 callersFunctionverifyFieldExists
(t reflect.Type, path string)
cmd/tools/genrpcwrappers/main.go:146
↓ 7 callersMethodverifyRevisionNumber
(expected int)
service/worker/workerdeployment/workflow_test.go:642
↓ 7 callersMethodverifyWorkflowOptionsUpdatedEventAttr
( actualAttr *historypb.WorkflowExecutionOptionsUpdatedEventAttributes, expectedAttr *historypb.WorkflowExec
service/history/workflow/mutable_state_impl_test.go:1164
↓ 7 callersMethodverifyWorkflowStickyQueue
( env *testcore.TestEnv, tv *testvars.TestVars, )
tests/versioning_3_test.go:4960
↓ 7 callersMethodwaitForClusterSynced
()
tests/xdc/base.go:211
↓ 7 callersFunctionwaitUpdateAdmitted
(s testcore.Env, tv *testvars.TestVars)
tests/update_workflow_utils.go:102
↓ 7 callersFunctionxTemporalPayload
(payload *commonpb.Payload)
common/nexus/payload_serializer.go:163
↓ 6 callersMethodAccept
()
common/testing/nettest/pipe_benchmark_test.go:17
↓ 6 callersMethodAddEdge
AddEdge adds an edge to the model
common/testing/event_generator.go:531
↓ 6 callersMethodAddFailWorkflowEvent
(int64, enumspb.RetryState, *commandpb.FailWorkflowExecutionCommandAttributes, string)
service/history/interfaces/mutable_state.go:86
↓ 6 callersMethodAddModel
AddModel adds a history event model
common/testing/event_generator.go:112
↓ 6 callersMethodAddReqTokenC
AddReqTokenC returns a channel that can be used to wait for a token that's necessary before making a ForwardTask or ForwardQueryTask API call. After t
service/matching/forwarder.go:322
↓ 6 callersMethodAddSignalExternalWorkflowExecutionFailedEvent
(int64, namespace.Name, namespace.ID, string, string, string, enumspb.SignalExternalWorkflowExecutionFailedCau
service/history/interfaces/mutable_state.go:90
↓ 6 callersMethodAddStartChildWorkflowExecutionFailedEvent
(int64, enumspb.StartChildWorkflowExecutionFailedCause, *historypb.StartChildWorkflowExecutionInitiatedEventAt
service/history/interfaces/mutable_state.go:93
↓ 6 callersMethodAddTask
(incomingTask TrackableExecutableTask)
service/history/replication/batchable_task.go:152
↓ 6 callersMethodAddWorkflowExecutionCanceledEvent
(int64, *commandpb.CancelWorkflowExecutionCommandAttributes)
service/history/interfaces/mutable_state.go:102
↓ 6 callersMethodAddWorkflowExecutionUpdateCompletedEvent
AddWorkflowExecutionUpdateCompletedEvent writes an Update completed event. The data may not be durable when this function returns.
service/history/workflow/update/store.go:44
↓ 6 callersMethodAppendHistoryNodes
The below are history V2 APIs V2 regards history events growing as a tree, decoupled from workflow concepts AppendHistoryNodes add a node to history n
common/persistence/persistence_interface.go:152
↓ 6 callersMethodAppendHistoryNodes
AppendHistoryNodes add(or override) a node to a history branch
common/persistence/sql/history_store.go:24
↓ 6 callersMethodApplyTaskQueueUserDataReplicationEvent
(ctx context.Context, request *matchingservice.ApplyTaskQueueUserDataReplicationEventRequest)
service/matching/matching_engine_interfaces.go:30
↓ 6 callersMethodApplyWorkflowTaskFailedEvent
()
service/history/interfaces/mutable_state.go:255
↓ 6 callersFunctionArchivalURI
ArchivalURI returns tag for Archival URI
common/log/tag/tags.go:896
↓ 6 callersMethodAssertMissingFromDB
( namespaceID string, workflowID string, runID string, archetypeID chasm.ArchetypeID, )
common/persistence/tests/execution_mutable_state.go:2679
↓ 6 callersFunctionBuildIdIfUsingVersioning
BuildIdIfUsingVersioning returns the given WorkerVersionStamp if it is using versioning, otherwise returns nil.
common/worker_versioning/worker_versioning.go:177
↓ 6 callersFunctionBuildNamedPlaceholder
(fields ...string)
common/persistence/sql/sqlplugin/util.go:15
↓ 6 callersMethodCanMergeByPredicate
( incomingScope Scope, )
service/history/queues/scope.go:80
↓ 6 callersMethodCanSplitByRange
( key tasks.Key, )
service/history/queues/scope.go:32
↓ 6 callersMethodCancelOutstandingWorkerPolls
( ctx context.Context, request *matchingservice.CancelOutstandingWorkerPollsRequest, )
service/matching/matching_engine.go:1219
↓ 6 callersFunctionCause
(cause string)
common/log/tag/tags.go:1008
↓ 6 callersMethodChasmEnabled
ChasmEnabled returns true if the mutable state has a real chasm tree. The chasmTree is initialized with a noopChasmTree which is then overwritten with
service/history/workflow/mutable_state_impl.go:680
↓ 6 callersMethodCherryPick
(ctx chasm.MutableContext, wf *Workflow, event *historypb.HistoryEvent, excludeTypes map[enumspb.ResetReapplyE
chasm/lib/workflow/nexus_events.go:196
↓ 6 callersFunctionCombineTypeMaps
( customTypeMap searchattribute.NameTypeMap, chasmTypeMap *chasm.VisibilitySearchAttributesMapper, )
common/persistence/visibility/store/util.go:8
← previousnext →3,501–3,600 of 43,335, ranked by callers