Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 2 callers
Function
testCapture
(panicObj any)
common/log/panic_test.go:20
↓ 2 callers
Method
testChannelSize
( channel chan struct{}, )
common/locks/condition_variable_test.go:52
↓ 2 callers
Method
testChildWorkflowInheritanceExpectNoInherit
(crossTq bool, parentBehavior enumspb.VersioningBehavior)
tests/versioning_3_test.go:2025
↓ 2 callers
Function
testCreateScheduleDuplicateSdkError
CreateSchedule is special-cased in the SDKs to translate serviceerror.WorkflowExecutionAlreadyStarted into temporal.ErrScheduleAlreadyRunning. This te
tests/schedule_test.go:2458
↓ 2 callers
Method
testFailAddTaskWithHistoryError
( tqName string, expectSyncMatch bool, recordError error, expectedError error, )
service/matching/matching_engine_test.go:490
↓ 2 callers
Method
testListResultForUpsertSearchAttributes
(env *testcore.TestEnv, listRequest *workflowservice.ListWorkflowExecutionsRequest)
tests/advanced_visibility_test.go:1531
↓ 2 callers
Method
testListWorkflowHelper
( env *testcore.TestEnv, numOfWorkflows, pageSize int, startRequest *workflowservice.StartWorkflowExecution
tests/advanced_visibility_test.go:796
↓ 2 callers
Function
testMapBaggage
roughly 1.7s/7.5s for mutex/sync baggageCount := 1000 threadCount := 20 updatesPerThread := 1000
common/metrics/baggage_bench_test.go:92
↓ 2 callers
Function
testNoopRequestRateLimiterImpl
(t *testing.T, rl quotas.RequestRateLimiter)
common/quotas/noop_request_rate_limiter_impl_test.go:18
↓ 2 callers
Method
testPollerScalingOnPromotedVersionConsidersUnversionedQueueBacklog
( expectedStatus enumspb.WorkerDeploymentVersionStatus, promoteDeploymentVersion func(env *testcore.TestEnv,
tests/poller_scaling_test.go:236
↓ 2 callers
Method
testQueryWithPinnedOverride
(env *testcore.TestEnv, sticky bool)
tests/versioning_3_test.go:466
↓ 2 callers
Method
testRemoteSyncMatch
(taskSource enumsspb.TaskSource)
service/matching/matcher_test.go:140
↓ 2 callers
Function
testResetWithAdditionalCallback
(t *testing.T, newContext contextFactory, enableCHASMCallbacks bool)
tests/schedule_test.go:1932
↓ 2 callers
Method
testResetWorkflowSignalReapplyBuffer
( env *testcore.TestEnv, tv *testvars.TestVars, reapplyType enumspb.ResetReapplyType, )
tests/reset_workflow_test.go:729
↓ 2 callers
Function
testRoundTrip
(t *testing.T, address string)
chasm/interceptor_test.go:74
↓ 2 callers
Function
testScheduledWorkflowDoubleReset
(t *testing.T, newContext contextFactory, enableCHASMCallbacks bool)
tests/schedule_test.go:1775
↓ 2 callers
Method
testServerTLSRefresh
(factory *TestFactory, ca *tls.Certificate, certDir string, serialNumber int64)
common/rpc/test/rpc_localstore_tls_test.go:608
↓ 2 callers
Method
testTokenGenerator
(alg keyAlgorithm)
common/authorization/default_jwt_claim_mapper_test.go:83
↓ 2 callers
Method
testTokenWithAdminPermissions
(alg keyAlgorithm)
common/authorization/default_jwt_claim_mapper_test.go:122
↓ 2 callers
Method
testTokenWithReaderWriterWorkerPermissions
(alg keyAlgorithm)
common/authorization/default_jwt_claim_mapper_test.go:169
↓ 2 callers
Method
testTransitionDuringTransientTask
TestTransitionDuringTransientTask verifies that a deployment version transition to v1 is properly set when a workflow task fails and is retried, and t
tests/versioning_3_test.go:6351
↓ 2 callers
Method
testTransitionFromActivity
(sticky bool)
tests/versioning_3_test.go:1620
↓ 2 callers
Method
testUnpinnedQuery
(env *testcore.TestEnv, sticky bool)
tests/versioning_3_test.go:515
↓ 2 callers
Method
testUnpinnedWorkflow
(env *testcore.TestEnv, sticky bool)
tests/versioning_3_test.go:636
↓ 2 callers
Method
testUnpinnedWorkflowWithRamp
(env *testcore.TestEnv, toUnversioned bool)
tests/versioning_3_test.go:1144
↓ 2 callers
Method
testWorkflowTaskRedirectInRetry
( env *testcore.TestEnv, firstTask bool, )
tests/versioning_test.go:1345
↓ 2 callers
Method
testWorkflowWithPinnedOverride
(env *testcore.TestEnv, sticky bool)
tests/versioning_3_test.go:299
↓ 2 callers
Function
testingTParamName
testingTParamName returns the name of the *testing.T parameter, or "" if not found.
tools/parallelize/parallelize.go:134
↓ 2 callers
Method
toArchivalRegisterEvent
( state enumspb.ArchivalState, URI string, defaultState enumspb.ArchivalState, defaultURI string, )
service/frontend/namespace_handler.go:1007
↓ 2 callers
Method
toArchivalUpdateEvent
( state enumspb.ArchivalState, URI string, defaultURI string, )
service/frontend/namespace_handler.go:1028
↓ 2 callers
Function
toStr
(t *testing.T, v attribute.Value)
common/telemetry/grpc_test.go:114
↓ 2 callers
Method
toWorkflowMutableState
(internState *InternalWorkflowMutableState)
common/persistence/execution_manager.go:1144
↓ 2 callers
Function
topLevelTestName
topLevelTestName extracts the suite/top-level test name from a test name. For "TestSuiteV0/TestMethod" returns "TestSuiteV0". For "TestFoo" (no slash)
tools/flakereport/parser.go:52
↓ 2 callers
Method
trackAuthInfoByCall
(env *testcore.TestEnv)
tests/tls_test.go:78
↓ 2 callers
Method
transitionTasks
transitionTasks returns tasks that are emitted as transition outputs.
components/nexusoperations/statemachine.go:129
↓ 2 callers
Function
trimNodes
( nodeIDToNodes map[int64][]historyNodeMetadata, nodeChain []historyNodeMetadata, )
common/persistence/history_node_util.go:115
↓ 2 callers
Method
truncateRetryableActivityFailure
( activityFailure *failurepb.Failure, )
service/history/workflow/mutable_state_impl.go:7115
↓ 2 callers
Method
tryDeleteNextBatch
(ackLevel int64, ignoreTimeCond bool)
service/matching/task_gc.go:58
↓ 2 callers
Method
tryDeleteTaskQueue
(key *p.TaskQueueKey, state *taskQueueState)
service/worker/scanner/taskqueue/handler.go:80
↓ 2 callers
Method
tryDeleteVersion
(ctx workflow.Context)
service/worker/workerdeployment/workflow.go:1520
↓ 2 callers
Method
tryEnqueue
( ctx context.Context, queueType persistence.QueueType, messageID int64, blob *commonpb.DataBlob, )
common/persistence/cassandra/queue_store.go:89
↓ 2 callers
Function
unmanagedFieldsOf
unmanagedFieldsOf yields all non-CHASM managed fields of a struct.
chasm/fields_iterator.go:104
↓ 2 callers
Function
unmarshalProtoByTypeName
unmarshalProtoByTypeName resolves a proto type by its full name from the global registry and unmarshals the given bytes into it.
tools/tdbg/proto_decoder.go:120
↓ 2 callers
Method
unmatched
()
common/testing/objectleak/pattern.go:66
↓ 2 callers
Method
unsetCurrentDeployment
(env *testcore.TestEnv, tv *testvars.TestVars)
tests/versioning_3_test.go:4164
↓ 2 callers
Method
unversionedPollActivityAndHandle
( env *testcore.TestEnv, tv *testvars.TestVars, async chan<- struct{}, handler func(task *workflowservice.
tests/versioning_3_test.go:4808
↓ 2 callers
Method
updateAckLevel
( ctx context.Context, metadata *persistence.InternalQueueMetadata, queueType persistence.QueueType, )
common/persistence/cassandra/queue_store.go:307
↓ 2 callers
Method
updateAckLevelWithRetry
( ctx context.Context, lastProcessedMessageID int64, clusterName string, isDLQ bool, )
common/persistence/namespace_replication_queue.go:164
↓ 2 callers
Method
updateActivityInfoForRetries
( ai *persistencespb.ActivityInfo, nextScheduledTime time.Time, nextAttempt int32, activityFailure *failur
service/history/workflow/mutable_state_impl.go:6888
↓ 2 callers
Function
updateActivityInfos
( batch *gocql.Batch, activityInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]struct{}, shardID in
common/persistence/cassandra/util.go:610
↓ 2 callers
Function
updateActivityOptions
( ms historyi.MutableState, ai *persistencespb.ActivityInfo, activityOptions *activitypb.ActivityOptions, )
service/history/api/updateactivityoptions/api.go:361
↓ 2 callers
Function
updateChasmNodes
( batch *gocql.Batch, upsertNodes map[string]p.InternalChasmNode, deleteNodes map[string]struct{}, shardID
common/persistence/cassandra/util.go:982
↓ 2 callers
Function
updateChildExecutionInfos
( batch *gocql.Batch, childExecutionInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]struct{}, shar
common/persistence/cassandra/util.go:758
↓ 2 callers
Method
updateComponentInExecution
( ctx context.Context, execution *execution, ref chasm.ComponentRef, updateFn func(chasm.MutableContext, c
chasm/chasmtest/test_engine.go:596
↓ 2 callers
Function
updateCurrentClusterMetadataRecord
( ctx context.Context, clusterMetadataManager persistence.ClusterMetadataManager, svc *config.Config, init
temporal/fx.go:784
↓ 2 callers
Function
updateCurrentExecution
( ctx context.Context, tx sqlplugin.Tx, row sqlplugin.CurrentExecutionsRow, )
common/persistence/sql/execution_util.go:1060
↓ 2 callers
Method
updateEntryTTL
(entry *entryImpl)
common/cache/lru.go:432
↓ 2 callers
Method
updateEphemeralData
updateEphemeralData updates the ephemeral data owned by this partition. The update function will be given a non-nil clone of the current data, which i
service/matching/user_data_manager.go:801
↓ 2 callers
Function
updateExecution
( batch *gocql.Batch, shardID int32, namespaceID string, workflowID string, runID string, executionInfoB
common/persistence/cassandra/util.go:405
↓ 2 callers
Method
updateExecution
( ctx context.Context, tx sqlplugin.Tx, namespaceID string, workflowID string, executionInfo *commonpb.Da
common/persistence/sql/execution_util.go:1169
↓ 2 callers
Method
updateFairAckLevel
(subqueue subqueueIndex, newAckLevel fairLevel, countDelta, knownCount int64, oldestTime time.Time)
service/matching/db.go:364
↓ 2 callers
Method
updateHeap
(key string, count int64)
service/matching/counter/map.go:55
↓ 2 callers
Method
updateIDToNamespace
( iDToNamespace map[namespace.ID]*namespace.Namespace, id namespace.ID, newNS *namespace.Namespace, )
common/namespace/nsregistry/registry.go:712
↓ 2 callers
Function
updateIndexSearchAttributes
updateIndexSearchAttributes updates the IndexSearchAttributes if needed. Returns true if any change was made.
temporal/fx.go:870
↓ 2 callers
Method
updateKeys
()
common/authorization/default_token_key_provider.go:113
↓ 2 callers
Function
updateMetadata
( ctx context.Context, tx sqlplugin.Tx, oldNotificationVersion int64, )
common/persistence/sql/metadata.go:260
↓ 2 callers
Method
updateMetadata
(env *testcore.TestEnv, tv *testvars.TestVars, upsertEntries map[string]*commonpb.Payload, removeEntries []str
tests/worker_deployment_version_test.go:130
↓ 2 callers
Method
updateNamespace
( ctx context.Context, request *persistence.InternalUpdateNamespaceRequest, operationName string, )
common/persistence/sql/metadata.go:140
↓ 2 callers
Method
updateOnlyWasAbortedByClosingWorkflow
(err error)
service/history/api/multioperation/api.go:166
↓ 2 callers
Method
updateQuota
(newQuota T)
common/quotas/calculator/logged_calculator.go:93
↓ 2 callers
Function
updateRequestCancelInfos
( batch *gocql.Batch, requestCancelInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]struct{}, shard
common/persistence/cassandra/util.go:823
↓ 2 callers
Function
updateSignalInfos
( batch *gocql.Batch, signalInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]struct{}, shardID int3
common/persistence/cassandra/util.go:888
↓ 2 callers
Function
updateSignalsRequested
( batch *gocql.Batch, signalReqIDs map[string]struct{}, deleteSignalReqIDs map[string]struct{}, shardID in
common/persistence/cassandra/util.go:1020
↓ 2 callers
Method
updateSimpleRateLimitWithBurstLocked
UpdateSimpleRateLimit updates the overall queue rate limits for the simpleRateLimiter implementation
service/matching/ratelimit_manager.go:266
↓ 2 callers
Method
updateStateFromRoutingConfig
updateStateFromRoutingConfig updates the version state based on routing config received from Deployment. returns true if any information that affects
service/worker/workerdeployment/version_workflow.go:988
↓ 2 callers
Function
updateTimerInfos
( batch *gocql.Batch, timerInfos map[string]*commonpb.DataBlob, deleteInfos map[string]struct{}, shardID i
common/persistence/cassandra/util.go:693
↓ 2 callers
Method
updateTweakables
()
service/worker/scheduler/workflow.go:1290
↓ 2 callers
Method
updateVersionStatusAfterDrainageStatusChange
(ctx workflow.Context, newStatus enumspb.VersionDrainageStatus)
service/worker/workerdeployment/version_workflow.go:1194
↓ 2 callers
Method
updateVersionSummary
(summary *deploymentspb.WorkerDeploymentVersionSummary)
service/worker/workerdeployment/workflow.go:206
↓ 2 callers
Function
updateVersionToClusterName
(clusterInfo map[string]ClusterInformation, failoverVersionIncrement int64)
common/cluster/metadata.go:522
↓ 2 callers
Method
updateVersioningOverride
( override *workflowpb.VersioningOverride, )
service/history/workflow/mutable_state_impl.go:5973
↓ 2 callers
Method
updateWorkerCount
(targetWorkerNum int)
common/tasks/sequential_scheduler.go:201
↓ 2 callers
Method
updateWorkerCount
(targetWorkerNum int)
common/tasks/fifo_scheduler.go:111
↓ 2 callers
Method
updateWorkflowMode
()
service/history/workflow/context.go:863
↓ 2 callers
Method
upsertCustomSearchAttributesAliases
( current map[string]string, upsert map[string]string, )
service/frontend/namespace_handler.go:984
↓ 2 callers
Method
upsertMyMembership
( ctx context.Context, request *persistence.UpsertClusterMembershipRequest, )
common/membership/ringpop/monitor.go:233
↓ 2 callers
Function
useClassicMatcher
TODO(pri): cleanup; delete this
service/matching/matching_engine_test.go:6125
↓ 2 callers
Function
useFairness
(config *Config)
service/matching/matching_engine_test.go:6129
↓ 2 callers
Method
usingBuildIdQueue
(taskType enumspb.TaskQueueType, buildId string)
service/matching/forwarder_test.go:501
↓ 2 callers
Method
uuidString
(_ string)
common/testing/testvars/test_vars.go:91
↓ 2 callers
Method
validate
()
common/namespace/archival_config_state_machine.go:53
↓ 2 callers
Function
validateAndNormalizeCancelRequest
(req *workflowservice.RequestCancelNexusOperationExecutionRequest, config *Config)
chasm/lib/nexusoperation/validator.go:256
↓ 2 callers
Function
validateAndNormalizeCancelRequest
( req *workflowservice.RequestCancelActivityExecutionRequest, maxIDLengthLimit int, blobSizeLimitError dyna
chasm/lib/activity/validator.go:399
↓ 2 callers
Function
validateAndNormalizeDeleteRequest
(req *workflowservice.DeleteNexusOperationExecutionRequest, config *Config)
chasm/lib/nexusoperation/validator.go:181
↓ 2 callers
Function
validateAndNormalizeDescribeRequest
( req *workflowservice.DescribeNexusOperationExecutionRequest, namespaceID string, config *Config, )
chasm/lib/nexusoperation/validator.go:197
↓ 2 callers
Function
validateAndNormalizePollRequest
(req *workflowservice.PollNexusOperationExecutionRequest, config *Config)
chasm/lib/nexusoperation/validator.go:229
↓ 2 callers
Function
validateAndNormalizeStartRequest
revive:disable-next-line:cognitive-complexity,cyclomatic
chasm/lib/nexusoperation/validator.go:65
↓ 2 callers
Function
validateAndNormalizeTerminateRequest
(req *workflowservice.TerminateNexusOperationExecutionRequest, config *Config)
chasm/lib/nexusoperation/validator.go:287
↓ 2 callers
Function
validateAndNormalizeTerminateRequest
( req *workflowservice.TerminateActivityExecutionRequest, maxIDLengthLimit int, blobSizeLimitError dynamicc
chasm/lib/activity/validator.go:472
↓ 2 callers
Function
validateAndSetForceReplicationParams
(ctx workflow.Context, params *ForceReplicationParams)
service/worker/migration/force_replication_workflow.go:340
← previous
next →
9,001–9,100 of 43,335, ranked by callers