MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 9 callersMethodObject
(name string)
common/archiver/gcloud/connector/client_delegate.go:28
↓ 9 callersMethodParseESDoc
nolint:revive // cyclomatic complexity
common/persistence/visibility/store/elasticsearch/visibility_store.go:1008
↓ 9 callersMethodPollReqTokenC
PollReqTokenC returns a channel that can be used to wait for a token that's necessary before making a ForwardPoll API call. After the API call is invo
service/matching/forwarder.go:330
↓ 9 callersMethodPurgeDLQMessages
(ctx context.Context, messagesRequest *historyservice.PurgeDLQMessagesRequest)
service/history/interfaces/engine.go:79
↓ 9 callersMethodPurgeDLQTasks
(-- api-linter: core::0165::response-message-name=disabled aip.dev/not-precedent: --)
api/adminservice/v1/service_grpc.pb.go:150
↓ 9 callersMethodReadSchemaVersion
ReadSchemaVersion returns the current schema version for the keyspace
tools/common/schema/types.go:43
↓ 9 callersMethodRebind
(query string)
common/persistence/sql/sqlplugin/postgresql/db.go:175
↓ 9 callersFunctionRecordActivityCompletionMetrics
( shard historyi.ShardContext, namespaceName namespace.Name, taskQueue string, completion ActivityCompleti
service/history/workflow/metrics.go:187
↓ 9 callersMethodRecordHeartbeat
(ctx context.Context, details ...any)
service/worker/scanner/build_ids/scavenger_test.go:479
↓ 9 callersMethodRecordHeartbeat
RecordHeartbeat records a heartbeat for the activity.
chasm/lib/activity/activity.go:779
↓ 9 callersMethodRegisterMetadataChangeCallback
(callbackId any, cb CallbackFn)
common/cluster/metadata.go:61
↓ 9 callersFunctionRegisterStateMachines
(r *hsm.Registry)
components/nexusoperations/statemachine.go:677
↓ 9 callersMethodRemove
()
service/history/replication/sequential_batch_queue.go:69
↓ 9 callersMethodRepresentation
Representation is the string representation of the component for usage in a path definition, e.g. "v1" for a constant slug or "{namespace}" for a vari
common/routing/route.go:27
↓ 9 callersFunctionRequireTruef
RequireTruef is like [RequireTrue] but accepts a format string that is included in the failure message when the condition is not satisfied before the
common/testing/await/require_true.go:29
↓ 9 callersFunctionResolveSearchAttributeAlias
ResolveSearchAttributeAlias resolves the search attribute alias for the given name. The process is: 1. If the name has the "Temporal", skip mapping to
common/persistence/visibility/store/query/resolve.go:19
↓ 9 callersMethodRoutingKey
RoutingKey returns the key and index within the key that should be used to find the owner of a task queue partition.
common/tqid/task_queue_id.go:80
↓ 9 callersMethodSaveClusterMetadata
(ctx context.Context, row *ClusterMetadataRow)
common/persistence/sql/sqlplugin/cluster_metadata.go:56
↓ 9 callersMethodSelectAllFromActivityInfoMaps
SelectAllFromActivityInfoMaps returns all rows from activity_info_maps table
common/persistence/sql/sqlplugin/history_activity.go:42
↓ 9 callersMethodSelectAllFromChildExecutionInfoMaps
SelectAllFromChildExecutionInfoMaps returns all rows into child_execution_info_maps table
common/persistence/sql/sqlplugin/history_child_workflow.go:42
↓ 9 callersMethodSelectAllFromRequestCancelInfoMaps
SelectAllFromRequestCancelInfoMaps returns all rows from request_cancel_info_maps table
common/persistence/sql/sqlplugin/history_request_cancel.go:42
↓ 9 callersMethodSelectAllFromSignalInfoMaps
SelectAllFromSignalInfoMaps returns one or more rows from signal_info_maps table
common/persistence/sql/sqlplugin/history_signal.go:42
↓ 9 callersMethodSelectAllFromSignalsRequestedSets
SelectAllFromSignalsRequestedSets returns all rows from signals_requested_sets table
common/persistence/sql/sqlplugin/history_signal_request.go:40
↓ 9 callersMethodSelectAllFromTimerInfoMaps
SelectAllFromTimerInfoMaps returns all rows from timer_info_maps table
common/persistence/sql/sqlplugin/history_timer.go:42
↓ 9 callersFunctionServiceErrorType
ServiceErrorType returns tag for ServiceErrorType
common/log/tag/tags.go:45
↓ 9 callersFunctionSet
Set sets a test hook to a value with the given scope and returns a cleanup function to unset it.
common/testing/testhooks/test_impl.go:82
↓ 9 callersMethodSet
( value T, err error, )
common/future/future_impl.go:66
↓ 9 callersFunctionSetRequestDefaultValueAndGetTargetVersionHistory
( request *historyservice.GetWorkflowExecutionRawHistoryV2Request, versionHistories *historyspb.VersionHisto
service/history/api/getworkflowexecutionrawhistoryv2/api.go:167
↓ 9 callersMethodSignal
Signal wakes one goroutine waiting on this condition variable, if there is any.
common/locks/condition_variable.go:7
↓ 9 callersMethodSplitByRange
(tasks.Key)
service/history/queues/slice.go:28
↓ 9 callersMethodStartGlobalMetricCapture
StartGlobalMetricCapture starts a cluster-global metrics capture for this test and automatically stops it during cleanup. Metric capture is cluster-gl
tests/testcore/test_env.go:559
↓ 9 callersMethodStop
()
common/persistence/visibility/store/elasticsearch/processor.go:34
↓ 9 callersFunctionStringToEnum
(search string, candidates map[string]int32)
tools/tdbg/util.go:194
↓ 9 callersMethodSync
Sync cancels/starts goroutines as necessary so that the running set matches the set of keys in target. To start a new goroutine, it does "go f(ctx, ke
common/goro/keyed_set.go:34
↓ 9 callersFunctionTruncate
(f *failurepb.Failure, maxSize int)
common/failure/failure.go:48
↓ 9 callersMethodUnloadForOwnershipLost
()
service/history/interfaces/shard_context.go:114
↓ 9 callersMethodUnmarshal
Unmarshal an object of type BuildId from the protobuf v3 wire format
api/persistence/v1/task_queues.go-helpers.pb.go:14
↓ 9 callersMethodUnmarshal
Unmarshal an object of type StateMachineMap from the protobuf v3 wire format
api/persistence/v1/hsm.go-helpers.pb.go:51
↓ 9 callersMethodUnmarshal
Unmarshal an object of type SyncStateFailure from the protobuf v3 wire format
api/errordetails/v1/message.go-helpers.pb.go:162
↓ 9 callersFunctionUnsafeTaskQueueTag
UnsafeTaskQueueTag returns a new task queue tag. WARNING: Do not use this function directly in production code as it may create high number of unique
common/metrics/tags.go:179
↓ 9 callersFunctionUnversionedBuildIdSearchAttribute
UnversionedBuildIdSearchAttribute returns the search attribute value for an unversioned build ID
common/worker_versioning/worker_versioning.go:121
↓ 9 callersMethodUpdateAcceptCommands
(tv *testvars.TestVars)
common/testing/updateutils/update.go:31
↓ 9 callersMethodUpdateActivityTaskStatusWithTimerHeartbeat
(scheduleEventId int64, timerTaskStatus int32, heartbeatTimeoutVisibility *time.Time)
service/history/interfaces/mutable_state.go:294
↓ 9 callersMethodUpdateWorkflowExecution
( ctx context.Context, updateMode persistence.UpdateWorkflowMode, archetypeID chasm.ArchetypeID, c
service/history/workflow/transaction.go:39
↓ 9 callersMethodUpdateWorkflowStateStatus
( state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, )
service/history/workflow/mutable_state_impl.go:7398
↓ 9 callersMethodUpsertWorkflowExecution
(ctx context.Context, request *InternalUpsertWorkflowExecutionRequest)
common/persistence/visibility/store/visibility_store.go:32
↓ 9 callersFunctionUseSuiteScopedCluster
UseSuiteScopedCluster makes NewEnv use one cluster for all tests under `t`. The cluster is created on first use and torn down when `t` completes. Dep
tests/testcore/test_cluster_pool.go:177
↓ 9 callersMethodWait
(ctx context.Context)
common/quotas/clocked_rate_limiter.go:79
↓ 9 callersMethodWhen
When returns the time when the value for key will switch from old to new. It may be the zero time for a static GradualChange.
common/dynamicconfig/gradual_change.go:48
↓ 9 callersMethodWithWorkflowID
(workflowID string)
common/testing/testvars/test_vars.go:319
↓ 9 callersMethodWorkflowExecutionStateToBlob
(info *persistencespb.WorkflowExecutionState)
common/persistence/serialization/serializer.go:43
↓ 9 callersFunctionWrapEventLoop
( ctx context.Context, originalEventLoop func() error, streamStopper func(), logger log.Logger, metricsHa
service/history/replication/stream.go:46
↓ 9 callersMethodaccumulatedSkippedDuration
()
service/history/workflow/mutable_state_impl.go:1916
↓ 9 callersMethodackMessage
ackMessage returns the inclusive low watermark if present.
service/history/replication/stream_receiver.go:232
↓ 9 callersFunctionaddOptions
(omp *otelMetricsHandler, opts T, metricName string)
common/metrics/otel_options.go:23
↓ 9 callersMethodaddRedirectRule
( env *testcore.TestEnv, tq, source string, target string, )
tests/versioning_test.go:4822
↓ 9 callersMethodaddTask
--- state methods --- addTask adds a task to a random partition, computing its pass via the counter.
tools/fairsim/sim.go:359
↓ 9 callersMethodassertAndConvertArchetypeID
( archetypeID chasm.ArchetypeID, methodName string, )
common/persistence/execution_manager.go:1233
↓ 9 callersMethodassertEqualWithDB
( rangeID int64, taskQueueInfo *persistencespb.TaskQueueInfo, )
common/persistence/tests/task_queue.go:280
↓ 9 callersMethodassertEventIDTaskID
( historyMutation *HistoryMutation, )
service/history/historybuilder/history_builder_test.go:2633
↓ 9 callersMethodassertHasQueries
(qr historyi.QueryRegistry, buffered, completed, unblocked, failed bool)
service/history/workflow/query_registry_test.go:203
↓ 9 callersMethodassertMinTaskKey
( category tasks.Category, expectedKey tasks.Key, )
service/history/shard/task_request_tracker_test.go:151
↓ 9 callersMethodassertQuerySizes
(qr historyi.QueryRegistry, buffered, completed, unblocked, failed int)
service/history/workflow/query_registry_test.go:210
↓ 9 callersMethodassertTestContextMetadata
( ctx context.Context, expectedActivityID string, expectedRequestValue string, )
service/history/chasm_engine_test.go:2020
↓ 9 callersFunctioncompareQueryString
(inStr string, expectedStr string, operation string, fieldName string)
service/history/workflow/matcher/evaluator.go:53
↓ 9 callersMethodconsume
consume updates ready based on the current time and number of new tokens consumed.
service/matching/matcher_data.go:702
↓ 9 callersFunctioncreateTestNexusEndpointProcessor
createTestNexusEndpointProcessor creates a NexusEndpointProcessor with a mock operation for testing
components/nexusoperations/executors_test.go:1576
↓ 9 callersFunctiondefaultTestConfig
()
service/matching/matching_engine_test.go:6089
↓ 9 callersMethoddelay
delay returns the time until the limiter is ready. If the return value is <= 0 then the limiter can go now.
service/matching/matcher_data.go:697
↓ 9 callersFunctiondeleteAssignmentRule
(data *persistencespb.VersioningData, clock *hlc.Clock, idx int32, force bool, )
service/matching/version_rule_test.go:153
↓ 9 callersMethoddestroy
()
service/history/queues/slice.go:435
↓ 9 callersMethoddispatchActivity
( env *testcore.TestEnv, failMode activityFailMode, newVersioning bool, crossTq bool, )
tests/versioning_test.go:1797
↓ 9 callersMethoddispatchForNewWorkflow
( ctx context.Context, archetypeID chasm.ArchetypeID, targetWorkflow Workflow, )
service/history/ndc/transaction_manager_new_workflow.go:19
↓ 9 callersMethodenrichMetricsHandler
(ctx chasm.Context, operationTag string)
chasm/lib/activity/activity.go:1095
↓ 9 callersMethodeventuallyDeleted
(ctx context.Context, t *testing.T, activityID, runID string)
tests/activity_standalone_test.go:2896
↓ 9 callersFunctionfile_temporal_server_chasm_lib_nexusoperation_proto_v1_operation_proto_rawDescGZIP
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:938
↓ 9 callersFunctionfile_temporal_server_chasm_lib_scheduler_proto_v1_message_proto_rawDescGZIP
()
chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go:779
↓ 9 callersFunctionfindOneNestedField
(t reflect.Type, name string, path string, maxDepth int)
cmd/tools/genrpcwrappers/main.go:190
↓ 9 callersMethodget
get returns a cluster from the [clusterPool], creating it lazily if needed. For exclusive pools, blocks until a slot is available and registers cleanu
tests/testcore/test_cluster_pool.go:81
↓ 9 callersMethodgetActiveClusters
(ctx context.Context)
tests/xdc/history_replication_signals_and_updates_test.go:904
↓ 9 callersMethodgetCreateTaskCount
getCreateTaskCount returns how many tasks were added
service/matching/matching_engine_test.go:5506
↓ 9 callersMethodgetDLQTypeFromQueueType
()
common/persistence/cassandra/queue_store.go:344
↓ 9 callersMethodgetFirstEvent
()
service/history/ndc/replication_task.go:34
↓ 9 callersMethodgetMutableState
(env *testcore.TestEnv, workflowID, runID string)
tests/timeskipping_test.go:350
↓ 9 callersMethodgetNamespaceID
()
service/history/ndc/replication_task.go:29
↓ 9 callersMethodgetPriority
()
service/matching/task.go:326
↓ 9 callersMethodgetQueueData
(name, namespaceID string, taskType enumspb.TaskQueueType)
service/matching/matching_engine_test.go:5158
↓ 9 callersMethodgetRangeIDLocked
()
service/history/shard/context_impl.go:1117
↓ 9 callersMethodgetType
GetType returns type of search attribute from type map.
common/searchattribute/name_type_map.go:146
↓ 9 callersMethodgetWorkflowRunRequestInfo
getWorkflowRunRequestInfo calls DescribeWorkflowExecution and returns the ExtendedInfo's RequestIDInfo corresponding to the supplied request ID. Fails
tests/links_test.go:56
↓ 9 callersMethodgetWorkflowTaskFinishEventIDAfterChild
getWorkflowTaskFinishEventIDAfterChild gets the event ID of the first WFT completed after the child completed event. It does so by scanning the histor
tests/workflow_reset_with_child_test.go:785
↓ 9 callersMethodhandleError
( err error, )
common/persistence/nosql/nosqlplugin/cassandra/gocql/session.go:176
↓ 9 callersMethodhasMinVersion
(version DeploymentWorkflowVersion)
service/worker/workerdeployment/version_workflow.go:1487
↓ 9 callersFunctionhash
(s string)
common/archiver/gcloud/util.go:59
↓ 9 callersMethodinitEnv
()
service/worker/migration/activities_test.go:158
↓ 9 callersFunctionisHTTP2SafeValue
isHTTP2SafeValue returns true if the string can be used as an HTTP/2 header value. Per RFC 9113 section 8.2.1, header field values must not contain NU
common/rpc/interceptor/context_metadata_interceptor.go:145
↓ 9 callersFunctionisSystemWorker
(tls *config.RootTLS)
common/rpc/encryption/local_store_tls_provider.go:475
↓ 9 callersFunctionmakeCurrentWorkflowConditionFailedError
( tv *testvars.TestVars, startTime *timestamppb.Timestamp, )
service/history/history_engine2_test.go:1555
↓ 9 callersMethodmakePollerScalingDecisionImpl
( pollStartTime time.Time, statsFn func() *taskqueuepb.TaskQueueStats, )
service/matching/physical_task_queue_manager.go:878
↓ 9 callersFunctionmanagerProvider
(newManagerFn func(Factory) (T, error))
common/persistence/client/fx.go:223
← previousnext →2,701–2,800 of 43,335, ranked by callers