MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 3 callersFunctionscalingGroupUpdatesToWCI
(updates map[string]*computepb.ComputeConfigScalingGroupUpdate)
service/worker/workerdeployment/compute_util.go:32
↓ 3 callersMethodscheduleTask
scheduleTask schedules a GeneratorTask at the given time.
chasm/lib/scheduler/generator.go:52
↓ 3 callersMethodschedulesInNamespace
schedulesInNamespace returns an iterator over the business IDs of every schedule matching query in the given namespace (scoped to the Scheduler archet
service/worker/scanner/scheduleinvariants/invariants.go:296
↓ 3 callersFunctionsearchAttributeKeyValuesToMap
(saSlice []SearchAttributeKeyValue)
chasm/tree.go:373
↓ 3 callersMethodsendAlertLocked
(alert *Alert)
service/history/queues/monitor.go:297
↓ 3 callersMethodsendEventLoop
(priority enumsspb.TaskPriority)
service/history/replication/stream_sender.go:216
↓ 3 callersFunctionsendUpdateNoErrorWaitPolicyAccepted
(s testcore.Env, tv *testvars.TestVars)
tests/update_workflow_utils.go:32
↓ 3 callersMethodserialize
(p proto.Message)
common/persistence/serialization/serializer.go:290
↓ 3 callersFunctionserializeTasks
( serializer serialization.Serializer, inputTasks map[tasks.Category][]tasks.Task, )
common/persistence/execution_manager.go:1304
↓ 3 callersFunctionserializeToken
(token any)
common/archiver/filestore/util.go:142
↓ 3 callersMethodsetActive
(ctx context.Context, clusterName string)
tests/xdc/history_replication_signals_and_updates_test.go:939
↓ 3 callersMethodsetMaxReadLevelForTesting
This is only exposed for testing!
service/matching/db.go:142
↓ 3 callersMethodsetNullableFields
setNullableFields sets fields that are nullable in API requests.
chasm/lib/scheduler/scheduler.go:206
↓ 3 callersMethodsetRamping
( env *testcore.TestEnv, tv *testvars.TestVars, percentage float32, )
tests/worker_deployment_version_test.go:1783
↓ 3 callersMethodsetRampingVersion
TODO (Shivam): We may have to wait for the propagation status to show completed if we are using async workflows here.
tests/task_queue_stats_test.go:1069
↓ 3 callersMethodsetState
(state *flowControlState, flowControlCommand enumsspb.ReplicationFlowControlCommand)
service/history/replication/stream_sender_flow_controller.go:73
↓ 3 callersFunctionsetupCustom
(t *testing.T, handler nexus.Handler, serializer nexus.Serializer, failureConverter nexusrpc.FailureConverter)
common/nexus/nexusrpc/setup_test.go:22
↓ 3 callersMethodsetupEnv
(opts ...testcore.TestOption)
tests/poller_scaling_test.go:38
↓ 3 callersMethodsetupMockForReadiness
(shardID int32, state *readinessMockState)
service/history/shard/controller_test.go:905
↓ 3 callersFunctionsetupTestInfra
setupTestInfra creates the common test infrastructure for scheduler tests.
chasm/lib/scheduler/helper_test.go:347
↓ 3 callersFunctionshallowCloneVersionSet
(set *persistencespb.CompatibleVersionSet)
service/matching/version_sets.go:134
↓ 3 callersFunctionshardupdate
Shardupdate returns tag for Shardupdate
common/log/tag/tags.go:408
↓ 3 callersFunctionshouldIncludeTransientOrSpeculativeTasks
shouldIncludeTransientOrSpeculativeTasks determines if transient/speculative events should be included. This function is called only when on the last
service/history/api/get_history_util.go:391
↓ 3 callersFunctionsign
(x T)
common/clock/hybrid_logical_clock/hybrid_logical_clock.go:34
↓ 3 callersMethodsignalExternalExecutionFailed
( ctx context.Context, task *tasks.SignalExecutionTask, wfContext historyi.WorkflowContext, targetNamespac
service/history/transfer_queue_active_task_executor.go:1532
↓ 3 callersMethodsignalIfFatal
signalIfFatal calls UnloadFromPartitionManager of the physicalTaskQueueManager if and only if the supplied error represents a fatal condition, e.g. th
service/matching/pri_backlog_manager.go:108
↓ 3 callersMethodsignalIfFatal
signalIfFatal calls UnloadFromPartitionManager of the physicalTaskQueueManager if and only if the supplied error represents a fatal condition, e.g. th
service/matching/fair_backlog_manager.go:95
↓ 3 callersMethodsignalPartitionScaler
signalPartitionScaler sends a signal to the partition scaler that a new task has arrived (directly from history, not forwarded).
service/matching/task_queue_partition_manager.go:433
↓ 3 callersMethodsignalWithStartWorkflow
signalWithStartWorkflow invokes the SignalWithStart handler using the System Nexus Endpoint, and NOT the typical frontend API directly. This is a newe
tests/links_test.go:825
↓ 3 callersFunctionsizeOfChasmNodeMap
sizeOfChasmNodeMap is a special case since the persistence interface separates a node's metadata and data fields.
common/persistence/size_util.go:43
↓ 3 callersFunctionsizeOfStringBlobMap
( kvBlob map[string]*commonpb.DataBlob, )
common/persistence/size_util.go:53
↓ 3 callersMethodskipFromVersion
(version DeploymentWorkflowVersion)
service/worker/workerdeployment/workflow_test.go:59
↓ 3 callersMethodslowestRuns
(limit int)
tools/ci-notify/types.go:94
↓ 3 callersMethodsortByStartTimeDescRunIDAsc
( visibilities []sqlplugin.VisibilityRow, )
common/persistence/sql/sqlplugin/tests/visibility.go:1330
↓ 3 callersFunctionsourceRoot
()
tests/mixedbrain/build_util.go:25
↓ 3 callersFunctionsplitHostPortTyped
splitHostPortTyped expands upon net.SplitHostPort by providing type parsing.
common/membership/ringpop/monitor.go:254
↓ 3 callersMethodstartAndCompleteWorkflow
startAndCompleteWorkflow starts a workflow and immediately completes it by responding to its first workflow task. Returns the run ID of the completed
tests/signal_with_start_from_workflow_test.go:150
↓ 3 callersMethodstartNew
startNew creates a new execution and registers it as the current run for the business ID.
chasm/chasmtest/test_engine.go:425
↓ 3 callersMethodstartTargetWorkflow
startTargetWorkflow starts a generic workflow.
tests/links_test.go:773
↓ 3 callersFunctionstartTestServiceServer
(s *suite.Suite, factory *TestFactory)
common/rpc/test/rpc_common_test.go:76
↓ 3 callersMethodstartWorkers
( count int, )
common/tasks/fifo_scheduler.go:141
↓ 3 callersMethodstartWorkflow
(env *testcore.TestEnv, workflowFn any)
tests/update_workflow_sdk_test.go:342
↓ 3 callersFunctionstartWorkflowExecution
( t *testing.T, ms *workflow.MutableStateImpl, nsEntry *namespace.Namespace, )
service/history/workflow/workflow_test/mutable_state_impl_test.go:152
↓ 3 callersMethodstopWorkerAndResetTimer
()
service/worker/pernamespaceworker.go:550
↓ 3 callersFunctionstripRunFromArgs
(args []string)
tools/testrunner/testrunner.go:451
↓ 3 callersMethodstructToMap
(strct any)
common/testing/historyrequire/history_require.go:420
↓ 3 callersMethodswallowPartialResultsError
( replicationTasks []*replicationspb.ReplicationTask, lastTaskID int64, err error, )
service/history/replication/ack_manager.go:367
↓ 3 callersMethodsystem
()
common/searchattribute/name_type_map.go:97
↓ 3 callersMethodtakeNextAction
takeNextAction increments the context's actionTaken counter, returning true if the action should be executed, and false if the task should instead yie
chasm/lib/scheduler/invoker_tasks.go:252
↓ 3 callersMethodtargetNamespaceEntryHelper
( targetNamespaceID namespace.ID, targetNamespaceName namespace.Name, // fallback if targetNamespaceID is no
service/history/transfer_queue_active_task_executor.go:1977
↓ 3 callersMethodtestChildWorkflowInheritanceExpectInherit
(crossTq bool, withOverride bool, parentRegistrationBehavior enumspb.VersioningBehavior)
tests/versioning_3_test.go:1893
↓ 3 callersMethodtestConcurrentRequestsResourceExhausted
( versions int, errChan chan error, apiName string, requestFn func(int) error, )
tests/worker_deployment_test.go:2322
↓ 3 callersMethodtestEventsReapplyNonCurrentBranch
(staleEventType enumspb.EventType)
tests/ndc/ndc_test.go:1416
↓ 3 callersMethodtestGetAuthorizerFromConfig
(name string, valid bool, authorizerType reflect.Type)
common/authorization/default_authorizer_test.go:168
↓ 3 callersMethodtestGetClaimMapperFromConfig
(name string, valid bool, cmType reflect.Type)
common/authorization/default_jwt_claim_mapper_test.go:308
↓ 3 callersFunctiontestMaskUnknownOrInternalErrors
(t *testing.T, st *status.Status, expectRelpace bool)
common/rpc/interceptor/mask_internal_error_test.go:31
↓ 3 callersMethodtestMigration
(env *testcore.TestEnv, newMatcher, fairness bool)
tests/priority_fairness_test.go:620
↓ 3 callersMethodtestOperatorPrioritized
(limiter quotas.RequestRateLimiter, api string)
service/frontend/configs/quotas_test.go:221
↓ 3 callersMethodtestPinnedCaNUseRampingVersionOnCaN
testPinnedCaNUseRampingVersionOnCaN tests that a Pinned workflow can ContinueAsNew to the ramping version using CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_US
tests/versioning_3_test.go:3114
↓ 3 callersMethodtestPinnedQueryDrainedVersion
(env *testcore.TestEnv, pollersPresent bool, rollback bool)
tests/versioning_3_test.go:384
↓ 3 callersMethodtestResetWorkflowRangeScheduleToStart
( env *testcore.TestEnv, workflowID string, workflowTypeName string, taskQueueName string, resetToEventID
tests/reset_workflow_test.go:862
↓ 3 callersMethodtestRetryNoBounceBack
Verifies that a retry run starts on the same version the first run executed on, even if the task-queue partition's user data is rolled back to an olde
tests/versioning_3_test.go:5780
↓ 3 callersMethodtestSetCompletionState
(completionState *historyi.QueryCompletionState)
service/history/workflow/query_test.go:179
↓ 3 callersMethodtestTaskDispatchLatencyMetric
(scenario func(s *testcore.TestEnv, expectedForwarded, expectedSource, expectedPartitionID string, forwardDela
tests/task_queue_test.go:975
↓ 3 callersMethodthrottleLog
()
common/dynamicconfig/collection.go:202
↓ 3 callersMethodtimeSinceLastPoll
()
service/matching/matcher.go:632
↓ 3 callersFunctiontoQueueType
(dlqType string)
tools/tdbg/dlq_service.go:133
↓ 3 callersFunctiontokenizeTextQueryString
Simple tokenizer by spaces. It's a temporary solution as it doesn't cover tokenizer used by PostgreSQL or SQLite.
common/persistence/visibility/store/sql/query_converter_util_legacy.go:124
↓ 3 callersMethodtrimHistoryNode
( ctx context.Context, shardID int32, namespaceID string, workflowID string, runID string, archetypeID c
common/persistence/execution_manager.go:1083
↓ 3 callersMethodtruncatePartialNamespace
()
common/persistence/persistence-tests/metadata_persistence_v2.go:94
↓ 3 callersMethodtryDeleteVersion
( env *VersioningTestEnv, tv *testvars.TestVars, expectedError string, )
tests/worker_deployment_test.go:3236
↓ 3 callersMethodtryEvictUntilEnoughSpaceWithSkipEntry
tryEvictUntilEnoughSpaceWithSkipEntry try to evict entries until there is enough space for the new entry without evicting the existing entry. the exis
common/cache/lru.go:399
↓ 3 callersMethodtryReschedule
tryReschedule attempts to reschedule the activity for retry. Returns true if rescheduled, false if retry is not possible.
chasm/lib/activity/activity.go:695
↓ 3 callersMethodunloadPhysicalQueue
(unloadedDbq physicalTaskQueueManager, unloadCause unloadCause)
service/matching/task_queue_partition_manager.go:1936
↓ 3 callersFunctionunpauseActivityInfo
(ai *persistencespb.ActivityInfo)
service/history/workflow/activity.go:398
↓ 3 callersMethodunregisterOutstandingPollContext
( pollerID string, namespaceID string, )
service/frontend/workflow_handler.go:6573
↓ 3 callersMethodunset
unset stops the timer.
service/matching/matcher_data.go:658
↓ 3 callersMethodupdateAckLevelAndBacklogStats
(subqueue subqueueIndex, newAckLevel int64, countDelta int64, oldestTime time.Time)
service/matching/db.go:334
↓ 3 callersFunctionupdateActivityInfos
( ctx context.Context, tx sqlplugin.Tx, activityInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]st
common/persistence/sql/execution_state_map.go:16
↓ 3 callersMethodupdateBacklogStatsLocked
(subqueue subqueueIndex, countDelta int64, oldestTime time.Time)
service/matching/db.go:412
↓ 3 callersFunctionupdateChasmNodes
( ctx context.Context, tx sqlplugin.Tx, chasmNodes map[string]persistence.InternalChasmNode, deleteIDs map
common/persistence/sql/execution_state_map.go:468
↓ 3 callersFunctionupdateChildExecutionInfos
( ctx context.Context, tx sqlplugin.Tx, childExecutionInfos map[int64]*commonpb.DataBlob, deleteIDs map[in
common/persistence/sql/execution_state_map.go:196
↓ 3 callersMethodupdateCloseTaskIDs
(executionInfo *persistencespb.WorkflowExecutionInfo, tasksByCategory map[tasks.Category][]tasks.Task)
service/history/shard/context_impl.go:652
↓ 3 callersMethodupdateConflictToken
updateConflictToken bumps the Scheduler's conflict token. This has a side effect of invalidating the local cache. Use whenever applying a mutation tha
chasm/lib/scheduler/scheduler.go:466
↓ 3 callersMethodupdateEntryRefCount
(entry *entryImpl)
common/cache/lru.go:438
↓ 3 callersFunctionupdateIndependentActivityBuildId
( ctx context.Context, task tasks.Task, buildId string, shardContext historyi.ShardContext, transactionPo
service/history/worker_versioning_util.go:22
↓ 3 callersMethodupdateMetadataBatch
( batch *gocql.Batch, notificationVersion int64, )
common/persistence/cassandra/metadata_store.go:470
↓ 3 callersMethodupdatePendingEventIDs
( scheduledIDToStartedID map[int64]int64, requestIDToEventID map[string]int64, )
service/history/workflow/mutable_state_impl.go:8564
↓ 3 callersMethodupdatePerKeySimpleRateLimitWithBurstLocked
UpdatePerKeySimpleRateLimit updates the per-key rate limit for the simpleRateLimit implementation UpdateTaskQueueConfig api is the single source for t
service/matching/ratelimit_manager.go:278
↓ 3 callersMethodupdateQuota
(namespace string, newQuota float64)
common/quotas/calculator/logged_calculator_test.go:116
↓ 3 callersFunctionupdateRequestCancelInfos
( ctx context.Context, tx sqlplugin.Tx, requestCancelInfos map[int64]*commonpb.DataBlob, deleteIDs map[int
common/persistence/sql/execution_state_map.go:286
↓ 3 callersFunctionupdateSignalInfos
( ctx context.Context, tx sqlplugin.Tx, signalInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]stru
common/persistence/sql/execution_state_map.go:377
↓ 3 callersFunctionupdateSignalsRequested
( ctx context.Context, tx sqlplugin.Tx, signalRequestedIDs map[string]struct{}, deleteIDs map[string]struc
common/persistence/sql/execution_state_non_map.go:15
↓ 3 callersFunctionupdateTimerInfos
( ctx context.Context, tx sqlplugin.Tx, timerInfos map[string]*commonpb.DataBlob, deleteIDs map[string]str
common/persistence/sql/execution_state_map.go:107
↓ 3 callersMethodupdateWithStartWorkerDeployment
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, updateRequest *updatepb
service/worker/workerdeployment/client.go:1461
↓ 3 callersMethodupdateWorkflow
( ctx context.Context, currentWorkflowLease api.WorkflowLease, )
service/history/api/multioperation/api.go:303
↓ 3 callersMethodupdateWorkflowWaitAccepted
(env *testcore.TestEnv, arg string)
tests/update_workflow_sdk_test.go:365
↓ 3 callersMethodupdateWorkflowWaitAdmitted
(env *testcore.TestEnv, arg string)
tests/update_workflow_sdk_test.go:351
↓ 3 callersFunctionupdateWorkflowWithStart
( ctx context.Context, historyClient historyservice.HistoryServiceClient, namespaceEntry *namespace.Namespa
service/worker/workerdeployment/util.go:256
↓ 3 callersFunctionutcDay
(t time.Time)
tools/flakereport/parser.go:195
← previousnext →6,601–6,700 of 43,335, ranked by callers