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
↓ 3 callers
Function
ValidateNotTransitioned
ValidateNotTransitioned returns a [consts.ErrStaleReference] if the machine has transitioned since the task was generated.
service/history/hsm/tasks.go:57
↓ 3 callers
Function
ValidateQueryRequest
ValidateQueryRequest validates the query visibility request
common/archiver/util.go:114
↓ 3 callers
Method
ValidateSearchAttributes
(searchAttributes *commonpb.SearchAttributes, namespaceName string)
chasm/lib/workflow/validator.go:141
↓ 3 callers
Function
ValidateSignal
( ctx context.Context, shard historyi.ShardContext, mutableState historyi.MutableState, signalPayloadSize
service/history/api/signal_workflow_util.go:15
↓ 3 callers
Method
ValidateState
ValidateState validates: 1. Namespace is specified in task token if there is a `task_token` field. 2. Namespace is specified in request if there is a
common/rpc/interceptor/namespace_validator.go:226
↓ 3 callers
Function
ValidateVisibilityArchivalRequest
ValidateVisibilityArchivalRequest validates the archive visibility request
common/archiver/util.go:88
↓ 3 callers
Method
ValidateWorkerDeploymentVersionComputeConfig
( ctx context.Context, request *workflowservice.ValidateWorkerDeploymentVersionComputeConfigRequest, opts .
client/frontend/client_gen.go:1222
↓ 3 callers
Method
ValidateWorkflowTimeouts
( request StartWorkflowTimeoutLikeRequest, )
chasm/lib/workflow/validator.go:69
↓ 3 callers
Function
VerifyCompatibleVersion
VerifyCompatibleVersion ensures that the installed version is greater than or equal to the expected version.
common/persistence/schema/version.go:10
↓ 3 callers
Function
VerifyHistoryIsComplete
( logger log.Logger, firstEvent *historyspb.StrippedHistoryEvent, lastEvent *historyspb.StrippedHistoryEven
service/history/api/get_history_util.go:458
↓ 3 callers
Function
VersionSetQueueKey
VersionSetQueueKey returns a PhysicalTaskQueueKey of a task queue partition with the given version set id.
service/matching/physical_task_queue_key.go:73
↓ 3 callers
Function
VersionWorkflow
VersionWorkflow is implemented in a way where it always CaNs after some history events are added to it and it has no pending work to do. This is to ke
service/worker/workerdeployment/version_workflow.go:76
↓ 3 callers
Function
VersioningBehavior
(behavior enumspb.VersioningBehavior)
common/log/tag/tags.go:996
↓ 3 callers
Method
VisibilityConfigExist
VisibilityConfigExist returns whether user specified visibilityStore in config
common/config/persistence.go:99
↓ 3 callers
Method
WatchHistoryEvent
(identifier definition.WorkflowKey)
service/history/events/notifier.go:31
↓ 3 callers
Method
WatchNamespaces
(ctx context.Context)
common/persistence/data_interfaces.go:1228
↓ 3 callers
Function
WithAuthorizer
WithAuthorizer sets a low level authorizer to allow/deny all API calls
temporal/server_option.go:97
↓ 3 callers
Function
WithClaimMapper
WithClaimMapper configures a role mapper for authorization
temporal/server_option.go:111
↓ 3 callers
Function
WithConfig
WithConfig sets a custom configuration
temporal/server_option.go:35
↓ 3 callers
Function
WithDCRedirectionPolicy
(policy config.DCRedirectionPolicy)
tests/testcore/functional_test_base.go:139
↓ 3 callers
Function
WithDetached
WithDetached marks the registrable component as detached. Detached components ignore parent lifecycle validation, allowing them to continue operating
chasm/registrable_component.go:67
↓ 3 callers
Function
WithHistoryTaskRecorder
()
tests/testcore/test_env.go:228
↓ 3 callers
Function
WithInFlightLimit
WithInFlightLimit provides an optional limit to the number of incomplete Updates that a Registry instance will allow.
service/history/workflow/update/registry.go:110
↓ 3 callers
Function
WithLogger
WithLogger sets a custom logger
temporal/server_option.go:83
↓ 3 callers
Method
WithNamespaceName
(namespaceName namespace.Name)
common/testing/testvars/test_vars.go:166
↓ 3 callers
Function
WithPersistenceFaultInjection
WithPersistenceFaultInjection requests a dedicated cluster with the given persistence fault injection config.
tests/testcore/test_env.go:175
↓ 3 callers
Function
WithPruneType
WithPruneType prevents Track from descending into values whose reflected type matches pattern. Named types match their package-qualified name. A trail
common/testing/objectleak/leakcheck.go:42
↓ 3 callers
Function
WithTimeout
WithTimeout sets a custom timeout for the test-scoped context.
common/testing/testcontext/context.go:68
↓ 3 callers
Function
WorkerDeploymentBuildIDTag
(buildID string, versionBreakdown bool)
common/metrics/tags.go:207
↓ 3 callers
Function
WorkerDeploymentNameTag
(deploymentName string, versionBreakdown bool)
common/metrics/tags.go:200
↓ 3 callers
Function
WorkerVersion
WorkerVersion returns tag for worker build ID
common/log/tag/tags.go:300
↓ 3 callers
Method
WorkflowClient
(c *cli.Context)
tools/tdbg/factory.go:36
↓ 3 callers
Method
WorkflowExecutionInfoToBlob
(info *persistencespb.WorkflowExecutionInfo)
common/persistence/serialization/serializer.go:42
↓ 3 callers
Function
WorkflowHandlerName
WorkflowHandlerName returns tag for WorkflowHandlerName
common/log/tag/tags.go:104
↓ 3 callers
Function
WorkflowSize
WorkflowSize returns tag for WorkflowSize
common/log/tag/tags.go:325
↓ 3 callers
Function
WorkflowTimerID
WorkflowTimerID returns tag for WorkflowTimerID
common/log/tag/tags.go:151
↓ 3 callers
Method
accessInternalState
(executable queues.Executable)
service/history/queues/executable_test.go:1379
↓ 3 callers
Method
ackLevelsFromBlob
(blob *commonpb.DataBlob)
common/persistence/namespace_replication_queue.go:242
↓ 3 callers
Function
activityPendingRetry
activityPendingRetry returns true if an activity has failed and retry has scheduled but not yet started
service/history/workflow/activity.go:65
↓ 3 callers
Method
add
( executable Executable, )
service/history/queues/tracker.go:77
↓ 3 callers
Method
addBulkIndexRequestAndWait
( ctx context.Context, request *store.InternalVisibilityRequestBase, esDoc map[string]any, visibilityTaskK
common/persistence/visibility/store/elasticsearch/visibility_store.go:310
↓ 3 callers
Function
addContentHeaderToHTTPHeader
(nexusHeader nexus.Header, httpHeader http.Header)
common/nexus/nexusrpc/api.go:65
↓ 3 callers
Method
addEventToCache
( workflowKey definition.WorkflowKey, event *historypb.HistoryEvent, )
service/history/ndc/workflow_state_replicator.go:1918
↓ 3 callers
Function
addJitter
(duration time.Duration, jitterPct float64)
common/backoff/retrypolicy.go:295
↓ 3 callers
Function
addNexusHeaderToHTTPHeader
(nexusHeader nexus.Header, httpHeader http.Header)
common/nexus/nexusrpc/api.go:122
↓ 3 callers
Function
addRequestSignalInitiatedEvent
( ms historyi.MutableState, workflowTaskCompletedEventID int64, signalRequestID string, namespaceName name
service/history/history_engine_test.go:6857
↓ 3 callers
Method
addTaskToMatcher
call with_out_ lock held
service/matching/fair_task_reader.go:298
↓ 3 callers
Method
addUpdateCallbacks
( event *historypb.HistoryEvent, updateID string, requestID string, updateCallbacks []*commonpb.Callback,
service/history/workflow/mutable_state_impl.go:3317
↓ 3 callers
Method
addVersionToWorkerDeployment
(ctx workflow.Context, args *deploymentspb.AddVersionUpdateArgs)
service/worker/workerdeployment/workflow.go:620
↓ 3 callers
Method
addXDCCache
(minEventID int64, version int64, nextEventID int64, eventBlobs []*commonpb.DataBlob, versionHistoryItems []*h
service/history/replication/sync_state_retriever_test.go:746
↓ 3 callers
Method
append
persistence helper
common/persistence/persistence-tests/history_v2_persistence.go:791
↓ 3 callers
Method
append
(segment pathSegment)
common/testing/objectleak/path.go:36
↓ 3 callers
Method
appendOneByOne
(branch []byte, events []*historypb.HistoryEvent, txnID int64)
common/persistence/persistence-tests/history_v2_persistence.go:772
↓ 3 callers
Method
appendRawHistoryBatches
( shardID int32, branchToken []byte, packet HistoryEventsPacket, )
common/persistence/tests/history_store.go:746
↓ 3 callers
Method
applyActivityBuildIdRedirect
(activityInfo *persistencespb.ActivityInfo, buildId string, redirectCounter int64)
service/history/workflow/mutable_state_impl.go:4460
↓ 3 callers
Method
applySnapshot
( ctx context.Context, namespaceID namespace.ID, workflowID string, runID string, archetypeID chasm.Arche
service/history/ndc/workflow_state_replicator.go:766
↓ 3 callers
Function
applyWorkflowSnapshotBatchAsNew
( batch *gocql.Batch, shardID int32, workflowSnapshot *p.InternalWorkflowSnapshot, )
common/persistence/cassandra/util.go:264
↓ 3 callers
Method
applyWorkflowSnapshotTxAsNew
( ctx context.Context, tx sqlplugin.Tx, shardID int32, workflowSnapshot *p.InternalWorkflowSnapshot, )
common/persistence/sql/execution_util.go:418
↓ 3 callers
Method
assertCorrectFileMode
(path string)
common/archiver/filestore/util_test.go:431
↓ 3 callers
Method
assertFileExists
(filepath string)
common/archiver/filestore/util_test.go:413
↓ 3 callers
Function
assertMatches
(t *testing.T, level testlogger.Level, msg string, tags []tag.Tag)
common/testing/testlogger/testlogger_test.go:56
↓ 3 callers
Function
assertRejectUpdateInRegistry
( t *testing.T, reg update.Registry, evStore mockEventStore, upd *update.Update, )
service/history/workflow/update/registry_test.go:931
↓ 3 callers
Function
assertResponsePayload
(t *testing.T, response *schedulespb.WatchWorkflowResponse, expectedPayload []*commonpb.Payload)
service/worker/scheduler/responsebuilder_test.go:282
↓ 3 callers
Function
assertResponseResult
(t *testing.T, response *schedulespb.WatchWorkflowResponse, expectedResult *commonpb.Payloads)
service/worker/scheduler/responsebuilder_test.go:266
↓ 3 callers
Function
assertStructPointer
(t reflect.Type)
chasm/tree.go:702
↓ 3 callers
Method
assertTruncateFailureCalled
()
service/history/workflow/mutable_state_impl_restart_activity_test.go:435
↓ 3 callers
Method
assertUnblockedState
(qr historyi.QueryRegistry, ids ...string)
service/history/workflow/query_registry_test.go:169
↓ 3 callers
Function
attemptScheduleTimeForRetry
attemptScheduleTimeForRetry computes the time a retried attempt is scheduled to start, as complete_time + retry_interval. Returns nil if either field
chasm/lib/activity/activity.go:290
↓ 3 callers
Function
base
(t *testing.T)
common/namespace/namespace_test.go:16
↓ 3 callers
Method
bestEffortHandlerErrorFromResponse
bestEffortHandlerErrorFromResponse attempts to read a handler error from the response, but falls back to an unexpected response error.
common/nexus/nexusrpc/client.go:121
↓ 3 callers
Function
buildBroadcastHostPort
buildBroadcastHostPort return the listener hostport from an existing tchannel and overrides the address with broadcastAddress if specified
common/membership/ringpop/service_resolver.go:476
↓ 3 callers
Method
buildCatalog
buildCatalog builds a catalog from the list of pending metric definitions. It is safe to call this method multiple times. This method is thread-safe.
common/metrics/registry.go:53
↓ 3 callers
Method
buildChasmMutableState
( key definition.WorkflowKey, visComponentTransitionCount int64, )
service/history/visibility_queue_task_executor_test.go:697
↓ 3 callers
Function
buildDSN
(cfg *config.SQL)
common/persistence/sql/sqlplugin/sqlite/plugin.go:165
↓ 3 callers
Function
buildFtsQueryString
(fieldName string, values ...string)
common/persistence/sql/sqlplugin/sqlite/query_converter.go:267
↓ 3 callers
Function
buildFtsQueryString
(colname string, values ...string)
common/persistence/visibility/store/sql/query_converter_legacy_sqlite.go:331
↓ 3 callers
Function
buildGitHubURL
buildGitHubURL constructs GitHub Actions URL from run/job IDs If jobID == "unknown": https://github.com/{repo}/actions/runs/{runID} Otherwise: https:/
tools/flakereport/github.go:230
↓ 3 callers
Function
buildOnDuplicateKeyUpdate
(fields ...string)
common/persistence/sql/sqlplugin/mysql/visibility.go:75
↓ 3 callers
Function
buildReports
buildReports builds TestReport slice from grouped failures, sorts by FailureCount/TotalRuns descending. numerator and denominator return the rate comp
tools/flakereport/parser.go:237
↓ 3 callers
Method
bypassRateLimit
bypassRateLimit bypasses the rate limit and calls the function directly. It exists to maintain the same number of stack trace frames as when rateLimit
common/log/throttle_logger.go:99
↓ 3 callers
Method
calculateNormalized
--- latencyStats ---
tools/fairsim/sim.go:422
↓ 3 callers
Function
calculatePercentUnder
calculatePercentUnder calculates the percentage of durations under a threshold
tools/ci-notify/github.go:146
↓ 3 callers
Function
callErrToFailure
(callErr error, retryable bool)
components/nexusoperations/executors.go:1054
↓ 3 callers
Method
callerInfoContext
(ctx context.Context)
service/matching/user_data_manager.go:867
↓ 3 callers
Method
cancelJob
Calls delete dlq job and verify the output
tests/dlq_test.go:542
↓ 3 callers
Method
cancelOutstandingPoll
cancelOutstandingPoll cancel outstanding poll if context was canceled and returns true. Otherwise returns false.
service/frontend/workflow_handler.go:6523
↓ 3 callers
Function
captureCurrentBranchToken
captureCurrentBranchToken extracts the current branch token from a workflow's mutable state.
tests/history_node_cleanup_test.go:248
↓ 3 callers
Method
captureNPollDeadlines
captureNPollDeadlines injects a mock partition manager, runs n sequential polls, and returns the context deadline observed inside each pm.PollTask cal
service/matching/matching_engine_test.go:285
↓ 3 callers
Method
chasmCallbacksEnabled
chasmCallbacksEnabled returns true if CHASM callbacks are enabled for this workflow.
service/history/workflow/mutable_state_impl.go:686
↓ 3 callers
Function
checkCertsForExpiration
( certs []*x509.Certificate, time time.Time, expiring CertExpirationMap, expired CertExpirationMap, )
common/rpc/encryption/local_store_cert_provider.go:385
↓ 3 callers
Method
checkForNamespaceCaptureMisuse
checkForNamespaceCaptureMisuse panics when all queried metrics that produced recordings were namespace-scoped. Metrics with no recordings are treated
tests/testcore/metric_capture.go:56
↓ 3 callers
Method
checkIfMemoSizeExceedsLimit
( memo *commonpb.Memo, commandTypeTag metrics.Tag, message string, )
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:79
↓ 3 callers
Method
checkIfSearchAttributesSizeExceedsLimit
( searchAttributes *commonpb.SearchAttributes, namespaceName namespace.Name, commandTypeTag metrics.Tag, )
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:187
↓ 3 callers
Method
checkStateSet
(msg proto.Message, allowed stateSet)
service/history/workflow/update/update.go:818
↓ 3 callers
Function
checkUpdateResult
(result sql.Result, pluginErr error, conflictErr error)
common/persistence/sql/nexus_endpoint_store.go:217
↓ 3 callers
Method
checkWorkerDeploymentReadRateLimit
(ctx context.Context, namespaceName, apiName string)
service/frontend/workflow_handler.go:6301
↓ 3 callers
Method
checkWorkflowUpdateOptionsEventIdentity
( ctx context.Context, env *testcore.TestEnv, wf *commonpb.WorkflowExecution, expectedIdentity string, )
tests/worker_deployment_version_test.go:1695
↓ 3 callers
Function
classifyFailure
classifyFailure returns "timeout", "crash", or "flaky" based on the test name. Uses Contains (not HasSuffix) so it works on both raw and normalized na
tools/flakereport/parser.go:160
↓ 3 callers
Method
cleanScheduleMemo
This mutates memo
service/frontend/workflow_handler.go:6718
↓ 3 callers
Method
cleanScheduleSearchAttributes
This mutates searchAttributes
service/frontend/workflow_handler.go:6696
← previous
next →
6,101–6,200 of 43,335, ranked by callers