MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 4 callersFunctiononeTimeOverride
(deployment *deploymentpb.Deployment)
service/history/workflow/mutable_state_impl_test.go:937
↓ 4 callersMethodoverrideDynamicConfigForTest
overrideDynamicConfigForTest overrides a dynamic config value for the duration of the test.
tests/testcore/onebox.go:942
↓ 4 callersMethodpaginationFn
(_ []byte)
service/history/replication/task_processor.go:490
↓ 4 callersFunctionparseConnectConfig
(cli *cli.Context)
tools/sql/handler.go:117
↓ 4 callersFunctionparseInt32
( getter headers.HeaderGetter, metadataKey string, )
client/history/metadata.go:52
↓ 4 callersFunctionparseJSONArray
(str string, t enumspb.IndexedValueType)
common/searchattribute/stringify.go:179
↓ 4 callersFunctionparseJWT
(tokenString string, keyProvider TokenKeyProvider)
common/authorization/default_jwt_claim_mapper.go:149
↓ 4 callersMethodparseValueExpr
( expr sqlparser.Expr, saName string, saFieldName string, saType enumspb.IndexedValueType, )
common/persistence/visibility/store/query/converter.go:568
↓ 4 callersFunctionparseValueOrArray
(valStr string, t enumspb.IndexedValueType)
common/searchattribute/stringify.go:106
↓ 4 callersMethodpauseLocked
(duration time.Duration)
service/history/queues/reader.go:390
↓ 4 callersFunctionpemEncodeToBytes
(block *pem.Block)
tests/testutils/tls.go:178
↓ 4 callersMethodpickClientForWrite
pickClientForWrite mutates the given proto. Callers should copy the proto before if necessary.
client/matching/client.go:462
↓ 4 callersMethodpollAndCompleteUpdate
(updateId string)
tests/xdc/history_replication_signals_and_updates_test.go:741
↓ 4 callersMethodpollRealTime
(timeout time.Duration)
service/matching/matcher_data_test.go:59
↓ 4 callersMethodpollWorkflowTask
( env *testcore.TestEnv, tv *testvars.TestVars, )
tests/versioning_3_test.go:2312
↓ 4 callersMethodpreUpdateChecks
(ctx workflow.Context)
service/worker/workerdeployment/workflow.go:443
↓ 4 callersMethodpreUpdateChecks
(ctx workflow.Context)
service/worker/workerdeployment/version_workflow.go:972
↓ 4 callersFunctionprefixStrippedHTTPHeaderToNexusHeader
(httpHeader http.Header, prefix string)
common/nexus/nexusrpc/api.go:53
↓ 4 callersFunctionprettyPrint
pretty-print the public state of the proto.Message. we don't use prettyPrint the way testify does as the private state isn't worth comparing; it's all
common/testing/protoassert/pretty_print.go:16
↓ 4 callersFunctionprimaryTestName
primaryTestName returns a single representative test name for an alert. Preference order: 1) Fully-qualified test name containing ".Test" 2) First det
tools/testrunner/log.go:88
↓ 4 callersMethodprocessAdminTask
( ctx context.Context, batchOperation *batchspb.BatchOperationInput, task task, limiter quotas.RequestRate
service/worker/batcher/activities.go:734
↓ 4 callersMethodprocessTimeRange
( start, end time.Time, overlapPolicy enumspb.ScheduleOverlapPolicy, manual bool, limit *int, )
service/worker/scheduler/workflow.go:660
↓ 4 callersMethodprogress
TODO: Remove this implementation once transition history is fully implemented.
components/nexusoperations/statemachine.go:453
↓ 4 callersMethodqueryFakeTime
(duration time.Duration, respC chan<- taskResponse)
service/matching/matcher_data_test.go:96
↓ 4 callersMethodqueueKey
TODO(pri): old matcher cleanup: move here func rangeIDToTaskIDBlock(rangeID int64, rangeSize int64) taskIDBlock { return taskIDBlock{ start: (range
service/matching/pri_backlog_manager.go:399
↓ 4 callersMethodqueueKey
()
service/matching/fair_backlog_manager.go:397
↓ 4 callersMethodrandomTask
( taskID int64, )
common/persistence/tests/task_queue_task.go:271
↓ 4 callersMethodrateLimit
(f func())
common/log/throttle_logger.go:91
↓ 4 callersFunctionreadAndReplaceBody
readAndReplaceBody reads the response body in its entirety and closes it, and then replaces the original response body with an in-memory buffer. The b
common/nexus/nexusrpc/client.go:404
↓ 4 callersMethodreadHistory
(ctx context.Context, firstEventID int64)
common/archiver/history_iterator.go:195
↓ 4 callersMethodrecentActions
recentActions returns started/completed actions as ScheduleActionResults. This includes both running workflows (with status RUNNING) and completed wor
chasm/lib/scheduler/invoker.go:398
↓ 4 callersMethodreconnect
Close and reopen the underlying database connection
common/persistence/sql/sqlplugin/db_handle.go:72
↓ 4 callersMethodrecord
(name string, v any, unit metrics.MetricUnit, tags ...metrics.Tag)
common/metrics/metricstest/capture_handler.go:96
↓ 4 callersFunctionrecordCompletedPages
recordCompletedPages records stats for each page that is now fully done and advances the heartbeat resume point to the oldest page that is not yet don
service/worker/batcher/activities.go:122
↓ 4 callersMethodrecordFailedAttempt
recordFailedAttempt records any failures resulting from a tried attempt, including worker application failures and start-to-close timeouts. Since the
chasm/lib/activity/activity.go:670
↓ 4 callersMethodrefreshNamespaces
(ctx context.Context)
common/namespace/nsregistry/registry.go:556
↓ 4 callersMethodrefreshTasksForSubStateMachines
( mutableState historyi.MutableState, minVersionedTransition *persistencespb.VersionedTransition, )
service/history/workflow/task_refresher.go:642
↓ 4 callersMethodremover
remover is called when an Update gets into a terminal state (completed or rejected).
service/history/workflow/update/registry.go:372
↓ 4 callersFunctionreplaceInFile
replaceInFile replaces text in a file using sed-like patterns
cmd/tools/protogen/main.go:91
↓ 4 callersMethodreportAttemptErrors
(tb testing.TB)
common/testing/await/report.go:44
↓ 4 callersMethodrequestEagerStart
()
service/history/api/startworkflow/api.go:173
↓ 4 callersFunctionrequireConsistentLabelKeys
The scheduler task-lifecycle counters are emitted on two paths: "fired" (Validate=true, the task executed) and "invalidated" (Validate=false, with a R
chasm/lib/scheduler/metrics_consistency_test.go:35
↓ 4 callersMethodrequireNexusOperationError
requireNexusOperationError asserts that err is a WorkflowExecutionError with an inner NexusOperationError, and returns the inner NexusOperationError.
tests/nexus_workflow_update_test.go:233
↓ 4 callersMethodreschedule
()
service/history/queues/rescheduler.go:208
↓ 4 callersMethodresetBacklogCounter
(numWorkers int, taskCount int, rangeSize int)
service/matching/matching_engine_test.go:3760
↓ 4 callersFunctionresetExcludedAPIs
resetExcludedAPIs resets the package-level sync.Once and map so each test starts fresh.
common/rpc/interceptor/health_check_test.go:14
↓ 4 callersMethodresetMatcherState
resetMatcherState must be called before adding or re-adding a backlog task to priMatcher.
service/matching/task.go:341
↓ 4 callersMethodresetWorkflow
( ctx context.Context, now time.Time, baseLastEventID int64, baseLastEventVersion int64, incomi
service/history/ndc/resetter.go:26
↓ 4 callersMethodresolveUnsuccessfully
resolveUnsuccessfully finalizes the operation. When fromAttempt is true, the failure is recorded as LastAttemptFailure. Otherwise the failure is recor
chasm/lib/nexusoperation/operation.go:374
↓ 4 callersFunctionrunAndTestServer
(t *testing.T)
temporal/server_test.go:71
↓ 4 callersMethodrunNexusCompletionHTTPServer
(h *completionHandler)
tests/callbacks_migration_test.go:44
↓ 4 callersMethodrunOverdueScan
runOverdueScan lists individual matching schedules per namespace, calls DescribeSchedule on each, and filters out schedules that are paused or expecte
service/worker/scanner/scheduleinvariants/invariants.go:200
↓ 4 callersMethodrunTaskQueueRateLimitTest
(nPartitions, nWorkers int, timeToDrain time.Duration, useNewMatching bool)
tests/task_queue_test.go:69
↓ 4 callersFunctionscalerCountPolls
(tv *testvars.TestVars, capture *testcore.NamespaceMetricCapture)
tests/partition_scaling_test.go:361
↓ 4 callersFunctionscalerGetBacklog
(s testcore.Env, tv *testvars.TestVars, part int)
tests/partition_scaling_test.go:295
↓ 4 callersFunctionscheduleActivityCmd
scheduleActivityCmd returns a ScheduleActivityTask command that uses tv for all names / queue / timeout values.
tests/timeskipping_test.go:387
↓ 4 callersMethodsendPartitionCountTrailer
(ctx context.Context)
service/matching/task_queue_partition_manager.go:451
↓ 4 callersMethodsendToStream
(payload *historyservice.StreamWorkflowReplicationMessagesResponse)
service/history/replication/stream_sender.go:663
↓ 4 callersFunctionserializeMemo
(memo *commonpb.Memo)
common/persistence/visibility/visibility_manager_impl.go:530
↓ 4 callersFunctionserializeToken
(token any)
common/archiver/gcloud/util.go:89
↓ 4 callersMethodserializeToken
( pagingToken *historyPagingToken, reverseOrder bool, )
common/persistence/history_manager.go:1118
↓ 4 callersMethodsetCompletionState
(*historyi.QueryCompletionState)
service/history/workflow/query.go:31
↓ 4 callersMethodsetContextMetadataFromMutableState
( ctx context.Context, mutableState historyi.MutableState, )
service/history/chasm_engine.go:163
↓ 4 callersMethodsetCurrentVersionUnversionedOption
( env *VersioningTestEnv, tv *testvars.TestVars, unversioned, ignoreMissingTaskQueues, allowNoPollers, ensu
tests/worker_deployment_test.go:3407
↓ 4 callersMethodsetState
setState updates the current scale state and syncs it to ephemeral data. This should only be called _after_ the state is persisted to the db. Called f
service/matching/scale_manager.go:286
↓ 4 callersMethodsetTaskKeys
( taskMaps ...map[tasks.Category][]tasks.Task, )
service/history/shard/task_key_generator.go:52
↓ 4 callersMethodsetUserDataLocked
(userData *persistencespb.VersionedTaskQueueUserData)
service/matching/user_data_manager.go:211
↓ 4 callersMethodsetupMocksForReadiness
()
service/history/shard/controller_test.go:878
↓ 4 callersFunctionshardLookup
(resolver membership.ServiceResolver, shardID int32)
client/history/redirector.go:30
↓ 4 callersMethodshouldFailTest
(level Level, msg string, tags []tag.Tag)
common/testing/testlogger/testlogger.go:363
↓ 4 callersMethodshouldInvalidateCheckum
()
service/history/workflow/mutable_state_impl.go:9052
↓ 4 callersMethodshouldProcessTask
(ctx context.Context, task *replicationspb.NamespaceTaskAttributes)
common/namespace/nsreplication/replication_task_executor.go:119
↓ 4 callersMethodshouldRetryWorkerDeploymentRPC
(env *testcore.TestEnv, err error, retryableMessages ...string)
tests/versioning_3_test.go:4237
↓ 4 callersMethodsignalWorkflow
(ctx context.Context, targetWorkflowID, requestID string)
tests/links_test.go:798
↓ 4 callersFunctionsizeOfInt64Set
( int64Set map[int64]struct{}, )
common/persistence/size_util.go:13
↓ 4 callersMethodskipBeforeVersion
(version DeploymentWorkflowVersion)
service/worker/workerdeployment/version_workflow_test.go:2424
↓ 4 callersFunctionsnapshotToCompletionMetric
( namespaceState string, workflowSnapshot *persistence.WorkflowSnapshot, isWorkflow bool, )
service/history/workflow/transaction_impl.go:741
↓ 4 callersMethodsortByCloseTimeDescRunIDAsc
( visibilities []sqlplugin.VisibilityRow, )
common/persistence/sql/sqlplugin/tests/visibility.go:1356
↓ 4 callersMethodsplitByRange
(key tasks.Key)
service/history/queues/slice.go:107
↓ 4 callersMethodstartSkippingWorkflow
startSkippingWorkflow starts a workflow on the active cluster (cluster[0]) with the given TimeSkippingConfig and optional WorkflowStartDelay. Returns
tests/xdc/timeskipping_replication_test.go:113
↓ 4 callersMethodstartTargetWorkflowWithWorkflowID
startTargetWorkflowWithWorkflowID starts a workflow using the supplied Workflow ID.
tests/links_test.go:780
↓ 4 callersMethodstartTaskProcessor
( ctx context.Context, batchOperation *batchspb.BatchOperationInput, namespace string, taskCh chan task,
service/worker/batcher/activities.go:446
↓ 4 callersMethodstartWorkflowWithTimeSkipping
startWorkflowWithTimeSkipping starts a workflow with time-skipping enabled and a caller-specified run timeout. Used by tests that need the run timeout
tests/timeskipping_test.go:370
↓ 4 callersFunctionstatusOfInternalWorkflowSnapshot
( snapshot *InternalWorkflowSnapshot, historyStatistics *HistoryStatistics, )
common/persistence/size.go:230
↓ 4 callersMethodstopWorkerLocked
()
service/worker/pernamespaceworker.go:567
↓ 4 callersMethodsubmit
( executable Executable, )
service/history/queues/reader.go:512
↓ 4 callersMethodsyncTaskQueuesAsync
syncTaskQueuesAsync must be called within the lock. It first increments the version revision number and then starts async propagation of version data
service/worker/workerdeployment/version_workflow.go:1312
↓ 4 callersMethodsyncUnversionedRamp
syncUnversionedRamp should not be called in async mode
service/worker/workerdeployment/workflow.go:1619
↓ 4 callersMethodtaggedMetricsHandler
()
service/matching/task_reader.go:296
↓ 4 callersFunctiontaskTimeoutContext
taskTimeoutContext derives a context bounded by defaultTaskTimeout for processing a single task. If the parent context already has a deadline that is
service/worker/batcher/activities.go:439
↓ 4 callersFunctiontelemetryOverrideOperationTag
telemetryOverrideOperationTag is used to override scope used for reporting a metric. Ideally this method should never be used.
common/rpc/interceptor/telemetry.go:153
↓ 4 callersFunctiontestDialer
(t *testing.T, target string, dial func(rpcFactory *nettest.RPCFactory) *grpc.ClientConn)
common/testing/nettest/rpc_factory_test.go:62
↓ 4 callersMethodtestDoubleTransition
(unversionedSrc bool, signal bool)
tests/versioning_3_test.go:1353
↓ 4 callersMethodtestDynamicRootCA
(host string, frontend bool)
common/rpc/test/rpc_localstore_tls_test.go:569
↓ 4 callersMethodtestDynamicServerTLS
(host string, frontend bool)
common/rpc/test/rpc_localstore_tls_test.go:513
↓ 4 callersMethodtestIndependentActivity
(behavior enumspb.VersioningBehavior, unversionedActivity bool)
tests/versioning_3_test.go:1811
↓ 4 callersFunctiontestInvalid
(t *testing.T, value Role)
common/authorization/roles_test.go:36
↓ 4 callersMethodtestSkipExpiredTasks
testSkipExpiredTasks verifies that the task reader correctly skips over expired tasks in the DB and advances the ack level past them.
service/matching/backlog_manager_test.go:512
↓ 4 callersMethodtestTransitionFromWft
(sticky bool, toUnversioned bool)
tests/versioning_3_test.go:1257
↓ 4 callersMethodtestWorkflowRetry
(behavior workflow.VersioningBehavior, expectInherit, retryOfChild, retryOfCaN bool)
tests/versioning_3_test.go:963
← previousnext →5,401–5,500 of 43,335, ranked by callers