MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 3 callersFunctionValidateNotTransitioned
ValidateNotTransitioned returns a [consts.ErrStaleReference] if the machine has transitioned since the task was generated.
service/history/hsm/tasks.go:57
↓ 3 callersFunctionValidateQueryRequest
ValidateQueryRequest validates the query visibility request
common/archiver/util.go:114
↓ 3 callersMethodValidateSearchAttributes
(searchAttributes *commonpb.SearchAttributes, namespaceName string)
chasm/lib/workflow/validator.go:141
↓ 3 callersFunctionValidateSignal
( ctx context.Context, shard historyi.ShardContext, mutableState historyi.MutableState, signalPayloadSize
service/history/api/signal_workflow_util.go:15
↓ 3 callersMethodValidateState
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 callersFunctionValidateVisibilityArchivalRequest
ValidateVisibilityArchivalRequest validates the archive visibility request
common/archiver/util.go:88
↓ 3 callersMethodValidateWorkerDeploymentVersionComputeConfig
( ctx context.Context, request *workflowservice.ValidateWorkerDeploymentVersionComputeConfigRequest, opts .
client/frontend/client_gen.go:1222
↓ 3 callersMethodValidateWorkflowTimeouts
( request StartWorkflowTimeoutLikeRequest, )
chasm/lib/workflow/validator.go:69
↓ 3 callersFunctionVerifyCompatibleVersion
VerifyCompatibleVersion ensures that the installed version is greater than or equal to the expected version.
common/persistence/schema/version.go:10
↓ 3 callersFunctionVerifyHistoryIsComplete
( logger log.Logger, firstEvent *historyspb.StrippedHistoryEvent, lastEvent *historyspb.StrippedHistoryEven
service/history/api/get_history_util.go:458
↓ 3 callersFunctionVersionSetQueueKey
VersionSetQueueKey returns a PhysicalTaskQueueKey of a task queue partition with the given version set id.
service/matching/physical_task_queue_key.go:73
↓ 3 callersFunctionVersionWorkflow
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 callersFunctionVersioningBehavior
(behavior enumspb.VersioningBehavior)
common/log/tag/tags.go:996
↓ 3 callersMethodVisibilityConfigExist
VisibilityConfigExist returns whether user specified visibilityStore in config
common/config/persistence.go:99
↓ 3 callersMethodWatchHistoryEvent
(identifier definition.WorkflowKey)
service/history/events/notifier.go:31
↓ 3 callersMethodWatchNamespaces
(ctx context.Context)
common/persistence/data_interfaces.go:1228
↓ 3 callersFunctionWithAuthorizer
WithAuthorizer sets a low level authorizer to allow/deny all API calls
temporal/server_option.go:97
↓ 3 callersFunctionWithClaimMapper
WithClaimMapper configures a role mapper for authorization
temporal/server_option.go:111
↓ 3 callersFunctionWithConfig
WithConfig sets a custom configuration
temporal/server_option.go:35
↓ 3 callersFunctionWithDCRedirectionPolicy
(policy config.DCRedirectionPolicy)
tests/testcore/functional_test_base.go:139
↓ 3 callersFunctionWithDetached
WithDetached marks the registrable component as detached. Detached components ignore parent lifecycle validation, allowing them to continue operating
chasm/registrable_component.go:67
↓ 3 callersFunctionWithHistoryTaskRecorder
()
tests/testcore/test_env.go:228
↓ 3 callersFunctionWithInFlightLimit
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 callersFunctionWithLogger
WithLogger sets a custom logger
temporal/server_option.go:83
↓ 3 callersMethodWithNamespaceName
(namespaceName namespace.Name)
common/testing/testvars/test_vars.go:166
↓ 3 callersFunctionWithPersistenceFaultInjection
WithPersistenceFaultInjection requests a dedicated cluster with the given persistence fault injection config.
tests/testcore/test_env.go:175
↓ 3 callersFunctionWithPruneType
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 callersFunctionWithTimeout
WithTimeout sets a custom timeout for the test-scoped context.
common/testing/testcontext/context.go:68
↓ 3 callersFunctionWorkerDeploymentBuildIDTag
(buildID string, versionBreakdown bool)
common/metrics/tags.go:207
↓ 3 callersFunctionWorkerDeploymentNameTag
(deploymentName string, versionBreakdown bool)
common/metrics/tags.go:200
↓ 3 callersFunctionWorkerVersion
WorkerVersion returns tag for worker build ID
common/log/tag/tags.go:300
↓ 3 callersMethodWorkflowClient
(c *cli.Context)
tools/tdbg/factory.go:36
↓ 3 callersMethodWorkflowExecutionInfoToBlob
(info *persistencespb.WorkflowExecutionInfo)
common/persistence/serialization/serializer.go:42
↓ 3 callersFunctionWorkflowHandlerName
WorkflowHandlerName returns tag for WorkflowHandlerName
common/log/tag/tags.go:104
↓ 3 callersFunctionWorkflowSize
WorkflowSize returns tag for WorkflowSize
common/log/tag/tags.go:325
↓ 3 callersFunctionWorkflowTimerID
WorkflowTimerID returns tag for WorkflowTimerID
common/log/tag/tags.go:151
↓ 3 callersMethodaccessInternalState
(executable queues.Executable)
service/history/queues/executable_test.go:1379
↓ 3 callersMethodackLevelsFromBlob
(blob *commonpb.DataBlob)
common/persistence/namespace_replication_queue.go:242
↓ 3 callersFunctionactivityPendingRetry
activityPendingRetry returns true if an activity has failed and retry has scheduled but not yet started
service/history/workflow/activity.go:65
↓ 3 callersMethodadd
( executable Executable, )
service/history/queues/tracker.go:77
↓ 3 callersMethodaddBulkIndexRequestAndWait
( ctx context.Context, request *store.InternalVisibilityRequestBase, esDoc map[string]any, visibilityTaskK
common/persistence/visibility/store/elasticsearch/visibility_store.go:310
↓ 3 callersFunctionaddContentHeaderToHTTPHeader
(nexusHeader nexus.Header, httpHeader http.Header)
common/nexus/nexusrpc/api.go:65
↓ 3 callersMethodaddEventToCache
( workflowKey definition.WorkflowKey, event *historypb.HistoryEvent, )
service/history/ndc/workflow_state_replicator.go:1918
↓ 3 callersFunctionaddJitter
(duration time.Duration, jitterPct float64)
common/backoff/retrypolicy.go:295
↓ 3 callersFunctionaddNexusHeaderToHTTPHeader
(nexusHeader nexus.Header, httpHeader http.Header)
common/nexus/nexusrpc/api.go:122
↓ 3 callersFunctionaddRequestSignalInitiatedEvent
( ms historyi.MutableState, workflowTaskCompletedEventID int64, signalRequestID string, namespaceName name
service/history/history_engine_test.go:6857
↓ 3 callersMethodaddTaskToMatcher
call with_out_ lock held
service/matching/fair_task_reader.go:298
↓ 3 callersMethodaddUpdateCallbacks
( event *historypb.HistoryEvent, updateID string, requestID string, updateCallbacks []*commonpb.Callback,
service/history/workflow/mutable_state_impl.go:3317
↓ 3 callersMethodaddVersionToWorkerDeployment
(ctx workflow.Context, args *deploymentspb.AddVersionUpdateArgs)
service/worker/workerdeployment/workflow.go:620
↓ 3 callersMethodaddXDCCache
(minEventID int64, version int64, nextEventID int64, eventBlobs []*commonpb.DataBlob, versionHistoryItems []*h
service/history/replication/sync_state_retriever_test.go:746
↓ 3 callersMethodappend
persistence helper
common/persistence/persistence-tests/history_v2_persistence.go:791
↓ 3 callersMethodappend
(segment pathSegment)
common/testing/objectleak/path.go:36
↓ 3 callersMethodappendOneByOne
(branch []byte, events []*historypb.HistoryEvent, txnID int64)
common/persistence/persistence-tests/history_v2_persistence.go:772
↓ 3 callersMethodappendRawHistoryBatches
( shardID int32, branchToken []byte, packet HistoryEventsPacket, )
common/persistence/tests/history_store.go:746
↓ 3 callersMethodapplyActivityBuildIdRedirect
(activityInfo *persistencespb.ActivityInfo, buildId string, redirectCounter int64)
service/history/workflow/mutable_state_impl.go:4460
↓ 3 callersMethodapplySnapshot
( ctx context.Context, namespaceID namespace.ID, workflowID string, runID string, archetypeID chasm.Arche
service/history/ndc/workflow_state_replicator.go:766
↓ 3 callersFunctionapplyWorkflowSnapshotBatchAsNew
( batch *gocql.Batch, shardID int32, workflowSnapshot *p.InternalWorkflowSnapshot, )
common/persistence/cassandra/util.go:264
↓ 3 callersMethodapplyWorkflowSnapshotTxAsNew
( ctx context.Context, tx sqlplugin.Tx, shardID int32, workflowSnapshot *p.InternalWorkflowSnapshot, )
common/persistence/sql/execution_util.go:418
↓ 3 callersMethodassertCorrectFileMode
(path string)
common/archiver/filestore/util_test.go:431
↓ 3 callersMethodassertFileExists
(filepath string)
common/archiver/filestore/util_test.go:413
↓ 3 callersFunctionassertMatches
(t *testing.T, level testlogger.Level, msg string, tags []tag.Tag)
common/testing/testlogger/testlogger_test.go:56
↓ 3 callersFunctionassertRejectUpdateInRegistry
( t *testing.T, reg update.Registry, evStore mockEventStore, upd *update.Update, )
service/history/workflow/update/registry_test.go:931
↓ 3 callersFunctionassertResponsePayload
(t *testing.T, response *schedulespb.WatchWorkflowResponse, expectedPayload []*commonpb.Payload)
service/worker/scheduler/responsebuilder_test.go:282
↓ 3 callersFunctionassertResponseResult
(t *testing.T, response *schedulespb.WatchWorkflowResponse, expectedResult *commonpb.Payloads)
service/worker/scheduler/responsebuilder_test.go:266
↓ 3 callersFunctionassertStructPointer
(t reflect.Type)
chasm/tree.go:702
↓ 3 callersMethodassertTruncateFailureCalled
()
service/history/workflow/mutable_state_impl_restart_activity_test.go:435
↓ 3 callersMethodassertUnblockedState
(qr historyi.QueryRegistry, ids ...string)
service/history/workflow/query_registry_test.go:169
↓ 3 callersFunctionattemptScheduleTimeForRetry
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 callersFunctionbase
(t *testing.T)
common/namespace/namespace_test.go:16
↓ 3 callersMethodbestEffortHandlerErrorFromResponse
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 callersFunctionbuildBroadcastHostPort
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 callersMethodbuildCatalog
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 callersMethodbuildChasmMutableState
( key definition.WorkflowKey, visComponentTransitionCount int64, )
service/history/visibility_queue_task_executor_test.go:697
↓ 3 callersFunctionbuildDSN
(cfg *config.SQL)
common/persistence/sql/sqlplugin/sqlite/plugin.go:165
↓ 3 callersFunctionbuildFtsQueryString
(fieldName string, values ...string)
common/persistence/sql/sqlplugin/sqlite/query_converter.go:267
↓ 3 callersFunctionbuildFtsQueryString
(colname string, values ...string)
common/persistence/visibility/store/sql/query_converter_legacy_sqlite.go:331
↓ 3 callersFunctionbuildGitHubURL
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 callersFunctionbuildOnDuplicateKeyUpdate
(fields ...string)
common/persistence/sql/sqlplugin/mysql/visibility.go:75
↓ 3 callersFunctionbuildReports
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 callersMethodbypassRateLimit
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 callersMethodcalculateNormalized
--- latencyStats ---
tools/fairsim/sim.go:422
↓ 3 callersFunctioncalculatePercentUnder
calculatePercentUnder calculates the percentage of durations under a threshold
tools/ci-notify/github.go:146
↓ 3 callersFunctioncallErrToFailure
(callErr error, retryable bool)
components/nexusoperations/executors.go:1054
↓ 3 callersMethodcallerInfoContext
(ctx context.Context)
service/matching/user_data_manager.go:867
↓ 3 callersMethodcancelJob
Calls delete dlq job and verify the output
tests/dlq_test.go:542
↓ 3 callersMethodcancelOutstandingPoll
cancelOutstandingPoll cancel outstanding poll if context was canceled and returns true. Otherwise returns false.
service/frontend/workflow_handler.go:6523
↓ 3 callersFunctioncaptureCurrentBranchToken
captureCurrentBranchToken extracts the current branch token from a workflow's mutable state.
tests/history_node_cleanup_test.go:248
↓ 3 callersMethodcaptureNPollDeadlines
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 callersMethodchasmCallbacksEnabled
chasmCallbacksEnabled returns true if CHASM callbacks are enabled for this workflow.
service/history/workflow/mutable_state_impl.go:686
↓ 3 callersFunctioncheckCertsForExpiration
( certs []*x509.Certificate, time time.Time, expiring CertExpirationMap, expired CertExpirationMap, )
common/rpc/encryption/local_store_cert_provider.go:385
↓ 3 callersMethodcheckForNamespaceCaptureMisuse
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 callersMethodcheckIfMemoSizeExceedsLimit
( memo *commonpb.Memo, commandTypeTag metrics.Tag, message string, )
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:79
↓ 3 callersMethodcheckIfSearchAttributesSizeExceedsLimit
( searchAttributes *commonpb.SearchAttributes, namespaceName namespace.Name, commandTypeTag metrics.Tag, )
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:187
↓ 3 callersMethodcheckStateSet
(msg proto.Message, allowed stateSet)
service/history/workflow/update/update.go:818
↓ 3 callersFunctioncheckUpdateResult
(result sql.Result, pluginErr error, conflictErr error)
common/persistence/sql/nexus_endpoint_store.go:217
↓ 3 callersMethodcheckWorkerDeploymentReadRateLimit
(ctx context.Context, namespaceName, apiName string)
service/frontend/workflow_handler.go:6301
↓ 3 callersMethodcheckWorkflowUpdateOptionsEventIdentity
( ctx context.Context, env *testcore.TestEnv, wf *commonpb.WorkflowExecution, expectedIdentity string, )
tests/worker_deployment_version_test.go:1695
↓ 3 callersFunctionclassifyFailure
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 callersMethodcleanScheduleMemo
This mutates memo
service/frontend/workflow_handler.go:6718
↓ 3 callersMethodcleanScheduleSearchAttributes
This mutates searchAttributes
service/frontend/workflow_handler.go:6696
← previousnext →6,101–6,200 of 43,335, ranked by callers