MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 11,253 callersMethodEqual
(VisibilityValue)
chasm/visibility_value.go:15
↓ 11,033 callersMethodNoError
NoError asserts that err is nil. Deprecated: use require.NoError with the parent test or suite instead. TODO: remove once all tests are migrated to T
tests/testcore/test_env.go:415
↓ 7,181 callersMethodString
()
common/archiver/uri.go:16
↓ 5,423 callersMethodAny
----------- Generic methods ------------
common/testing/testvars/test_vars.go:442
↓ 5,109 callersMethodNew
New will be called for a new root partition. It should return a new PartitionScaler (or nil to disable).
service/matching/partition_scaler_interface.go:15
↓ 4,723 callersMethodEXPECT
EXPECT returns a MetadataMockRecorder which can be used to set expectations on the mock.
common/archiver/metadata_mock.go:13
↓ 4,139 callersMethodHelper
()
common/testing/protoassert/assert.go:15
↓ 3,019 callersMethodT
T returns the *testing.T. Deprecated: use the suite's T() method instead.
tests/testcore/test_env.go:50
↓ 2,825 callersMethodError
(msg string, tags ...tag.Tag)
common/log/interface.go:22
↓ 2,688 callersMethodContext
()
tests/testcore/test_env.go:58
↓ 2,397 callersMethodNamespace
()
tests/testcore/test_env.go:51
↓ 2,203 callersMethodFrontendClient
()
tests/testcore/test_env.go:53
↓ 1,955 callersMethodCall
(r *VersionCheckRequest)
common/versioninfo/caller.go:23
↓ 1,855 callersMethodTv
()
tests/testcore/test_env.go:442
↓ 1,852 callersMethodRun
Run and handle errors, abort on context error.
common/tasks/task.go:13
↓ 1,165 callersMethodErrorf
Errorf records an error message for reporting on timeout.
common/testing/await/t.go:43
↓ 1,149 callersMethodRecord
Record updates the gauge value. Tags provided are merged with the source MetricsHandler
common/metrics/metrics.go:59
↓ 1,109 callersMethodGetRunId
()
tests/workflow_memo_test.go:35
↓ 1,072 callersMethodLen
Len return the size of the queue
common/collection/interface.go:15
↓ 1,054 callersMethodNow
Wall clock. Backed by a the shard's time source.
service/history/hsm/executor.go:49
↓ 1,053 callersFunctionError
Error returns tag for Error
common/log/tag/tags.go:37
↓ 995 callersMethodInt63
()
common/backoff/retrypolicy.go:332
↓ 931 callersMethodGetWorkflowId
()
common/rpc/interceptor/routing_key_extractor.go:57
↓ 898 callersMethodWith
(tags ...tag.Tag)
common/log/interface.go:39
↓ 876 callersMethodGet
( runID string, targetClusterID int32, )
service/history/replication/progress_cache.go:21
↓ 855 callersMethodAdd
Add task executable to the rescheduler.
service/history/queues/rescheduler.go:35
↓ 853 callersMethodInfo
(msg string, tags ...tag.Tag)
common/log/interface.go:20
↓ 839 callersMethodMarshal
()
common/checksum/crc.go:19
↓ 833 callersMethodSdkClient
SdkClient returns the SDK client. It is lazily initialized on the first call.
tests/testcore/test_env.go:479
↓ 830 callersMethodSize
Size returns current size of the Cache, the size definition is implementation of SizeGetter interface for the entry size, if the entry does not implem
common/cache/cache.go:35
↓ 769 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/interfaces/mutable_state_mock.go:70
↓ 719 callersMethodGetEventId
()
api/token/v1/message.pb.go:547
↓ 719 callersMethodRun
(*ReaderGroup)
service/history/queues/action.go:8
↓ 708 callersMethodName
()
chasm/library.go:28
↓ 688 callersMethodContains
Contains returns true if the key exist and false otherwise
common/collection/interface.go:33
↓ 686 callersMethodRequire
Deprecated: Require bypasses the guard mechanism. Use s.NoError, s.Equal, etc. directly.
common/testing/parallelsuite/testify.go:35
↓ 685 callersMethodGetExecutionInfo
()
service/history/interfaces/mutable_state.go:181
↓ 626 callersMethodGet
Get retrieves an element based on a key, returning nil if the element does not exist
common/cache/cache.go:15
↓ 621 callersFunctionRandomizeStr
TODO (alex): move this to functional_test_base.go as methods.
tests/testcore/utils.go:50
↓ 596 callersMethodNow
Now returns the current time in the context of the given component. In a context of a transaction, this time must be used to allow for framework suppo
chasm/context.go:26
↓ 550 callersMethodName
()
service/history/queues/action.go:7
↓ 510 callersMethodAdd
Add push an item to the queue
common/collection/interface.go:9
↓ 503 callersFunctionNewTestLogger
NewTestLogger returns a logger for tests Deprecated: Use testlogger.TestLogger instead.
common/log/zap_logger.go:60
↓ 500 callersFunctionEncodeString
(str string)
common/payloads/payloads.go:15
↓ 492 callersMethodTaskQueue
()
common/tqid/task_queue_id.go:44
↓ 480 callersMethodNow
()
common/clock/time_source.go:11
↓ 479 callersMethodGetNamespace
(name Name)
common/namespace/registry.go:22
↓ 461 callersMethodGetNamespaceId
()
common/rpc/interceptor/namespace.go:17
↓ 452 callersMethodGetRunID
()
service/history/tasks/task.go:18
↓ 444 callersMethodGetName
()
common/testing/generator_interface.go:49
↓ 431 callersMethodWorkflowID
WorkflowID returns the Workflow ID given as part of the request spec. During start generation, nominal time is suffixed to this ID.
chasm/lib/scheduler/scheduler.go:423
↓ 430 callersFunctionnewExecutionContext
()
common/persistence/sql/sqlplugin/tests/context.go:15
↓ 428 callersFunctionNewEnv
NewEnv creates a new test environment with access to a Temporal cluster.
tests/testcore/test_env.go:253
↓ 427 callersMethodUnlock
()
service/history/interfaces/workflow_context.go:32
↓ 421 callersMethodGet
(url string)
tools/tdbg/factory.go:31
↓ 420 callersFunctionWorkflowRunID
WorkflowRunID returns tag for WorkflowRunID TODO: Rename to RunID
common/log/tag/tags.go:126
↓ 419 callersMethodDone
Done exposes a channel that allows outside goroutines to block on this goroutine's completion. Whatever time passes between a call to Cancel() and the
common/goro/goro.go:51
↓ 418 callersMethodGetVersion
()
service/history/tasks/task.go:36
↓ 415 callersMethodLock
(ctx context.Context, lockPriority locks.Priority)
service/history/interfaces/workflow_context.go:31
↓ 411 callersMethodExecuteWorkflow
(ctx workflow.Context, in *interceptor.ExecuteWorkflowInput)
temporaltest/server_test.go:441
↓ 404 callersMethodKey
Key represents the key
common/cache/cache.go:92
↓ 394 callersMethodGetID
()
common/definition/resource_dedup.go:15
↓ 392 callersFunctionThrottleRetryContext
ThrottleRetryContext is a context and resource aware version of Retry. Context timeout/cancellation errors are never retried, regardless of IsRetryabl
common/backoff/retry.go:50
↓ 389 callersFunctionNewWorkflowKey
NewWorkflowKey create a new WorkflowKey
common/definition/workflow_key.go:17
↓ 385 callersMethodGetWorkflowExecution
(ctx context.Context, request *persistence.GetWorkflowExecutionRequest)
service/history/interfaces/shard_context.go:96
↓ 385 callersMethodSince
(t time.Time)
common/clock/time_source.go:12
↓ 375 callersMethodStartWorkflowExecution
(ctx context.Context, request *historyservice.StartWorkflowExecutionRequest)
service/history/interfaces/engine.go:28
↓ 369 callersFunctionNewCounterDef
(name string, opts ...Option)
common/metrics/defs.go:46
↓ 369 callersFunctionWithDynamicConfig
WithDynamicConfig overrides a dynamic config setting for the test. For settings that can be namespace-scoped, a namespace constraint is applied. For a
tests/testcore/test_env.go:240
↓ 362 callersMethodLen
Len returns the total number of task executables waiting to be rescheduled.
service/history/queues/rescheduler.go:43
↓ 357 callersMethodSleep
Sleep is a convenience function for waiting on a new timer.
common/clock/event_time_source.go:152
↓ 357 callersMethodWithTags
WithTags creates a new Handler with provided Tag list. Tags are merged with registered Tags from the source Handler.
common/metrics/metrics.go:23
↓ 355 callersMethodID
ID return the ID of the queue, as well as the tasks inside (same)
common/tasks/sequential_task_queue.go:8
↓ 345 callersMethodDescribeWorkflowExecution
(ctx context.Context, request *historyservice.DescribeWorkflowExecutionRequest)
service/history/interfaces/engine.go:33
↓ 340 callersMethodGetNamespaceByID
(id ID)
common/namespace/registry.go:24
↓ 339 callersFunctionWorkflowID
WorkflowID returns tag for WorkflowID TODO: Rename to BusinessID.
common/log/tag/tags.go:110
↓ 337 callersMethodErrorf
(format string, args ...any)
tests/testcore/shared_cluster_t.go:91
↓ 334 callersMethodExecute
(context.Context, Executable)
service/history/queues/executable.go:56
↓ 333 callersFunctionNewContext
NewContext creates a context with default timeout and RPC headers. NOTE: If you're using testcore.NewEnv, you can use env.Context() directly - it alr
tests/testcore/context.go:18
↓ 329 callersFunctionNewUUID
NewUUID generates a new random UUID
common/primitives/uuid.go:70
↓ 327 callersMethodUnlock
Unlock unlocks
common/locks/lock.go:9
↓ 318 callersMethodFatalf
(format string, args ...any)
common/testing/testlogger/testlogger.go:55
↓ 314 callersMethodLock
Lock locks
common/locks/lock.go:7
↓ 300 callersMethodGetBuildId
()
service/frontend/workflow_handler.go:6353
↓ 299 callersMethodDo
(ctx context.Context)
common/persistence/visibility/store/elasticsearch/client/bulk_service.go:9
↓ 295 callersMethodWarn
(msg string, tags ...tag.Tag)
common/log/interface.go:21
↓ 292 callersMethodPollAndProcessWorkflowTask
(funcs ...PollAndProcessWorkflowTaskOptionFunc)
tests/testcore/taskpoller.go:101
↓ 279 callersMethodDeploymentVersionString
DeploymentVersionString returns v31 string
common/testing/testvars/test_vars.go:271
↓ 279 callersFunctionOperationTag
(value string)
common/metrics/tags.go:438
↓ 274 callersMethodGetInfo
()
api/schedule/v1/message.pb.go:554
↓ 274 callersFunctionNewNoopLogger
NewNoopLogger return a noopLogger
common/log/noop_logger.go:12
↓ 269 callersMethodGetExecutionState
()
service/history/interfaces/mutable_state.go:182
↓ 269 callersFunctionNew
(testNamer testNamer)
common/testing/testvars/test_vars.go:39
↓ 265 callersMethodGetCurrentClusterName
GetCurrentClusterName return the current cluster name
common/cluster/metadata.go:54
↓ 265 callersMethodName
()
common/testing/testvars/test_vars.go:35
↓ 258 callersMethodGetNamespaceID
()
service/history/tasks/task.go:16
↓ 256 callersMethodGetHistory
(namespace string, execution *commonpb.WorkflowExecution)
tests/testcore/functional_test_base.go:653
↓ 253 callersMethodWorkerIdentity
()
common/testing/testvars/test_vars.go:393
↓ 253 callersMethodconvertError
convertError is a helper method to convert ShardOwnershipLostError from persistence layer returned by various HistoryEngine API calls to ShardOwnershi
service/history/handler.go:2239
↓ 248 callersMethodNamespaceID
()
tests/testcore/test_env.go:52
next →1–100 of 43,335, ranked by callers