MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersFunctionWithBaseWorkerOptions
WithBaseWorkerOptions configures default options for workers connected to the test server. WorkflowPanicPolicy is always set to worker.FailWorkflow s
temporaltest/options.go:40
↓ 1 callersFunctionWithCategory
(category tasks.Category)
common/persistence/persistencetest/queues.go:27
↓ 1 callersFunctionWithChainedFrontendGrpcInterceptors
WithChainedFrontendGrpcInterceptors sets a chain of ordered custom grpc interceptors that will be invoked for all Frontend gRPC API calls. The list of
temporal/server_option.go:194
↓ 1 callersFunctionWithClusterLogger
WithClusterLogger sets a custom logger for the test cluster, used instead of the default test logger. Useful for intercepting server log output.
tests/testcore/functional_test_base.go:187
↓ 1 callersFunctionWithCustomArchivers
WithCustomArchivers configures custom history and visibility archiver factories on the test's cluster. This implies a dedicated cluster because the fa
tests/testcore/test_env.go:196
↓ 1 callersFunctionWithCustomHistoryArchiverFactory
(factory provider.CustomHistoryArchiverFactory)
tests/testcore/functional_test_base.go:205
↓ 1 callersMethodWithCustomTaskHandler
WithCustomTaskHandler returns a copy of the Replicator with the custom task handler set.
service/worker/replicator/replicator.go:85
↓ 1 callersFunctionWithCustomVisibilityArchiverFactory
(factory provider.CustomVisibilityArchiverFactory)
tests/testcore/functional_test_base.go:211
↓ 1 callersFunctionWithData
WithData adds a key-value pair to a Namespace during a Clone operation.
common/namespace/mutate.go:70
↓ 1 callersFunctionWithDynamicConfigOverrides
(overrides map[dynamicconfig.Key]any)
tests/testcore/functional_test_base.go:145
↓ 1 callersFunctionWithEmbedded
WithEmbedded forces the loader to use only the embedded configuration template. This loads configuration from environment variables only, using the em
common/config/loader.go:113
↓ 1 callersMethodWithExtractors
WithExtractors returns a new interceptor with additional extractors prepended. The new extractors will be tried before the existing ones.
common/rpc/interceptor/routing_key_interceptor.go:92
↓ 1 callersFunctionWithFaultInjectionConfig
(cfg *config.FaultInjection)
tests/testcore/functional_test_base.go:173
↓ 1 callersFunctionWithHistoryShardCount
WithHistoryShardCount sets the number of history shards for the test's cluster. This implies a dedicated cluster, since shard count cannot be changed
tests/testcore/test_env.go:220
↓ 1 callersFunctionWithID
WithID assigns the ID to a Namespace during a Clone operation.
common/namespace/mutate.go:37
↓ 1 callersFunctionWithLogger
WithLogger sets the log.Logger to be used by Registry and its Updates.
service/history/workflow/update/registry.go:147
↓ 1 callersFunctionWithLogger
WithLogger sets a custom logger for the test's cluster, letting a test intercept server log output. This implies a dedicated cluster, since a custom l
tests/testcore/test_env.go:210
↓ 1 callersFunctionWithMTLS
WithMTLS enables mutual TLS on the test's cluster. This implies a dedicated cluster, since the TLS configuration cannot be shared across tests.
tests/testcore/test_env.go:166
↓ 1 callersMethodWithMethodSeed
(storeName DataStoreName, methodName string, seed int64)
common/config/config.go:831
↓ 1 callersFunctionWithMetrics
WithMetrics sets the metrics.Handler to be used by Registry and its Updates.
service/history/workflow/update/registry.go:154
↓ 1 callersFunctionWithNamespace
WithNamespace sets the namespace name to be used in Registry metrics and logs.
service/history/workflow/update/registry.go:140
↓ 1 callersFunctionWithNumHistoryShards
(n int32)
tests/testcore/functional_test_base.go:179
↓ 1 callersFunctionWithPretendLocalNamespace
(localClusterName string)
common/namespace/mutate.go:80
↓ 1 callersFunctionWithRetention
WithRetention assigns the retention duration to a Namespace during a Clone operation.
common/namespace/mutate.go:62
↓ 1 callersFunctionWithSharedCluster
()
tests/testcore/functional_test_base.go:199
↓ 1 callersMethodWithTimerIDNumber
(n int)
common/testing/testvars/test_vars.go:410
↓ 1 callersFunctionWithTracerProvider
WithTracerProvider sets the trace.TracerProvider (and by extension the trace.Tracer) to be used by Registry and its Updates.
service/history/workflow/update/registry.go:162
↓ 1 callersMethodWorkerDeploymentClient
WorkerDeploymentClient mocks base method.
common/testing/mocksdk/client_mock.go:744
↓ 1 callersMethodWorkerGRPCAddress
()
tests/testcore/onebox.go:294
↓ 1 callersFunctionWorkerPluginNameTag
(value string)
common/metrics/tags.go:377
↓ 1 callersFunctionWorkerStorageDriverTypeTag
(value string)
common/metrics/tags.go:381
↓ 1 callersFunctionWorkerVersioningAssignmentRuleCount
WorkerVersioningAssignmentRuleCount returns tag for AssignmentRuleCount
common/log/tag/tags.go:355
↓ 1 callersFunctionWorkerVersioningMaxUpstreamBuildIDs
WorkerVersioningMaxUpstreamBuildIDs returns tag for RedirectRuleCount
common/log/tag/tags.go:365
↓ 1 callersFunctionWorkerVersioningRedirectRuleCount
WorkerVersioningRedirectRuleCount returns tag for RedirectRuleCount
common/log/tag/tags.go:360
↓ 1 callersFunctionWorkflowBranchID
WorkflowBranchID returns tag for WorkflowBranchID
common/log/tag/tags.go:268
↓ 1 callersMethodWorkflowExecutionInfoFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:81
↓ 1 callersFunctionWorkflowHistorySizeBytes
WorkflowHistorySizeBytes returns tag for HistorySizeBytes
common/log/tag/tags.go:340
↓ 1 callersFunctionWorkflowRuleID
WorkflowRuleID returns tag for WorkflowRuleID
common/log/tag/tags.go:1022
↓ 1 callersMethodWorkflowRunTimeout
WorkflowRunTimeout returns the workflow run timeout duration. Returns 0 if no timeout is set.
chasm/ms_pointer.go:27
↓ 1 callersFunctionWorkflowSignalCount
WorkflowSignalCount returns tag for SignalCount
common/log/tag/tags.go:330
↓ 1 callersFunctionWorkflowStartedTimestamp
WorkflowStartedTimestamp returns tag for WorkflowStartedTimestamp
common/log/tag/tags.go:221
↓ 1 callersFunctionWorkflowStatusTag
(status string)
common/metrics/tags.go:511
↓ 1 callersFunctionWorkflowTaskFailedCause
WorkflowTaskFailedCause returns tag for WorkflowTaskFailedCause
common/log/tag/tags.go:285
↓ 1 callersFunctionWorkflowTaskTimeout
WorkflowTaskTimeout returns tag for WorkflowTaskTimeoutSeconds
common/log/tag/tags.go:171
↓ 1 callersFunctionWorkflowTaskType
(wtType string)
common/log/tag/tags.go:685
↓ 1 callersFunctionWorkflowTimeoutType
WorkflowTimeoutType returns tag for WorkflowTimeoutType
common/log/tag/tags.go:94
↓ 1 callersMethodWrapError
WrapError provides each variant the opportunity to wrap the error returned by the task executor for, e.g. to trigger the circuit breaker.
components/callbacks/executors.go:102
↓ 1 callersMethodWrapError
WrapError provides each variant the opportunity to wrap the error returned by the task handler for, e.g. to trigger the circuit breaker.
chasm/lib/callback/tasks.go:69
↓ 1 callersMethodWriteLockGetClusterMetadata
(ctx context.Context, filter *ClusterMetadataFilter)
common/persistence/sql/sqlplugin/cluster_metadata.go:60
↓ 1 callersMethodWriteTaskToDLQ
WriteTaskToDLQ implements [DLQWriter.WriteTaskToDLQ] by calling [queues.DLQWriter.Write].
service/history/replication/dlq_writer.go:125
↓ 1 callersMethodackLevelPinnedLocked
()
service/matching/fair_task_reader.go:592
↓ 1 callersMethodackTaskLocked
(taskId int64)
service/matching/pri_task_reader.go:440
↓ 1 callersMethodacquire
(t *testing.T, createCluster func() *FunctionalTestBase)
tests/testcore/test_cluster_pool.go:105
↓ 1 callersMethodacquireLoop
(ctx context.Context, controller *ControllerImpl)
service/history/shard/ownership.go:110
↓ 1 callersMethodactivities
()
service/worker/addsearchattributes/fx.go:61
↓ 1 callersMethodactivities
(name namespace.Name, id namespace.ID)
service/worker/batcher/fx.go:111
↓ 1 callersMethodactivities
()
service/worker/migration/fx.go:111
↓ 1 callersFunctionactivityContextFromChasm
activityContextFromChasm extracts the activityContext from a chasm.Context. Panics if the context value is missing, which indicates a library registra
chasm/lib/activity/library.go:22
↓ 1 callersMethodactivityFailure
()
service/history/workflow/mutable_state_impl_restart_activity_test.go:482
↓ 1 callersFunctionactivityOptionsFromStartRequest
activityOptionsFromStartRequest builds an ActivityOptions from the inlined fields of a StartActivityExecutionRequest for use with shared validation lo
chasm/lib/activity/frontend.go:433
↓ 1 callersMethodaddActivityTask
( ctx context.Context, pc PartitionCounts, request *matchingservice.AddActivityTaskRequest, opts []grpc.Ca
client/matching/client.go:164
↓ 1 callersFunctionaddActivityTaskFailedEvent
( ms historyi.MutableState, scheduledEventID, startedEventID int64, failureInfo *failurepb.Failure, retryS
service/history/history_engine_test.go:6797
↓ 1 callersMethodaddAndDefer
(task Task)
service/worker/scanner/executor/runq.go:41
↓ 1 callersMethodaddBuildIdToLoadedSearchAttribute
Takes a list of loaded build IDs from a search attribute and adds a new build ID to it. Also makes sure that the resulting SA list begins with either
service/history/workflow/mutable_state_impl.go:3820
↓ 1 callersFunctionaddCallbackHeaderToHTTPHeader
(nexusHeader nexus.Header, httpHeader http.Header)
common/nexus/nexusrpc/api.go:72
↓ 1 callersMethodaddCompletionCallbacksChasm
addCompletionCallbacksChasm creates completion callbacks using the CHASM implementation.
service/history/workflow/mutable_state_impl.go:3422
↓ 1 callersMethodaddCompletionCallbacksHsm
addCompletionCallbacksHsm creates completion callbacks using the HSM implementation.
service/history/workflow/mutable_state_impl.go:3374
↓ 1 callersMethodaddCustomKeywordSearchAttribute
(env *testcore.TestEnv, attrName string)
tests/advanced_visibility_test.go:2684
↓ 1 callersMethodaddDeletionTask
addDeletionTask adds a task to delete workflow history events from primary storage.
service/history/archival_queue_task_executor.go:223
↓ 1 callersFunctionaddFailWorkflowEvent
( ms historyi.MutableState, workflowTaskCompletedEventID int64, failure *failurepb.Failure, retryState enu
service/history/history_engine_test.go:6959
↓ 1 callersFunctionaddImports
(missing []string)
cmd/tools/getproto/main.go:133
↓ 1 callersMethodaddInitialScheduleMemo
This mutates request (but idempotent so safe for retries)
service/frontend/workflow_handler.go:6731
↓ 1 callersMethodaddJitter
Adds jitter to a nominal time, deterministically (by hashing the given time and a seed).
service/worker/scheduler/spec.go:346
↓ 1 callersMethodaddJitter
(nextInterval float64)
common/backoff/retrypolicy.go:178
↓ 1 callersMethodaddNexusOperation
addNexusOperation adds a Nexus operation component to the workflow.
chasm/lib/workflow/nexus_methods.go:25
↓ 1 callersMethodaddPendingActivityInfo
(ai *persistencespb.ActivityInfo)
service/history/workflow/mutable_state_impl.go:4301
↓ 1 callersFunctionaddPrefix
(prefix string, fields []string)
common/persistence/visibility/store/sql/query_converter_util_legacy.go:99
↓ 1 callersFunctionaddSchemaVarcharLengthChecks
(stmt string)
common/persistence/sql/sqlplugin/sqlite/schema_rewriter.go:24
↓ 1 callersMethodaddSearchAttributes
( attributes *commonpb.SearchAttributes, nominal time.Time, )
service/worker/scheduler/workflow.go:1558
↓ 1 callersMethodaddSearchAttributesElasticsearch
( ctx context.Context, request *operatorservice.AddSearchAttributesRequest, visManager manager.VisibilityMa
service/frontend/operator_handler.go:194
↓ 1 callersMethodaddSearchAttributesSQL
( ctx context.Context, request *operatorservice.AddSearchAttributesRequest, visManager manager.VisibilityMa
service/frontend/operator_handler.go:242
↓ 1 callersMethodaddSingleTaskToBuffer
( ctx context.Context, task *persistencespb.AllocatedTaskInfo, )
service/matching/task_reader.go:270
↓ 1 callersMethodaddUpdateCallbacksChasm
( event *historypb.HistoryEvent, updateID string, requestID string, updateCallbacks []*commonpb.Callback,
service/history/workflow/mutable_state_impl.go:3337
↓ 1 callersMethodaddUsedDeploymentVersionToLoadedSearchAttribute
(existingValues []string, usedVersion *deploymentpb.WorkerDeploymentVersion)
service/history/workflow/mutable_state_impl.go:3865
↓ 1 callersFunctionaddWorkflowExecutionSignaled
(t *testing.T, i int, ms *workflow.MutableStateImpl)
service/history/workflow/workflow_test/mutable_state_impl_test.go:179
↓ 1 callersMethodaddWorkflowExecutionStartedEventForContinueAsNew
( ctx context.Context, parentExecutionInfo *workflowspb.ParentExecutionInfo, execution *commonpb.WorkflowEx
service/history/workflow/mutable_state_impl.go:2601
↓ 1 callersMethodaddWorkflowTask
( ctx context.Context, pc PartitionCounts, request *matchingservice.AddWorkflowTaskRequest, opts []grpc.Ca
client/matching/client.go:202
↓ 1 callersFunctionaddWorkflowTaskStartedEventWithRequestID
(ms historyi.MutableState, scheduledEventID int64, requestID string, taskQueue, identity string)
service/history/history_engine_test.go:6685
↓ 1 callersMethodaddWorkflowTasksConcurrently
addWorkflowTasksConcurrent adds taskCount number of tasks for each numWorker concurrently
service/matching/matching_engine_test.go:3657
↓ 1 callersMethodaddr
()
tests/mixedbrain/proxy_util.go:38
↓ 1 callersFunctionadjustActivityOptions
( validator *api.CommandAttrValidator, namespaceID string, workflowTaskQueue string, activityID string, a
service/history/api/updateactivityoptions/api.go:314
↓ 1 callersFunctionadminRefreshWorkflowTasks
(c *cli.Context, clientFactory ClientFactory, prompter *Prompter)
tools/tdbg/commands.go:697
↓ 1 callersMethodadvance
()
service/matching/task_tracker.go:26
↓ 1 callersFunctionaggregateByLevel
(tmap map[string][]float64)
tools/optimize-test-sharding/main.go:237
↓ 1 callersFunctionaggregateStats
(stats map[int32]*taskqueuepb.TaskQueueStats)
service/matching/physical_task_queue_manager.go:969
↓ 1 callersFunctionaliasChasmSearchAttributes
aliasChasmSearchAttributes aliases CHASM search attribute field names. This function mirrors the pattern of searchattribute.AliasFields for custom sea
common/persistence/visibility/visibility_manager_impl.go:560
↓ 1 callersFunctionallFilesMatchPrefixes
allFilesMatchPrefixes returns true if every file in the list starts with one of the given prefixes.
tools/flakereport/bisect.go:208
↓ 1 callersFunctionallQueriedMetricsAreNamespaceScoped
(snap metricstest.CaptureSnapshot, queriedMetrics []string)
tests/testcore/metric_capture.go:79
↓ 1 callersMethodallSubmitted
allSubmitted returns true if all executions in this page have been submitted
service/worker/batcher/activities.go:94
↓ 1 callersMethodallocTaskIDBlock
(prevBlockEnd int64)
service/matching/pri_task_writer.go:212
← previousnext →10,801–10,900 of 43,335, ranked by callers