MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 8 callersMethodRejectUnprocessed
RejectUnprocessed rejects all Updates that are waiting for a workflow task to be completed. This method should be called after all messages from worke
service/history/workflow/update/registry.go:60
↓ 8 callersMethodRemoteFrontendGRPCAddress
Use this to get an address for a remote cluster to connect to.
tests/testcore/onebox.go:280
↓ 8 callersMethodRemoveSignalMutableState
(ctx context.Context, request *historyservice.RemoveSignalMutableStateRequest)
service/history/interfaces/engine.go:46
↓ 8 callersMethodReplaceIntoActivityInfoMaps
ReplaceIntoActivityInfoMaps replace one or more into activity_info_maps table
common/persistence/sql/sqlplugin/history_activity.go:40
↓ 8 callersMethodReplaceIntoChildExecutionInfoMaps
DeleteFromChildExecutionInfoMaps replace one or more rows into child_execution_info_maps table
common/persistence/sql/sqlplugin/history_child_workflow.go:40
↓ 8 callersMethodReplaceIntoRequestCancelInfoMaps
ReplaceIntoRequestCancelInfoMaps replace one or more rows into request_cancel_info_maps table
common/persistence/sql/sqlplugin/history_request_cancel.go:40
↓ 8 callersMethodReplaceIntoSignalInfoMaps
ReplaceIntoSignalInfoMaps replace one or more rows into signal_info_maps table
common/persistence/sql/sqlplugin/history_signal.go:40
↓ 8 callersMethodReplaceIntoSignalsRequestedSets
ReplaceIntoSignalsRequestedSets replace one or more rows into signals_requested_sets table
common/persistence/sql/sqlplugin/history_signal_request.go:38
↓ 8 callersMethodReplaceIntoTimerInfoMaps
ReplaceIntoTimerInfoMaps replace one or more rows into timer_info_maps table
common/persistence/sql/sqlplugin/history_timer.go:40
↓ 8 callersMethodResolvePassword
ResolvePassword returns the database password, either from the static Password field or by executing PasswordCommand. If neither is set, it returns an
common/config/persistence.go:301
↓ 8 callersFunctionResourceExhaustedCauseTag
(cause enumspb.ResourceExhaustedCause)
common/metrics/tags.go:422
↓ 8 callersFunctionRolloutAccepts
RolloutAccepts reports whether key falls within the given percentage [0,100] using a stable hash, so dialing the percent up is monotonic: a key accept
common/dynamicconfig/rollout.go:18
↓ 8 callersFunctionServiceNameTag
(value primitives.ServiceName)
common/metrics/tags.go:430
↓ 8 callersMethodSetTaskID
(id int64)
service/history/tasks/task.go:24
↓ 8 callersMethodSetVisibilityTime
(timestamp time.Time)
service/history/tasks/task.go:25
↓ 8 callersMethodShardCount
ShardCount returns a channel that receives shard count updates.
service/history/shard/ownership_based_quota_scaler.go:36
↓ 8 callersMethodShouldResetActivityTimerTaskMask
(current, incoming *persistencespb.ActivityInfo)
service/history/interfaces/mutable_state.go:375
↓ 8 callersMethodStartDeploymentTransition
StartDeploymentTransition starts a transition to the given deployment which must be different from workflows effective deployment. Will fail if the wo
service/history/interfaces/mutable_state.go:402
↓ 8 callersFunctionStartExecution
Not needed for V1 func WithEagerLoading( paths []ComponentPath, ) OperationOption { panic("not implemented") } StartExecution creates a new executio
chasm/engine.go:207
↓ 8 callersFunctionStaticGradualChange
StaticGradualChange returns a GradualChange whose Value always returns def and whose When always returns a time in the past.
common/dynamicconfig/gradual_change.go:27
↓ 8 callersMethodStickyPartition
(stickyName string)
common/tqid/task_queue_id.go:268
↓ 8 callersMethodStop
()
service/history/replication/stream_receiver_monitor.go:30
↓ 8 callersMethodStringVariable
StringVariable adds a [StringVariable] component to the [Route].
common/routing/route.go:64
↓ 8 callersFunctionSubscribeGradualChange
SubscribeGradualChange is a helper that allows subscribing to a GradualChange[T] as if it was a T. It handles setting a timer for when the setting may
common/dynamicconfig/gradual_change.go:118
↓ 8 callersMethodSync
Sync updates the state of the current node to that of the incoming node. Meant to be used by the framework, **not** by components.
service/history/hsm/tree.go:541
↓ 8 callersMethodSystem
()
common/searchattribute/name_type_map.go:111
↓ 8 callersFunctionTargetClusterTag
TargetClusterTag returns a new target cluster tag.
common/metrics/tags.go:154
↓ 8 callersMethodTaskChannelKeyFn
()
service/history/queues/scheduler.go:48
↓ 8 callersFunctionTerminateWorkflow
TerminateWorkflow writes a WorkflowExecutionTerminated event. If a workflow task is currently started it is failed first, and then the terminate event
service/history/workflow/util.go:98
↓ 8 callersFunctionTime
(key string, value time.Time)
common/log/tag/zap_tag.go:218
↓ 8 callersMethodTrimHistoryBranch
TrimHistoryBranch validate & trim a history branch
common/persistence/data_interfaces.go:1170
↓ 8 callersMethodUnmarshal
Unmarshal an object of type ChasmNode from the protobuf v3 wire format
api/persistence/v1/chasm.go-helpers.pb.go:14
↓ 8 callersMethodUpdateActivity
* UpdateActivity function updates the existing pending activity via the updater callback. To update an activity, we need to do the following steps: *
service/history/workflow/mutable_state_impl.go:6917
↓ 8 callersMethodUpdateActivityProgress
(ai *persistencespb.ActivityInfo, request *workflowservice.RecordActivityTaskHeartbeatRequest)
service/history/interfaces/mutable_state.go:295
↓ 8 callersMethodUpload
(ctx context.Context, URI archiver.URI, fileName string, file []byte)
common/archiver/gcloud/connector/client.go:32
↓ 8 callersMethodUpsertClusterMembership
(ctx context.Context, row *ClusterMembershipRow)
common/persistence/sql/sqlplugin/cluster_metadata.go:62
↓ 8 callersFunctionValidateKey
(key Key)
service/history/tasks/key.go:44
↓ 8 callersMethodValidateSize
ValidateSize validate search attributes are valid for writing and not exceed limits. The search attributes must be unaliased before calling validation
common/searchattribute/validator.go:186
↓ 8 callersFunctionWithEnv
WithEnv sets the environment name for configuration loading (e.g., "development", "production"). If empty, defaults to "development".
common/config/loader.go:73
↓ 8 callersMethodWithTags
WithTags implements [metrics.Handler.WithTags].
common/metrics/metricstest/capture_handler.go:87
↓ 8 callersFunctionWrapTimeSourceWithTimeSkipping
WrapTimeSourceWithTimeSkipping returns a TimeSource that adds getOffset() to the base's Now()/Since() on every call. If getOffset is nil, the wrapper
common/clock/time_skipping_time_source.go:22
↓ 8 callersFunctionZero
Zero generates a zeroed logical clock for the cluster ID.
common/clock/hybrid_logical_clock/hybrid_logical_clock.go:30
↓ 8 callersFunctionaddActivityTaskScheduledEventWithRetry
( ms historyi.MutableState, workflowTaskCompletedID int64, activityID, activityType, taskQueue string, in
service/history/history_engine_test.go:6744
↓ 8 callersFunctionaddChildWorkflowExecutionStartedEvent
(ms historyi.MutableState, initiatedID int64, workflowID, runID string, workflowType string, clock *clockspb.
service/history/history_engine_test.go:6927
↓ 8 callersMethodassertMutableStateStatus
assertMutableStateStatus asserts that the mutable state for the given run matches the expected status.
tests/workflow_reset_test.go:444
↓ 8 callersMethodassertResetWorkflowLink
assertResetWorkflowLink asserts that the reset runID is properly recorded in the given run.
tests/workflow_reset_test.go:455
↓ 8 callersFunctionassertTerminalEventApplied
( t *testing.T, tcx testContext, key int64, op *nexusoperationpb.OperationState, expectedStatus nexusoper
chasm/lib/workflow/nexus_events_test.go:62
↓ 8 callersMethodbringLocalEventsUpToSourceCurrentBranch
this function does not handle reset case, so it should only be used for the case where workflow run is found at local cluster TODO: Future improvement
service/history/ndc/workflow_state_replicator.go:1113
↓ 8 callersMethodbuildTrailerPairs
buildTrailerPairs constructs the gRPC trailer key-value pairs from context metadata. It emits metadata in two formats: 1. Proto format: all entries s
common/rpc/interceptor/context_metadata_interceptor.go:106
↓ 8 callersMethodchasmSchedulerEnabled
chasmSchedulerEnabled returns true when schedule RPCs should route to CHASM first. Handlers must be capable of falling back to V1 codepaths for schedu
service/frontend/workflow_handler.go:3817
↓ 8 callersMethodcheckpoint
()
service/history/queues/queue_base.go:295
↓ 8 callersMethodclientForShardID
(int32)
client/history/redirector.go:20
↓ 8 callersMethodcloneSetN
(key string, n int)
common/testing/testvars/test_vars.go:118
↓ 8 callersMethodcloneSetVal
(key string, val any)
common/testing/testvars/test_vars.go:112
↓ 8 callersMethodclusterReplicationConfig
TODO (alex): this should be gone.
tests/xdc/base.go:67
↓ 8 callersFunctioncommitPriorWeight
commitPriorWeight returns a prior weight multiplier [0.0, 2.0] for a commit, based on its changed files relative to the test name. For now this only r
tools/flakereport/bisect.go:187
↓ 8 callersMethodcompareActivity
( version int64, attempt int32, stamp int32, lastHeartbeatTime time.Time, activityInfo *persistencespb.Ac
service/history/ndc/activity_state_replicator.go:331
↓ 8 callersMethodconcurrentPublishAndConsumeValidateBacklogCounter
Concurrent tests for testing approximateBacklogCounter
service/matching/matching_engine_test.go:3864
↓ 8 callersMethodconvertColName
(in sqlparser.Expr)
common/persistence/visibility/store/query/converter.go:469
↓ 8 callersMethodconvertComparisonExpr
(exprRef *sqlparser.Expr)
common/persistence/visibility/store/sql/query_converter_legacy.go:337
↓ 8 callersMethodconvertWhereExpr
(expr sqlparser.Expr)
common/persistence/visibility/store/query/converter.go:310
↓ 8 callersFunctioncreateMockNamespaceCache
(controller *gomock.Controller, nsName namespace.Name)
service/matching/matching_engine_test.go:142
↓ 8 callersFunctioncreatePolicy
(initialInterval time.Duration)
common/backoff/retrypolicy_test.go:326
↓ 8 callersMethodcreateSentUpdate
(tv *testvars.TestVars, wfContext historyi.WorkflowContext)
service/history/api/respondworkflowtaskcompleted/api_test.go:711
↓ 8 callersMethodcreateStartedWorkflow
(tv *testvars.TestVars)
service/history/api/respondworkflowtaskcompleted/api_test.go:662
↓ 8 callersMethoddescTree
persistence helper
common/persistence/persistence-tests/history_v2_persistence.go:708
↓ 8 callersMethoddeserializePageToken
(data []byte)
common/persistence/visibility/store/elasticsearch/visibility_store.go:895
↓ 8 callersFunctiondispatchUpdate
called with subscriptionLock
common/dynamicconfig/collection.go:479
↓ 8 callersFunctiondispatchUpdateWithConstrainedDefault
called with subscriptionLock
common/dynamicconfig/collection.go:523
↓ 8 callersFunctionditherPass
ditherPass spreads a new/reset key's starting pass deterministically over its initial stride [base, base+inc), based on a stable hash of the key. This
service/matching/fairness_util.go:39
↓ 8 callersFunctionengineFromContext
( ctx context.Context, )
chasm/engine.go:454
↓ 8 callersMethodextractVisibilityTaskKey
(request elastic.BulkableRequest)
common/persistence/visibility/store/elasticsearch/processor.go:307
↓ 8 callersFunctionfairLevelFromAllocatedTask
(t *persistencespb.AllocatedTaskInfo)
service/matching/fair_level.go:53
↓ 8 callersMethodfatalOnError
(msg string, err error)
common/persistence/persistence-tests/persistence_test_base.go:288
↓ 8 callersFunctionfile_temporal_server_api_history_v1_message_proto_rawDescGZIP
()
api/history/v1/message.pb.go:465
↓ 8 callersFunctionfile_temporal_server_api_persistence_v1_tasks_proto_rawDescGZIP
()
api/persistence/v1/tasks.pb.go:757
↓ 8 callersMethodfilterTask
( namespaceID namespace.ID, workflowID string, forceApply bool, )
service/history/replication/task_executor.go:362
↓ 8 callersMethodfindAndWakeMatches
call with lock held. Returns true if a match was found but blocked by rate limiting.
service/matching/matcher_data.go:517
↓ 8 callersFunctionfindMetricWithTag
findMetricWithTag searches captured metrics for a recording of the named metric that contains the specified tag key/value pair.
service/matching/handler_test.go:92
↓ 8 callersMethodfinishForward
finishForward must be called after forwarding a task.
service/matching/task.go:378
↓ 8 callersMethodgenerateValidCallbackToken
generateValidCallbackToken creates a valid callback token for testing with the given namespace, workflow, and run IDs
tests/nexus_workflow_test.go:2914
↓ 8 callersFunctiongetDispatchByNsAndTqURL
(address string, namespace string, taskQueue string)
tests/nexus_api_test.go:716
↓ 8 callersMethodgetEncodedPath
()
chasm/tree.go:2688
↓ 8 callersMethodgetGetTasksCount
getGetTasksCount returns how many times GetTasks was called
service/matching/matching_engine_test.go:5522
↓ 8 callersMethodgetHistoryTasksResponse
(size int)
service/history/replication/ack_manager_test.go:499
↓ 8 callersMethodgetLevels
()
service/matching/pri_task_reader.go:487
↓ 8 callersMethodgetMutableStateByID
getMutableStateByID resolves the current run ID of a workflow via DescribeWorkflowExecution and returns its persistence-layer mutable state.
tests/timeskipping_propagation_test.go:804
↓ 8 callersMethodgetOrCreateShardContext
getOrCreateShardContext returns a shard context for the given shard ID, creating a new one if necessary. If a shard context is created, it will initia
service/history/shard/controller_impl.go:230
↓ 8 callersMethodhandleRedirectAPIInvocation
( ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, methodName string,
common/rpc/interceptor/redirection.go:265
↓ 8 callersFunctionhasSharedStructure
(v reflect.Value, path string)
common/dynamicconfig/shared_structure.go:44
↓ 8 callersMethodinsertRedirectRule
insertRedirectRule replaces a new versioning redirect rule to the task queue user data. It checks the response and returns the conflict token.
tests/versioning_test.go:4531
↓ 8 callersMethodioSemaphoreAcquire
( ctx context.Context, )
service/history/shard/context_impl.go:1525
↓ 8 callersMethodioSemaphoreRelease
()
service/history/shard/context_impl.go:1547
↓ 8 callersFunctionisExcludedAPI
isExcludedAPI checks if an API is marked as a non-standard API via proto options.
common/rpc/interceptor/health_check.go:107
↓ 8 callersFunctionisFullyRamped
isFullyRamped returns true if the rule has a ramp percentage of 100 or a ramp of nil
service/matching/version_rule_helpers.go:486
↓ 8 callersMethodisStandaloneNexusOperationEnabled
isStandaloneNexusOperationEnabled checks if standalone Nexus operations are enabled for the given namespace.
chasm/lib/nexusoperation/frontend.go:323
↓ 8 callersFunctionjobIds
(jobs []*job)
service/worker/scheduler/buffer_test.go:23
↓ 8 callersFunctionlifecycle
Lifecycle returns tag for Lifecycle
common/log/tag/tags.go:383
↓ 8 callersFunctionlogBetaBinomial
logBetaBinomial returns the log marginal likelihood of observing k failures in n trials with a Beta(alpha, beta) prior on the failure probability. Wit
tools/flakereport/bisect.go:31
↓ 8 callersFunctionmakeSimpleLimiterParams
this is in the year 2225
service/matching/matcher_data.go:679
← previousnext →3,001–3,100 of 43,335, ranked by callers