MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersMethodapplyWorkflowSnapshotTxAsReset
( ctx context.Context, tx sqlplugin.Tx, shardID int32, workflowSnapshot *p.InternalWorkflowSnapshot, )
common/persistence/sql/execution_util.go:193
↓ 2 callersMethodarchetypeIDToName
(ctx context.Context, archetypeID chasm.ArchetypeID)
service/worker/migration/activities.go:1194
↓ 2 callersFunctionareValidTransientOrSpecEvents
(tranOrSpecEvents *historyspb.TransientWorkflowTaskInfo)
service/history/api/get_history_util.go:400
↓ 2 callersMethodassertAttributeEqual
( expected *replicationspb.SyncActivityTaskAttributes, actual *historyservice.ActivitySyncInfo, )
service/history/replication/executable_activity_state_task_test.go:471
↓ 2 callersMethodassertEqualTasksWithOpts
( task tasks.Task, cmpFunc func(task, deserializedTask tasks.Task), opts ...cmp.Option, )
common/persistence/serialization/task_serializers_test.go:600
↓ 2 callersMethodassertFailedState
(qr historyi.QueryRegistry, ids ...string)
service/history/workflow/query_registry_test.go:186
↓ 2 callersMethodassertFileExists
(filepath string)
common/archiver/filestore/history_archiver_test.go:619
↓ 2 callersMethodassertHEWithDB
( branchToken []byte, eventBatches [][]*p.WorkflowEvents, assertPrefix bool, )
common/persistence/tests/execution_mutable_state.go:2704
↓ 2 callersMethodassertHistory
(env *testcore.TestEnv, wid, rid string, expected []enumspb.EventType)
tests/client_misc_test.go:842
↓ 2 callersMethodassertHistoryEvents
( ctx context.Context, namespaceId string, workflowId string, runID string, startEventId int64, // inclus
tests/ndc/replication_migration_back_test.go:334
↓ 2 callersMethodassertKeyExists
(key string)
common/archiver/s3store/history_archiver_test.go:764
↓ 2 callersMethodassertMutable
()
service/history/historybuilder/event_store.go:285
↓ 2 callersFunctionassertNotCurrentExecution
( ctx context.Context, tx sqlplugin.Tx, shardID int32, namespaceID primitives.UUID, workflowID string, r
common/persistence/sql/execution_util.go:940
↓ 2 callersMethodassertNotCurrentExecution
( ctx context.Context, shardID int32, namespaceID string, workflowID string, archetypeID chasm.ArchetypeI
common/persistence/cassandra/mutable_state_store.go:885
↓ 2 callersMethodassertNotSealed
()
service/history/historybuilder/event_store.go:291
↓ 2 callersMethodassertParentPointer
(testComponentNode *Node)
chasm/tree_test.go:657
↓ 2 callersMethodassertPausedWorkflowTimesOut
assertPausedWorkflowTimesOut starts env.workflowFn (which blocks on its activity), pauses it, and asserts that the configured wall-clock timeout still
tests/pause_workflow_execution_test.go:1756
↓ 2 callersMethodassertReappliedUpdateInNewRun
assertReappliedUpdateInNewRun verifies that updateID appears as an UpdateAdmitted event in runID's history with completion callbacks preserved.
tests/nexus_workflow_update_test.go:254
↓ 2 callersFunctionassertRunIDAndUpdateCurrentExecution
( ctx context.Context, tx sqlplugin.Tx, row sqlplugin.CurrentExecutionsRow, previousRunID primitives.UUID,
common/persistence/sql/execution_util.go:966
↓ 2 callersFunctionassertRunIDMismatch
(requestRunID primitives.UUID, currentRow *sqlplugin.CurrentExecutionsRow, serializer serialization.Serializer
common/persistence/sql/execution_util.go:1033
↓ 2 callersFunctionassertSameRecentActions
( t *testing.T, expected *workflowservice.DescribeScheduleResponse, actual *schedulepb.ScheduleListEntry, )
tests/schedule_test.go:3087
↓ 2 callersFunctionassertScheduledWorkflowSearchAttributeHasAssociatedTypeOf
( t *testing.T, response *schedulespb.DescribeResponse, searchAttribute string, expectedType enumspb.Index
service/frontend/workflow_handler_second_test.go:119
↓ 2 callersMethodbackFillEvents
( ctx context.Context, namespaceID namespace.ID, workflowID string, runID string, sourceVersionHistories
service/history/ndc/workflow_state_replicator.go:945
↓ 2 callersMethodbackoffDuration
( err error, )
service/history/queues/executable.go:796
↓ 2 callersMethodbackoffSignal
(duration time.Duration)
service/matching/pri_task_reader.go:403
↓ 2 callersMethodbaseNexusContext
(apiName string, header http.Header)
service/frontend/nexus_operation_http_handler.go:220
↓ 2 callersMethodbeforeAddWorkflowTaskCompletedEvent
()
service/history/workflow/workflow_task_state_machine.go:1313
↓ 2 callersMethodbuild
()
chasm/lib/nexusoperation/config.go:161
↓ 2 callersFunctionbuildCAPool
(cas []string, getBytes loadOrDecodeDataFunc)
common/rpc/encryption/local_store_cert_provider.go:437
↓ 2 callersFunctionbuildCallbackFromTemplate
(callbackTemplate string, ns *namespace.Namespace)
components/nexusoperations/executors.go:147
↓ 2 callersFunctionbuildCallbackInfoFromChasm
buildCallbackInfoFromChasm converts a single CHASM callback to API format.
service/history/api/describeworkflow/api.go:569
↓ 2 callersMethodbuildExecutableHistoryTask
( events [][]*historypb.HistoryEvent, newRunEvents []*historypb.HistoryEvent, newRunID string, taskId int6
service/history/replication/executable_history_task_test.go:554
↓ 2 callersMethodbuildExecutionInfo
(ctx chasm.Context)
chasm/lib/nexusoperation/operation.go:521
↓ 2 callersMethodbuildExecutionRow
( namespaceID string, workflowID string, executionInfo *commonpb.DataBlob, executionState *persistencespb.
common/persistence/sql/execution_util.go:1079
↓ 2 callersFunctionbuildFtsSelectStmt
buildFtsSelectStmt builds the following statement for querying FTS: SELECT rowid FROM tableName WHERE tableName = '%s'
common/persistence/sql/sqlplugin/sqlite/query_converter.go:239
↓ 2 callersMethodbuildFtsSelectStmt
buildFtsSelectStmt builds the following statement for querying FTS: SELECT rowid FROM tableName WHERE tableName = '%s'
common/persistence/visibility/store/sql/query_converter_legacy_sqlite.go:272
↓ 2 callersFunctionbuildMappingBody
(mapping map[string]enumspb.IndexedValueType)
common/persistence/visibility/store/elasticsearch/client/client_v7.go:374
↓ 2 callersMethodbuildMutableStateFromEvent
( ctx context.Context, now time.Time, baseWorkflowIdentifier definition.WorkflowKey, baseBranchToken []byt
service/history/ndc/state_rebuilder.go:224
↓ 2 callersFunctionbuildObservations
buildObservations groups TestRun records for a single (normalized) test name by commit SHA and returns them sorted chronologically using the commit or
tools/flakereport/bisect.go:67
↓ 2 callersFunctionbuildPaginationQuery
buildPaginationQuery builds the Elasticsearch conditions for the next page based on searchAfter. For example, if sorterFields = [A, B, C] and searchA
common/persistence/visibility/store/elasticsearch/visibility_store.go:1348
↓ 2 callersFunctionbuildQueryPredicate
(nsID namespace.ID, query string)
service/matching/workers/registry_impl.go:413
↓ 2 callersFunctionbuildRateLimitConfig
(update *workflowservice.UpdateTaskQueueConfigRequest_RateLimitUpdate, updateTime *timestamppb.Timestamp, upda
service/matching/matching_engine.go:3441
↓ 2 callersFunctionbuildRunTeardownCluster
buildRunTeardownCluster creates a dedicated cluster, runs a trivial workflow on it to exercise the full server path, then tears it down.
tests/leakcheck/leak_test.go:149
↓ 2 callersMethodbuildSearchParametersInternal
( params *searchParametersInternal, )
common/persistence/visibility/store/elasticsearch/visibility_store.go:608
↓ 2 callersMethodbuildSelectFilterFromQueryParams
( queryParams *query.QueryParams[sqlparser.Expr], sqlQC *SQLQueryConverter, )
common/persistence/visibility/store/sql/visibility_store.go:677
↓ 2 callersFunctionbuildServer
(t *testing.T, srcDir, outputPath string)
tests/mixedbrain/build_util.go:43
↓ 2 callersMethodbulkBeforeAction
bulkBeforeAction is triggered before bulk processor commit
common/persistence/visibility/store/elasticsearch/processor.go:186
↓ 2 callersMethodcacheAddLocked
(shardID int32, addr rpcAddress)
client/history/caching_redirector.go:162
↓ 2 callersMethodcacheDeleteByAddress
(address rpcAddress)
client/history/caching_redirector.go:189
↓ 2 callersFunctioncacheRetainingTest
(s *cachingRedirectorSuite, opErr error, verify func(error))
client/history/caching_redirector_test.go:81
↓ 2 callersMethodcallScaler
callScaler runs the scaler on the accumulated batch and persists the resulting state if it changed. Called from backgroundWork only.
service/matching/scale_manager.go:167
↓ 2 callersMethodcallsFor
(clusterName string)
tests/xdc/remote_cluster_auth_test.go:90
↓ 2 callersMethodcancelLocked
()
service/history/replication/executable_task_tracker.go:187
↓ 2 callersMethodcancelOperation
(service, operation, token string, writer http.ResponseWriter, request *http.Request)
common/nexus/nexusrpc/server.go:247
↓ 2 callersMethodcanonicalizeScheduleSpec
(schedule *schedulepb.Schedule)
service/frontend/workflow_handler.go:6665
↓ 2 callersMethodcapTombstoneCount
capTombstoneCount limits the total number of tombstones stored in the mutable state. This method should be called whenever tombstone batch list is upd
service/history/workflow/mutable_state_impl.go:8148
↓ 2 callersMethodcapturePanicAndRecordMetrics
Panic handler and metrics recording function. Used as a deferred statement in Nexus handler methods.
service/frontend/nexus_handler.go:92
↓ 2 callersFunctioncaptureStack
captureStack returns a formatted stack trace, skipping the first `skip` frames (including the captureStack frame itself).
common/testing/testlogger/testlogger.go:599
↓ 2 callersMethodcapturedTasks
()
service/matching/backlog_manager_test.go:156
↓ 2 callersMethodcarryOverTaskStatus
( sourceTasks, targetTasks []*persistencespb.ChasmComponentAttributes_Task, compareFn func(a, b *persistence
chasm/tree.go:3038
↓ 2 callersFunctioncatchupWindow
(s *Scheduler, tweakables Tweakables)
chasm/lib/scheduler/spec_processor.go:196
↓ 2 callersMethodchasmSchedulerCreationEnabled
chasmSchedulerCreationEnabled returns true when CreateSchedule should create on the CHASM scheduler. The binary EnableCHASMSchedulerCreation flag is g
service/frontend/workflow_handler.go:3800
↓ 2 callersMethodcheckBuildIDReachability
( env *testcore.TestEnv, taskQueue string, versions *taskqueuepb.TaskQueueVersionSelection, expectedReacha
tests/versioning_test.go:4732
↓ 2 callersMethodcheckCertExpiration
()
common/rpc/encryption/local_store_tls_provider.go:416
↓ 2 callersFunctioncheckCertForExpiration
( cert *x509.Certificate, pointInTime time.Time, expiring CertExpirationMap, expired CertExpirationMap, )
common/rpc/encryption/local_store_cert_provider.go:397
↓ 2 callersFunctioncheckCompatibleVersion
( cfg *config.SQL, r resolver.ServiceResolver, dbKind sqlplugin.DbKind, logger log.Logger, )
common/persistence/sql/version_checker.go:52
↓ 2 callersMethodcheckIfNumChildWorkflowsExceedsLimit
()
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:151
↓ 2 callersMethodcheckIfNumPendingActivitiesExceedsLimit
()
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:160
↓ 2 callersMethodcheckIfNumPendingCancelRequestsExceedsLimit
()
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:169
↓ 2 callersMethodcheckIfNumPendingSignalsExceedsLimit
()
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:178
↓ 2 callersMethodcheckLimits
()
service/history/workflow/update/registry.go:391
↓ 2 callersMethodcheckListAndWaitForBatchCompletion
(env *testcore.TestEnv, jobID string)
tests/worker_deployment_version_test.go:2794
↓ 2 callersFunctioncheckRedirectConditions
checkRedirectConditions checks for validity conditions that must be assessed by looking at the entire set of rules. It returns an error if the new set
service/matching/version_rule_helpers.go:356
↓ 2 callersMethodcheckSequence
(cs string, start time.Time, seq ...time.Time)
service/worker/scheduler/calendar_test.go:205
↓ 2 callersFunctioncheckService
(t *testing.T, tp reflect.Type, m map[string]MethodMetadata)
common/api/metadata_test.go:27
↓ 2 callersMethodcheckSlowPropagation
(ctx context.Context, logger log.Logger)
service/worker/workerdeployment/version_activities.go:119
↓ 2 callersFunctioncheckTLSCertForExpiration
( cert *tls.Certificate, when time.Time, expiring CertExpirationMap, expired CertExpirationMap, )
common/rpc/encryption/local_store_cert_provider.go:366
↓ 2 callersFunctioncheckTestShard
checkTestShard supports test sharding based on environment variables. This distributes tests across multiple CI shards for parallel execution.
tests/testcore/test_env.go:627
↓ 2 callersMethodcheckTotalLimit
()
service/history/workflow/update/registry.go:438
↓ 2 callersFunctioncheckVersionMembershipAndReactivationEligibility
checkVersionMembershipAndReactivationEligibility calls matching to check if a task queue belongs to a version and whether the version is currently act
common/worker_versioning/worker_versioning.go:330
↓ 2 callersMethodcheckWorkflowCallbackLimit
checkWorkflowCallbackLimit returns an error if adding newCount callbacks would exceed the per-workflow maximum.
chasm/lib/workflow/workflow.go:134
↓ 2 callersFunctionclassifyFailures
classifyFailures separates failures into categories. Classifies using the raw failure name (not the normalized key) since normalizeTestName strips suf
tools/flakereport/parser.go:174
↓ 2 callersMethodcleanupTransaction
( currentWorkflow Workflow, targetWorkflow Workflow, newWorkflow Workflow, err error, )
service/history/ndc/transaction_manager_existing_workflow.go:530
↓ 2 callersMethodcleanupTransaction
( currentWorkflow Workflow, targetWorkflow Workflow, err error, )
service/history/ndc/transaction_manager_new_workflow.go:346
↓ 2 callersMethodclear
()
service/history/shard/task_request_tracker.go:132
↓ 2 callersFunctionclearVersionFromRoutingConfig
clearVersionFromRoutingConfig clears current/ramping fields in new-format routing config when an old-format DeploymentVersionData's roles change.
service/matching/matching_engine.go:3725
↓ 2 callersMethodclipPriority
(priority priorityKey)
service/matching/config.go:573
↓ 2 callersMethodclone
()
common/testing/testvars/test_vars.go:99
↓ 2 callersFunctionclonePayloadMap
(source map[string]*commonpb.Payload)
service/history/api/describeworkflow/api.go:50
↓ 2 callersFunctioncloneRepo
(t *testing.T, url, destDir, ref string)
tests/mixedbrain/build_util.go:30
↓ 2 callersFunctioncloneStatsByPriority
(in map[int32]*taskqueuepb.TaskQueueStats)
service/matching/task_queue_partition_manager.go:1734
↓ 2 callersMethodcloneSubqueues
clone db.subqueues so we can return it outside our lock
service/matching/db.go:927
↓ 2 callersMethodcloseLocked
()
service/history/replication/bi_direction_stream.go:124
↓ 2 callersMethodcloseTransaction
( ctx context.Context, transactionPolicy historyi.TransactionPolicy, )
service/history/workflow/mutable_state_impl.go:7659
↓ 2 callersMethodcloseTransactionCollapseVisibilityTasks
Visibility tasks are collapsed into a single one: START < UPSERT < CLOSE < DELETE Their enum values are already in order, so using them to make the co
service/history/workflow/mutable_state_impl.go:8967
↓ 2 callersMethodcloseWaitChannelsLocked
()
service/history/shard/task_request_tracker.go:143
↓ 2 callersFunctionclusterNameInfoFromClusterID
( allClusterInfo map[string]cluster.ClusterInformation, clusterID int64, )
service/history/shard/context_impl.go:2335
↓ 2 callersMethodcollectMetric
(name string, keep func(*metricstest.CapturedRecording) bool)
tests/testcore/metric_capture.go:38
↓ 2 callersMethodcollectMetric
(name string, keep func(*metricstest.CapturedRecording) bool)
tests/testcore/metric_capture.go:119
↓ 2 callersFunctioncompareQueryInt
(inVal int, expectedVal int, operation string, fieldName string)
service/history/workflow/matcher/evaluator.go:71
← previousnext →7,901–8,000 of 43,335, ranked by callers