MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 15 callersMethodHasPollerAfter
(accessTime time.Time)
service/matching/physical_task_queue_manager_interface.go:61
↓ 15 callersMethodInvoke
Invoke executes the callback logic and returns the invocation result.
components/callbacks/executors.go:99
↓ 15 callersFunctionIsActivityTaskNotFoundForToken
( token *tokenspb.Task, ai *persistencespb.ActivityInfo, isCompletedByID *bool, )
service/history/api/activity_util.go:58
↓ 15 callersMethodIsCurrentWorkflowGuaranteed
()
service/history/interfaces/mutable_state.go:218
↓ 15 callersMethodIsResourceDuplicated
(resourceDedupKey definition.DeduplicationID)
service/history/interfaces/mutable_state.go:235
↓ 15 callersMethodListNexusOperationExecutions
(context.Context, *workflowservice.ListNexusOperationExecutionsRequest)
chasm/lib/nexusoperation/frontend.go:27
↓ 15 callersMethodMapExecuteBatchCAS
(*Batch, map[string]any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:20
↓ 15 callersFunctionNewCompletionHTTPClient
NewCompletionHTTPClient constructs a [CompletionHTTPClient] from given options for sending Nexus operation completion callbacks via HTTP.
common/nexus/nexusrpc/completion.go:35
↓ 15 callersMethodNewExecutionStore
NewExecutionStore returns a new execution store
common/persistence/persistence_interface.go:44
↓ 15 callersFunctionNewFuture
()
common/future/future_impl.go:31
↓ 15 callersFunctionNewMockLibrary
NewMockLibrary creates a new mock instance.
chasm/library_mock.go:33
↓ 15 callersFunctionNewMockWorker
NewMockWorker creates a new mock instance.
common/testing/mocksdk/worker_mock.go:34
↓ 15 callersFunctionNewSyncMap
()
common/collection/sync_map.go:17
↓ 15 callersFunctionNewTestVisibilitySearchAttributesMapper
NewTestVisibilitySearchAttributesMapper creates a new VisibilitySearchAttributesMapper. For testing only.
chasm/test_visibility.go:7
↓ 15 callersMethodNexusServices
NexusServices returns a list of nexus.Service instances to register with the __temporal_system Nexus endpoint.
chasm/library.go:17
↓ 15 callersMethodNumBufferedEvents
()
service/history/historybuilder/event_store.go:146
↓ 15 callersFunctionOr
( predicates ...Predicate[T], )
common/predicates/or.go:14
↓ 15 callersMethodOverrideValue
(key Key, value any)
common/dynamicconfig/memory_client.go:58
↓ 15 callersMethodParseHistoryBranchInfo
ParseHistoryBranchInfo parses the history branch for branch information
common/persistence/history_branch_util.go:27
↓ 15 callersMethodPartitionId
()
common/tqid/task_queue_id.go:417
↓ 15 callersFunctionProcessBuffer
( buffer []T, isRunning bool, resolve func(enumspb.ScheduleOverlapPolicy) enumspb.ScheduleOverlapPolicy, )
service/worker/scheduler/buffer.go:30
↓ 15 callersMethodProcessTimeRange
ProcessTimeRange generates buffered actions according to the schedule spec for the given time range. The parameter manual is propagated to the return
chasm/lib/scheduler/spec_processor.go:30
↓ 15 callersMethodRecordWorkerHeartbeat
RecordWorkerHeartbeat receive heartbeat request from the worker.
api/matchingservice/v1/service_grpc.pb.go:213
↓ 15 callersMethodRemoveRemoteCluster
RemoveRemoteCluster removes remote cluster.
api/adminservice/v1/service_grpc.pb.go:123
↓ 15 callersMethodRenameNamespace
(ctx context.Context, request *RenameNamespaceRequest)
common/persistence/data_interfaces.go:1222
↓ 15 callersMethodReplicateHistoryEvents
( ctx context.Context, workflowKey definition.WorkflowKey, baseExecutionInfo *workflowspb.BaseExecuti
service/history/interfaces/engine.go:57
↓ 15 callersMethodReschedule
()
service/history/replication/executable_task.go:64
↓ 15 callersMethodResendHistoryEvents
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, r
service/history/replication/eventhandler/resend_handler.go:30
↓ 15 callersMethodResetActivity
(ctx context.Context, request *historyservice.ResetActivityRequest)
service/history/interfaces/engine.go:98
↓ 15 callersMethodSetRequestLinks
SetRequestLinks records the links contributed by the given request on the component, replacing any prior entry for the same request ID. Passing nil/em
chasm/context.go:96
↓ 15 callersMethodSetScheduledTime
(time.Time)
service/history/queues/executable.go:52
↓ 15 callersMethodSetSliceCount
(readerID int64, count int)
service/history/queues/monitor.go:34
↓ 15 callersMethodStartBatchOperation
( ctx context.Context, request *workflowservice.StartBatchOperationRequest, )
service/frontend/workflow_handler.go:5634
↓ 15 callersMethodState
()
components/callbacks/statemachine.go:66
↓ 15 callersMethodStop
()
service/history/replication/task_fetcher.go:44
↓ 15 callersFunctionStringer
(key string, value fmt.Stringer)
common/log/tag/zap_tag.go:178
↓ 15 callersMethodSyncHSMState
( ctx context.Context, request *historyi.SyncHSMRequest, )
service/history/ndc/hsm_state_replicator.go:31
↓ 15 callersFunctionTaskTypeTag
(value string)
common/metrics/tags.go:281
↓ 15 callersMethodTerminateNexusOperationExecution
(context.Context, *workflowservice.TerminateNexusOperationExecutionRequest)
chasm/lib/nexusoperation/frontend.go:30
↓ 15 callersMethodToPayload
(value any)
tests/testcore/test_data_converter.go:54
↓ 15 callersFunctionTruncateUTF8
TruncateUTF8 truncates s to no more than n _bytes_, and returns a valid utf-8 string as long as the input is a valid utf-8 string. Note that truncatio
common/util/strings.go:9
↓ 15 callersMethodUpdateActivity
(int64, ActivityUpdater)
service/history/interfaces/mutable_state.go:293
↓ 15 callersMethodUpdateDLQAckLevel
(ctx context.Context, metadata *InternalQueueMetadata)
common/persistence/persistence_interface.go:183
↓ 15 callersFunctionValidate
Validate checks that the given links do not exceed the configured count and per-link size limits, and that each link's variant has its required fields
common/links/validator.go:14
↓ 15 callersFunctionValidateNamespaceUUID
( namespaceUUID namespace.ID, )
service/history/api/namespace.go:52
↓ 15 callersMethodVerifyFirstWorkflowTaskScheduled
(ctx context.Context, request *historyservice.VerifyFirstWorkflowTaskScheduledRequest)
service/history/interfaces/engine.go:54
↓ 15 callersMethodVersioningOverridePinned
()
common/testing/testvars/test_vars.go:289
↓ 15 callersMethodVisitUpdates
(visitor func(updID string, updInfo *persistencespb.UpdateInfo))
service/history/workflow/update/store.go:18
↓ 15 callersMethodWait
(ctx context.Context, namespaceName namespace.Name, methodName string, headerGetter headers.HeaderGetter)
common/rpc/interceptor/namespace_rate_limit.go:36
↓ 15 callersMethodWaitForHistoryEvents
(expectedHistory string, actualHistoryEventsReader HistoryEventsReader, waitFor time.Duration, tick time.Durat
common/testing/historyrequire/history_require.go:144
↓ 15 callersMethodWeight
()
common/tasks/weighted_channel.go:40
↓ 15 callersFunctionWithDeadlineBuffer
WithDeadlineBuffer returns a child context with a deadline that ensures that at least buffer amount of time remains after the child deadline expires a
common/contextutil/deadline.go:16
↓ 15 callersFunctionWithRetries
(c int)
tests/testcore/taskpoller.go:95
↓ 15 callersFunctionWithSearchAttributes
( searchAttributes ...SearchAttribute, )
chasm/registrable_component.go:109
↓ 15 callersMethodcancel
()
common/clock/context.go:42
↓ 15 callersMethodcheckDescribeWorkflowAfterOverride
( env *testcore.TestEnv, wf *commonpb.WorkflowExecution, expectedOverride *workflowpb.VersioningOverride, )
tests/worker_deployment_version_test.go:1650
↓ 15 callersMethodconstructTestHistoryIterator
( mockExecutionMgr *persistence.MockExecutionManager, targetHistoryBlobSize int, initialState []byte, )
common/archiver/history_iterator_test.go:662
↓ 15 callersMethodcreateStartWorkflowExecutionRequest
(env *testcore.TestEnv, id, wt, tl string)
tests/advanced_visibility_test.go:1025
↓ 15 callersMethoddefaultListRequest
defaultListRequest returns the standard ListNamespacesRequest used by the registry.
common/namespace/nsregistry/registry_watch_test.go:201
↓ 15 callersFunctionenableUpdateCallbacksOpts
()
tests/nexus_workflow_update_test.go:148
↓ 15 callersMethodfieldType
()
chasm/tree.go:676
↓ 15 callersFunctionfile_temporal_server_api_taskqueue_v1_message_proto_rawDescGZIP
()
api/taskqueue/v1/message.pb.go:1222
↓ 15 callersMethodgetDB
TODO(pri): remove
service/matching/backlog_manager.go:55
↓ 15 callersFunctionhasWordAt
hasWordAt is a simple test to check if it matches the whole word: it checks if the adjacent characters are not alphanumeric if they exist.
common/persistence/query_util.go:201
↓ 15 callersMethodinc
Returns the next highest fair level.
service/matching/fair_level.go:49
↓ 15 callersFunctionisRetryableUpdateError
(err error)
service/worker/workerdeployment/util.go:375
↓ 15 callersMethodless
Returns true if a < b lexicographically.
service/matching/fair_level.go:24
↓ 15 callersFunctionmergeWorkflowExecutionOptions
mergeWorkflowExecutionOptions copies the given paths in `src` struct to `dst` struct and returns the merged opts and the options to reapply
service/history/api/updateworkflowoptions/api.go:198
↓ 15 callersMethodnewBacklogTaskWithPriority
(id int64, age time.Duration, f func(*internalTask, taskResponse), pri *commonpb.Priority)
service/matching/matcher_data_test.go:123
↓ 15 callersFunctionnewKey
()
common/testing/testhooks/test_impl.go:91
↓ 15 callersMethodnewRandomHistoryNodeMetadata
( branch *persistencespb.HistoryBranch, nodeID int64, transactionID int64, prevTransactionID int64, )
common/persistence/history_node_util_test.go:147
↓ 15 callersMethodnewRandomTasksRow
( queueID []byte, taskID int64, )
common/persistence/sql/sqlplugin/tests/matching_task.go:253
↓ 15 callersFunctionnewTaggedMetricsHandler
newTaggedMetricsHandler returns a metrics handler tagged with the Scheduler's namespace and backend.
chasm/lib/scheduler/util.go:44
↓ 15 callersFunctionnewTestUnversionedPhysicalQueueKey
(namespaceId string, name string, taskType enumspb.TaskQueueType, partition int)
service/matching/user_data_manager_test.go:863
↓ 15 callersFunctionreadSchemaDir
readSchemaDir returns a sorted list of subdir names that hold the schema changes for versions in the range startVer < ver <= endVer when endVer is emp
tools/common/schema/updatetask.go:390
↓ 15 callersFunctionrun
( parentCtx context.Context, tb testing.TB, condition func(*T), cfg config, funcName string, misuseHint
common/testing/await/require_ctx.go:68
↓ 15 callersMethodsanitizeAndParseArgs
nolint:revive,cognitive-complexity
tools/testrunner/testrunner.go:91
↓ 15 callersMethodsendNexusCompletionRequest
( ctx context.Context, url string, completion nexusrpc.CompleteOperationOptions, )
tests/nexus_workflow_test.go:2940
↓ 15 callersMethodsetNamespace
( namespaceEntry *namespace.Namespace, req any, )
common/rpc/interceptor/namespace_validator.go:157
↓ 15 callersMethodsetupTest
()
tests/xdc/base.go:221
↓ 15 callersMethodshouldExecuteTimeSkipping
ShouldExecuteTimeSkipping checks if one mutable state should execute time skipping, i.e. there is no in-flight work and there is a time point to skip
service/history/workflow/mutable_state_impl.go:10109
↓ 15 callersMethodstartManager
startManager builds and starts the scaleManager. Call this after configuring EXPECTs and tweaking s.settings. Pass initial=nil to start with no prior
service/matching/scale_manager_test.go:82
↓ 15 callersMethodtearDownSuite
()
tests/xdc/base.go:205
↓ 15 callersFunctiontotalApproximateBacklogCount
(c backlogManager)
service/matching/backlog_manager_test.go:693
↓ 15 callersMethodvalidateCommandAttr
( validationFn commandAttrValidationFn, )
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1536
↓ 15 callersMethodvalidatePollTask
Poll task and assert no error and that a non-nil task is returned
service/matching/task_queue_partition_manager_test.go:1271
↓ 15 callersMethodvalidateRates
validateRates verifies TasksAddRate and/or TasksDispatchRate in a dedicated await block. This should be called immediately after the relevant operatio
tests/task_queue_stats_test.go:1331
↓ 15 callersMethodwriteEventToCache
( event *historypb.HistoryEvent, )
service/history/workflow/mutable_state_impl.go:2065
↓ 15 callersMethodwriteFailure
(writer http.ResponseWriter, r *http.Request, err error)
service/frontend/nexus_operation_http_handler.go:115
↓ 14 callersFunctionAddAndSwitchVersionHistory
AddAndSwitchVersionHistory adds a VersionHistory and switch the current branch if necessary based on the Version of the last VersionHistoryItem. Retur
common/persistence/versionhistory/version_histories.go:105
↓ 14 callersMethodAddHistoryEvent
(t enumspb.EventType, setAttributes func(*historypb.HistoryEvent))
chasm/tree.go:216
↓ 14 callersFunctionArchetypeTag
(value string)
common/metrics/tags.go:288
↓ 14 callersMethodAttachRequestID
(requestID string, eventType enumspb.EventType, eventID int64)
service/history/interfaces/mutable_state.go:149
↓ 14 callersMethodCheck
(ctx context.Context)
service/frontend/health_check.go:26
↓ 14 callersMethodCreateNextUserTimer
()
service/history/workflow/timer_sequence.go:47
↓ 14 callersMethodDeleteWorkflowExecution
(ctx context.Context, request *DeleteWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1124
↓ 14 callersMethodDeleteWorkflowExecution
(ctx context.Context, request *manager.VisibilityDeleteWorkflowExecutionRequest)
common/persistence/visibility/store/visibility_store.go:33
↓ 14 callersMethodDescribeWorker
(nsID namespace.ID, workerInstanceKey string)
service/matching/workers/registry.go:28
↓ 14 callersMethodDeserialize
Deserialize mutates the given params object with the value of the component when parsing an HTTP path, e.g. setting the value of a variable to "test-n
common/routing/route.go:34
↓ 14 callersFunctionESIndex
(index string)
common/log/tag/tags.go:742
← previousnext →1,701–1,800 of 43,335, ranked by callers