MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 6 callersFunctionnewSignalWorkflowTest
(env *testcore.TestEnv, s *LinksSuite)
tests/links_test.go:758
↓ 6 callersMethodnewSyncTask
(fwdInfo *taskqueuespb.TaskForwardInfo)
service/matching/matcher_data_test.go:108
↓ 6 callersFunctionnewTaggedLogger
newTaggedLogger returns a logger tagged with the Scheduler's attributes.
chasm/lib/scheduler/util.go:35
↓ 6 callersMethodnewTaskQueueStatsContext
( usePriMatcher bool, behavior testcore.MatchingBehavior, extraOpts ...testcore.TestOption, )
tests/task_queue_stats_test.go:202
↓ 6 callersFunctionnewTestAckMgr
(logger log.Logger)
service/matching/ack_manager_test.go:227
↓ 6 callersFunctionnewTestContext
()
chasm/nexus_operation_processor_test.go:37
↓ 6 callersFunctionnewTestMocks
(t *testing.T)
common/nexus/endpoint_registry_test.go:350
↓ 6 callersFunctionnewTestSimulator
()
tools/fairsim/sim_test.go:13
↓ 6 callersFunctionnewTestTaskManager
(logger log.Logger)
service/matching/matching_engine_test.go:5134
↓ 6 callersMethodnewTestWorkflowMutation
( state enumsspb.WorkflowExecutionState, )
common/persistence/operation_mode_validator_test.go:388
↓ 6 callersFunctionnewUnsafeSQLString
(val string)
common/persistence/visibility/store/sql/query_converter_util_legacy.go:66
↓ 6 callersMethodnewValidator
( searchAttributesProvider Provider, searchAttributesMapperProvider MapperProvider, allowList bool, suppre
common/searchattribute/validator_test.go:48
↓ 6 callersMethodnotify
()
service/history/queues/reader.go:505
↓ 6 callersFunctionparseGoMod
(t *testing.T, content string)
cmd/tools/check-dependencies/main_test.go:16
↓ 6 callersMethodpersistenceStats
()
service/matching/matching_engine_test.go:5226
↓ 6 callersMethodpollFromDeployment
pollFromDeployment calls PollWorkflowTaskQueue to start deployment related workflows
tests/worker_deployment_version_test.go:98
↓ 6 callersMethodpollUpdate
(env *testcore.TestEnv, waitPolicy *updatepb.WaitPolicy)
tests/update_workflow_sdk_test.go:375
↓ 6 callersMethodpreValidateActive
preValidateActive track a task and return if validation should be done, if namespace is active
service/matching/task_validation.go:101
↓ 6 callersMethodpreValidatePassive
preValidatePassive track a task and return if validation should be done, if namespace is passive
service/matching/task_validation.go:125
↓ 6 callersFunctionprocessActivityOptionsRequest
( validator *api.CommandAttrValidator, mutableState historyi.MutableState, updateRequest *workflowservice.U
service/history/api/updateactivityoptions/api.go:122
↓ 6 callersMethodprocessMessages
( stream Stream, )
service/history/replication/stream_receiver.go:322
↓ 6 callersMethodprocessTaskAddHooks
(ctx context.Context, targetVersion *deploymentspb.WorkerDeploymentVersion, outcome syncMatchOutcome)
service/matching/task_queue_partition_manager.go:683
↓ 6 callersFunctionpropagateTimeSkippingToNextRun
propagateTimeSkippingToNextRun propagates both time skipping config and state to the next run in the chain (CaN, retry, cron). The config is deep-clon
service/history/workflow/timeskipping.go:15
↓ 6 callersMethodqueueKey
()
service/matching/backlog_manager.go:297
↓ 6 callersFunctionrateFn
(maxQPS dynamicconfig.IntPropertyFn)
common/persistence/visibility/quotas.go:39
↓ 6 callersFunctionreadFile
(path string)
common/auth/tls_config_helper_test.go:20
↓ 6 callersMethodrefresh
(mode refreshMode)
common/membership/ringpop/service_resolver.go:264
↓ 6 callersMethodrefreshTasksForTimer
( mutableState historyi.MutableState, minVersionedTransition *persistencespb.VersionedTransition, )
service/history/workflow/task_refresher.go:439
↓ 6 callersMethodremoveNexusOperation
removeNexusOperation removes a Nexus operation from the workflow.
chasm/lib/workflow/nexus_methods.go:37
↓ 6 callersMethodreportForwardedPerTaskQueueCounter
(opMetrics metrics.Handler, namespaceId namespace.ID)
service/matching/handler.go:683
↓ 6 callersFunctionrequireInvalidArgumentError
(t *testing.T, err error, operation string)
common/persistence/history_manager_test.go:125
↓ 6 callersMethodrollbackTaskQueueToVersion
rollbackTaskQueueToVersion simulates routing config lag by rolling back the task queue user data to an older version with revision number 0. This is u
tests/versioning_3_test.go:4358
↓ 6 callersMethodrotate
()
client/matching/partition_cache.go:131
↓ 6 callersFunctionrouteSystemCallbackRequest
routeSystemCallbackRequest routes a system callback request to the appropriate frontend client based on the callback token's namespace and active clus
components/callbacks/request.go:23
↓ 6 callersFunctionrunBackfillTestCase
(t *testing.T, env *testEnv, c *backfillTestCase)
chasm/lib/scheduler/backfiller_tasks_test.go:30
↓ 6 callersFunctionrunSentinelHandlerTestCase
runSentinelHandlerTestCase asserts that the given operation returns NotFound when invoked on a sentinel scheduler.
chasm/lib/scheduler/handler_test.go:22
↓ 6 callersMethodrunWithWorkflowType
(env *testcore.TestEnv, workflowType string)
tests/workflow_type_encoding_test.go:34
↓ 6 callersFunctionscalerBacklogAtLeast
(s testcore.Env, tv *testvars.TestVars, target int, parts ...int)
tests/partition_scaling_test.go:318
↓ 6 callersMethodsendUpdateAndWaitUntilStage
Update test utilities
tests/xdc/history_replication_signals_and_updates_test.go:676
↓ 6 callersMethodserializeWorkflowEventBatches
( _ context.Context, shardID int32, executionInfo *persistencespb.WorkflowExecutionInfo, eventBatches []*W
common/persistence/execution_manager.go:530
↓ 6 callersMethodsetContextMetadata
( ctx context.Context, chasmTree *chasm.Node, )
service/history/chasm_engine.go:112
↓ 6 callersMethodsetDrainageStatus
(version string, status enumspb.VersionDrainageStatus, routingUpdateTime *timestamppb.Timestamp)
service/worker/workerdeployment/workflow.go:1091
↓ 6 callersMethodsetRampingDeployment
( env *testcore.TestEnv, tv *testvars.TestVars, percentage float32, rampUnversioned bool, )
tests/versioning_3_test.go:4186
↓ 6 callersFunctionsetRequestDefaultValueAndGetTargetVersionHistory
( request *historyservice.GetWorkflowExecutionRawHistoryRequest, versionHistories *historyspb.VersionHistori
service/history/api/getworkflowexecutionrawhistory/api.go:190
↓ 6 callersMethodshardFromKey
(key string)
client/matching/partition_cache.go:90
↓ 6 callersFunctionsignalWorkflow
( ctx context.Context, shardContext historyi.ShardContext, workflowLease api.WorkflowLease, request *workf
service/history/api/signalwithstartworkflow/signal_with_start_workflow.go:275
↓ 6 callersFunctionsizeOfBlob
( blob *commonpb.DataBlob, )
common/persistence/size_util.go:7
↓ 6 callersMethodstartAndFinishWorkflow
( env *archivalTestEnv, id, wt, tq string, nsName namespace.Name, numActivities, numRuns int, )
tests/archival_test.go:410
↓ 6 callersMethodstartAndValidateWorkerDeployments
( env *VersioningTestEnv, request *workflowservice.ListWorkerDeploymentsRequest, expectedDeploymentSummarie
tests/worker_deployment_test.go:3588
↓ 6 callersMethodstartDeploymentPoller
(env *VersioningTestEnv, tv *testvars.TestVars)
tests/worker_deployment_test.go:88
↓ 6 callersFunctiontagsCacheKey
tagsCacheKey builds a compact string key from a tag slice for use as a map lookup key.
common/metrics/tally_metrics_handler.go:134
↓ 6 callersMethodtestGroupTLS
(f func(*config.RootTLS, *config.GroupTLS))
common/rpc/encryption/tls_config_test.go:100
↓ 6 callersMethodtransformServiceError
(err error, message string)
service/frontend/nexus_endpoint_client.go:415
↓ 6 callersMethodunloadTaskQueuePartition
Unloads the given task queue partition. If it has already been unloaded (i.e. it's not present in the loaded partitions map), then does nothing. parti
service/matching/matching_engine.go:2972
↓ 6 callersMethodupdateLastUpdateVersionedTransition
()
chasm/tree.go:1215
↓ 6 callersMethodupdateNamespaceClusters
( ns string, inClusterIndex int, clusters []*testcore.TestCluster, )
tests/xdc/base.go:324
↓ 6 callersMethodupdateWorkflowExecution
( ctx context.Context, wfContext historyi.WorkflowContext, createWorkflowTask bool, action func(historyi.M
service/history/transfer_queue_active_task_executor.go:1567
↓ 6 callersFunctionvalidate
(taskQueueName string, maxLength int, expectRootPartition bool)
common/tqid/task_queue_validator.go:136
↓ 6 callersFunctionvalidateAndNormalizeDeleteRequest
( req *workflowservice.DeleteActivityExecutionRequest, maxIDLengthLimit int, )
chasm/lib/activity/validator.go:449
↓ 6 callersFunctionvalidateTaskQueueStats
( a *require.Assertions, label string, stats *taskqueuepb.TaskQueueStats, expectation taskQueueExpectation
tests/task_queue_stats_test.go:1591
↓ 6 callersFunctionvalidateTaskToken
(taskToken *tokenspb.Task)
service/history/handler.go:2262
↓ 6 callersMethodverifyVersionHistory
( workflowID string, runID string, expectedVersionHistory *historyspb.VersionHistory, )
tests/ndc/ndc_test.go:2320
↓ 6 callersMethodwake
call with matcherData.lock held. w.matchResult must be nil (can't call wake twice). w must not be in queues anymore.
service/matching/matcher_data.go:625
↓ 6 callersMethodwarmUpSticky
Sticky queue needs to be created in server before tasks can schedule in it. Call to this method create the sticky queue by polling it.
tests/versioning_3_test.go:4975
↓ 5 callersMethodAddActivityInfo
()
service/history/workflow/activity_test.go:297
↓ 5 callersMethodAddExternalWorkflowExecutionCancelRequested
(int64, namespace.Name, namespace.ID, string, string)
service/history/interfaces/mutable_state.go:84
↓ 5 callersMethodAddExternalWorkflowExecutionSignaled
(int64, namespace.Name, namespace.ID, string, string, string)
service/history/interfaces/mutable_state.go:85
↓ 5 callersMethodAddRequestCancelExternalWorkflowExecutionFailedEvent
(int64, namespace.Name, namespace.ID, string, string, enumspb.CancelExternalWorkflowExecutionFailedCause)
service/history/interfaces/mutable_state.go:88
↓ 5 callersMethodAddUpsertWorkflowSearchAttributesEvent
(int64, *commandpb.UpsertWorkflowSearchAttributesCommandAttributes)
service/history/interfaces/mutable_state.go:99
↓ 5 callersMethodAddWorkflowExecutionTimeSkippingTransitionedEvent
( ctx context.Context, targetTime time.Time, disabledAfterFastForward bool)
service/history/interfaces/mutable_state.go:424
↓ 5 callersMethodAdmit
Admit returns true iff currentCluster appears in the task's replication config cluster list.
common/namespace/nsreplication/replication_admitter.go:27
↓ 5 callersMethodAll
()
common/searchattribute/name_type_map.go:127
↓ 5 callersFunctionAllMatchingBehaviors
AllMatchingBehaviors returns all 8 combinations of matching behaviors for testing.
tests/testcore/matching_behavior.go:77
↓ 5 callersMethodApplyTransientWorkflowTaskScheduled
()
service/history/interfaces/mutable_state.go:270
↓ 5 callersMethodApplyWorkflowExecutionStartedEvent
(*clockspb.VectorClock, *commonpb.WorkflowExecution, string, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:279
↓ 5 callersMethodApplyWorkflowTaskScheduledEvent
(int64, int64, *taskqueuepb.TaskQueue, *durationpb.Duration, int32, *timestamppb.Timestamp, *timestamppb.Times
service/history/interfaces/mutable_state.go:256
↓ 5 callersMethodApplyWorkflowTaskStartedEvent
(*WorkflowTaskInfo, int64, int64, int64, string, time.Time, bool, int64, *commonpb.WorkerVersionStamp, int64,
service/history/interfaces/mutable_state.go:257
↓ 5 callersFunctionArchetypeIDFromExecutionInfo
( executionInfo *workflowpb.WorkflowExecutionInfo, )
service/worker/common/chasm_util.go:14
↓ 5 callersMethodAssertNotFired
AssertNotFired asserts that the callback was not triggered.
common/clock/event_time_source_test.go:37
↓ 5 callersMethodAssertOwnership
(ctx context.Context)
service/history/interfaces/shard_context.go:61
↓ 5 callersMethodAttachRequestID
( requestID string, eventType enumspb.EventType, eventID int64, )
service/history/workflow/mutable_state_impl.go:2572
↓ 5 callersMethodAvailableMemberCount
AvailableMemberCount returns the number of hosts running this service that are accepting requests (not draining).
common/membership/interfaces.go:84
↓ 5 callersMethodAverageLatency
()
common/rpc/interceptor/health_check.go:40
↓ 5 callersMethodAwaitTruef
AwaitTruef is like [AwaitTrue] but includes a format string appended to the failure message.
common/testing/parallelsuite/suite.go:128
↓ 5 callersMethodBaseURL
BaseURL is the scheme and address of this HTTP client.
common/rpc.go:33
↓ 5 callersFunctionBuildCLIOptions
BuildCLIOptions builds the options for cli
tools/sql/main.go:32
↓ 5 callersMethodCancelOutstandingPoll
(ctx context.Context, request *matchingservice.CancelOutstandingPollRequest)
service/matching/matching_engine_interfaces.go:21
↓ 5 callersMethodChan
()
common/tasks/weighted_channel.go:36
↓ 5 callersMethodChasmEnabled
()
service/history/interfaces/mutable_state.go:361
↓ 5 callersMethodChasmSignalBacklinksEnabled
ChasmSignalBacklinksEnabled returns true if CHASM-based signal requestID backlink tracking is enabled.
service/history/workflow/mutable_state_impl.go:696
↓ 5 callersMethodChasmWorkflowComponentReadOnly
ChasmWorkflowComponentReadOnly gets the root workflow component from the CHASM tree. Returns both the workflow component and a read-only CHASM context
service/history/workflow/mutable_state_impl.go:734
↓ 5 callersMethodClear
()
service/history/workflow/context.go:101
↓ 5 callersFunctionClearActivityStartedState
ClearActivityStartedState resets the per-attempt "started" fields on an ActivityInfo. Called when an activity leaves the started state (retry, pause,
service/history/workflow/activity.go:75
↓ 5 callersMethodCompareState
CompareState compares two state objects. It should return 0 if the states are equal, a positive number if the first state is considered newer, a negat
service/history/hsm/tree.go:60
↓ 5 callersMethodComponent
Component retrieves a component from the tree rooted at node n using the provided component reference It also performs access rule, and task validatio
chasm/tree.go:424
↓ 5 callersMethodComponentFor
(componentInstance any)
chasm/export_test.go:16
↓ 5 callersMethodConfig
()
common/persistence/persistence-tests/persistence_test_base.go:114
↓ 5 callersMethodControlQueueName
ControlQueueName returns the Nexus task queue name used to deliver control tasks to this worker.
common/testing/testvars/test_vars.go:402
↓ 5 callersFunctionCopyVersionHistories
Copy VersionHistories.
common/persistence/versionhistory/version_histories.go:21
↓ 5 callersMethodCountTaskQueuesByBuildId
(ctx context.Context, request *CountTaskQueuesByBuildIdRequest)
common/persistence/data_interfaces.go:1211
← previousnext →4,001–4,100 of 43,335, ranked by callers