MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersFunctionresetActivityInfos
( batch *gocql.Batch, activityInfos map[int64]*commonpb.DataBlob, shardID int32, namespaceID string, work
common/persistence/cassandra/util.go:666
↓ 1 callersMethodresetAttempt
()
service/history/queues/executable.go:835
↓ 1 callersFunctionresetChasmNodes
( batch *gocql.Batch, nodes map[string]p.InternalChasmNode, shardID int32, namespaceID string, workflowID
common/persistence/cassandra/util.go:953
↓ 1 callersFunctionresetChildExecutionInfos
( batch *gocql.Batch, childExecutionInfos map[int64]*commonpb.DataBlob, shardID int32, namespaceID string,
common/persistence/cassandra/util.go:796
↓ 1 callersMethodresetConnectBackoff
(clientConnection[C])
client/history/connections.go:43
↓ 1 callersFunctionresetRequestCancelInfos
( batch *gocql.Batch, requestCancelInfos map[int64]*commonpb.DataBlob, shardID int32, namespaceID string,
common/persistence/cassandra/util.go:861
↓ 1 callersFunctionresetSignalInfos
( batch *gocql.Batch, signalInfos map[int64]*commonpb.DataBlob, shardID int32, namespaceID string, workfl
common/persistence/cassandra/util.go:926
↓ 1 callersFunctionresetSignalRequested
( batch *gocql.Batch, signalRequested map[string]struct{}, shardID int32, namespaceID string, workflowID
common/persistence/cassandra/util.go:1055
↓ 1 callersMethodresetStats
( stats *scheduleStats, )
service/history/queues/scheduler_monitor.go:178
↓ 1 callersFunctionresetTimerInfos
( batch *gocql.Batch, timerInfos map[string]*commonpb.DataBlob, shardID int32, namespaceID string, workfl
common/persistence/cassandra/util.go:731
↓ 1 callersMethodresetWorkflow
( ctx context.Context, task *tasks.ResetWorkflowTask, reason string, resetPoint *workflowpb.ResetPointInfo
service/history/transfer_queue_active_task_executor.go:1739
↓ 1 callersMethodresolveDeferredPointers
resolveDeferredPointers resolves all deferred pointers in the tree. Returns error if any deferred pointer cannot be resolved, as deferred pointers can
chasm/tree.go:2258
↓ 1 callersMethodresolveDuplicateWorkflowID
resolveDuplicateWorkflowID determines how to resolve a duplicate workflow ID. Returns non-nil response if an action was required and completed success
service/history/api/startworkflow/api.go:412
↓ 1 callersMethodresolveEndpoint
( ctx context.Context, ns *namespace.Namespace, args startArgs, )
chasm/lib/nexusoperation/operation_tasks.go:226
↓ 1 callersMethodresolveSystemAlias
resolveSystemAlias resolves a system search attribute alias to its field name. It handles the `Temporal` prefix variations (e.g., "ScheduleId" and "Te
chasm/visibility.go:89
↓ 1 callersFunctionrespondFailure
(t *testing.T, store mockEventStore, upd *update.Update)
service/history/workflow/update/update_test.go:1124
↓ 1 callersMethodrespondNexusTaskCompleted
( ctx context.Context, opts *options, task *workflowservice.PollNexusTaskQueueResponse, reply *workflowser
common/testing/taskpoller/taskpoller.go:210
↓ 1 callersMethodrespondNexusTaskCompletedWithOperationError
(ctx context.Context, taskToken []byte, opErr *nexus.OperationError)
tests/nexus_test_base.go:285
↓ 1 callersMethodrespondNexusTaskFailed
(ctx context.Context, taskToken []byte, he *nexus.HandlerError)
tests/nexus_test_base.go:229
↓ 1 callersMethodrespondNexusTaskFailed
( ctx context.Context, opts *options, taskToken []byte, )
common/testing/taskpoller/taskpoller.go:234
↓ 1 callersMethodrespondQueryTaskCompleted
( ctx context.Context, task *workflowservice.PollWorkflowTaskQueueResponse, reply *workflowservice.RespondQ
common/testing/taskpoller/taskpoller.go:469
↓ 1 callersMethodrespondTaskCompleted
( ctx context.Context, opts *options, task *workflowservice.PollWorkflowTaskQueueResponse, reply *workflow
common/testing/taskpoller/taskpoller.go:514
↓ 1 callersMethodrespondTaskCompleted
( ctx context.Context, opts *options, task *workflowservice.PollActivityTaskQueueResponse, reply *workflow
common/testing/taskpoller/taskpoller.go:617
↓ 1 callersMethodrespondTaskFailed
( ctx context.Context, opts *options, taskToken []byte, taskErr error, )
common/testing/taskpoller/taskpoller.go:537
↓ 1 callersMethodrespondTaskFailed
( ctx context.Context, opts *options, task *workflowservice.PollActivityTaskQueueResponse, taskErr error,
common/testing/taskpoller/taskpoller.go:640
↓ 1 callersMethodrespondToRetriedRequest
respondToRetriedRequest provides a response in case a start request is retried. NOTE: Workflow is marked as "started" even though the client re-issue
service/history/api/startworkflow/api.go:538
↓ 1 callersMethodretryAddAfterError
(task *internalTask)
service/matching/fair_task_reader.go:344
↓ 1 callersMethodretryAddAfterError
(task *internalTask)
service/matching/pri_task_reader.go:342
↓ 1 callersFunctionretryBehaviorAsOptionalBool
(e *nexus.HandlerError)
common/nexus/nexusrpc/failure_converter.go:202
↓ 1 callersFunctionretryBehaviorFromHeader
(header http.Header)
common/nexus/nexusrpc/client.go:454
↓ 1 callersMethodreverseSlice
(events []*historypb.HistoryEvent)
common/persistence/history_manager.go:1031
↓ 1 callersMethodreviveDeleted
(ctx workflow.Context)
service/worker/workerdeployment/version_workflow.go:791
↓ 1 callersFunctionrewriteComparison
rewriteComparison rewrites a single ComparisonExpr if its LHS is the synthetic ScheduleId SA.
service/worker/scheduler/schedule_id_query_rewriter.go:98
↓ 1 callersFunctionrewriteExpr
rewriteExpr recursively walks expr and rewrites ScheduleId comparison nodes in-place. Returns true if any rewriting occurred.
service/worker/scheduler/schedule_id_query_rewriter.go:75
↓ 1 callersFunctionrewriteIsExpr
rewriteIsExpr rewrites a ScheduleId IS [NOT] NULL expression to use WorkflowId. No prefix rewriting is needed for IS NULL / IS NOT NULL.
service/worker/scheduler/schedule_id_query_rewriter.go:134
↓ 1 callersFunctionroutingOptions
(m *protogen.Method)
cmd/tools/protoc-gen-go-chasm/main.go:173
↓ 1 callersMethodrun
(ctx context.Context, args []string)
tools/testrunner/testrunner.go:51
↓ 1 callersMethodrun
()
service/worker/scheduler/workflow.go:252
↓ 1 callersMethodrun
run does a single run over all executions and validates them
service/worker/scanner/executions/scavenger.go:142
↓ 1 callersMethodrun
run does a single run over all executorTask queues
service/worker/scanner/taskqueue/scavenger.go:134
↓ 1 callersMethodrun
(ctx workflow.Context)
service/worker/workerdeployment/workflow.go:225
↓ 1 callersMethodrun
(ctx workflow.Context)
service/worker/workerdeployment/version_workflow.go:251
↓ 1 callersMethodrun
()
common/persistence/sql/sqlplugin/db_metrics.go:49
↓ 1 callersMethodrun
run the test case by simulating a bunch of blocked pollers, sending a final request, and verifying that it is either rate limited or not.
common/rpc/interceptor/concurrent_request_limit_test.go:144
↓ 1 callersFunctionrunAction
( action Action, readerGroup *ReaderGroup, metricsHandler metrics.Handler, )
service/history/queues/mitigator.go:95
↓ 1 callersFunctionrunAttempt
runAttempt runs condition in a goroutine so that an accidental call to the real test's FailNow (runtime.Goexit) terminates only this goroutine. Termi
common/testing/await/require_ctx.go:207
↓ 1 callersFunctionrunBisectAnalysis
runBisectAnalysis is the top-level bisect orchestrator called from the generate command. It runs bisect for the top-N flakiest tests and returns their
tools/flakereport/bisect.go:409
↓ 1 callersMethodrunCleanups
()
common/testing/await/require_ctx_test.go:537
↓ 1 callersMethodrunClient
(b *testing.B)
common/testing/nettest/pipe_benchmark_test.go:153
↓ 1 callersMethodrunCommands
(commands []string)
tools/fairsim/sim.go:243
↓ 1 callersMethodrunEchoServer
(b *testing.B)
common/testing/nettest/pipe_benchmark_test.go:115
↓ 1 callersMethodrunGoImports
(ctx context.Context)
cmd/tools/protogen/main.go:251
↓ 1 callersFunctionrunOmes
runOmes runs Omes throughput stress scenario. Retries if Omes fails due to search attribute not being ready yet. Deducts elapsed time from duration on
tests/mixedbrain/mixed_brain_test.go:148
↓ 1 callersFunctionrunOneShotPoller
runOneShotPoller spawns a goroutine to call tqMgr.PollTask on the provided tqMgr. The second return value is a channel of either error or *internalTas
service/matching/physical_task_queue_manager_test.go:155
↓ 1 callersMethodrunProtogen
(ctx context.Context)
cmd/tools/protogen/main.go:230
↓ 1 callersMethodrunScript
(scriptFile string)
tools/fairsim/sim.go:220
↓ 1 callersMethodrunSweeper
runSweeper periodically removes idle queue entries from the map.
common/tasks/execution_queue_scheduler.go:216
↓ 1 callersMethodrunTests
nolint:revive,deep-exit
tools/testrunner/testrunner.go:323
↓ 1 callersMethodrunWatchLoop
runWatchLoop starts a goroutine that establishes and maintains a namespace watch. Returns the goroutine handle and a boolean indicating whether the wa
common/namespace/nsregistry/registry.go:449
↓ 1 callersMethodrunWorker
runWorker is the goroutine that processes tasks for a single execution queue. It pops tasks from the slice under the lock and executes them without th
common/tasks/execution_queue_scheduler.go:179
↓ 1 callersFunctionruntimeFaultInjector
(injector config.FaultInjector)
common/persistence/faultinjection/store_fault_generator.go:41
↓ 1 callersMethodsanitizeActualHistoryEventsForContains
sanitizeActualHistoryEventsForContains clears EventID and Version fields from actual history events if they are not set in the FIRST expected history
common/testing/historyrequire/history_require.go:338
↓ 1 callersFunctionsanitizeAttr
(inkey string, invalue string)
common/persistence/sql/sqlplugin/mysql/session/session.go:190
↓ 1 callersFunctionsanitizeXML
sanitizeXML removes characters that are invalid in XML 1.0. Go's xml.Encoder escapes <, >, & etc., but control characters other than \t, \n, \r are no
tools/testrunner/junit.go:176
↓ 1 callersMethodsaveBuildIds
(buildIds []string, maxSearchAttributeValueSize int)
service/history/workflow/mutable_state_impl.go:3890
↓ 1 callersMethodsaveDeploymentSearchAttributes
Note: If the encoding for one of these strings fails, none of them would get saved. But we really don't expect any of the strings to be unencodable, s
service/history/workflow/mutable_state_impl.go:3953
↓ 1 callersFunctionsaveHistoryIteratorState
(ctx context.Context, featureCatalog *archiver.ArchiveFeatureCatalog, historyIterator archiver.HistoryIterator
common/archiver/gcloud/history_archiver.go:375
↓ 1 callersFunctionsaveHistoryIteratorState
(ctx context.Context, featureCatalog *archiver.ArchiveFeatureCatalog, historyIterator archiver.HistoryIterator
common/archiver/s3store/history_archiver.go:240
↓ 1 callersMethodsaveResult
( ctx context.Context, env hsm.Environment, ref hsm.Ref, result invocationResult, )
components/callbacks/executors.go:182
↓ 1 callersMethodsaveStartedResult
saveStartedResult transitions the operation to started in response to an async (pending) start response so it can later complete via callback.
components/nexusoperations/executors.go:458
↓ 1 callersMethodsaveUsedDeploymentVersions
(usedDeploymentVersions []string, maxSearchAttributeValueSize int)
service/history/workflow/mutable_state_impl.go:3922
↓ 1 callersMethodsaveVersionInfo
(ctx context.Context, resp *versioninfo.VersionCheckResponse)
service/frontend/version_checker.go:153
↓ 1 callersFunctionscalerSubtractPollCounts
Returns "a - b" per-key, removing zeros.
tests/partition_scaling_test.go:381
↓ 1 callersFunctionscalingGroupsToUpsertUpdates
(scalingGroups map[string]*computepb.ComputeConfigScalingGroup)
service/worker/workerdeployment/compute_util.go:97
↓ 1 callersMethodscheduleRefresh
(nextEvent int64)
common/membership/ringpop/service_resolver.go:314
↓ 1 callersMethodscheduleTask
scheduleTask schedules a BackfillerTask at the given time.
chasm/lib/scheduler/backfiller.go:64
↓ 1 callersFunctionschemaFileEnding
(schemaName string)
tools/common/schema/handler.go:115
↓ 1 callersFunctionsdkClientNameHeadersInjectorInterceptor
Overwrite the 'client-name' and 'client-version' headers on gRPC requests sent using the Go SDK so they clearly indicate that the request is coming fr
common/sdk/factory.go:130
↓ 1 callersFunctionsealMutableState
(t *testing.T, mutableState historyi.MutableState, lastEvent *historypb.HistoryEvent)
service/history/workflow/workflow_test/mutable_state_impl_test.go:356
↓ 1 callersFunctionsearchCache
(cache *schedulespb.NextTimeCache, after time.Time)
service/worker/scheduler/workflow.go:570
↓ 1 callersMethodselectAllFromNamespace
( ctx context.Context, filter sqlplugin.NamespaceFilter, )
common/persistence/sql/sqlplugin/postgresql/namespace.go:109
↓ 1 callersMethodselectAllFromNamespace
( ctx context.Context, filter sqlplugin.NamespaceFilter, )
common/persistence/sql/sqlplugin/mysql/namespace.go:122
↓ 1 callersMethodselectAllFromNamespace
( ctx context.Context, filter sqlplugin.NamespaceFilter, )
common/persistence/sql/sqlplugin/sqlite/namespace.go:122
↓ 1 callersMethodselectFromNamespace
( ctx context.Context, filter sqlplugin.NamespaceFilter, )
common/persistence/sql/sqlplugin/postgresql/namespace.go:81
↓ 1 callersMethodselectFromNamespace
( ctx context.Context, filter sqlplugin.NamespaceFilter, )
common/persistence/sql/sqlplugin/mysql/namespace.go:94
↓ 1 callersMethodselectFromNamespace
( ctx context.Context, filter sqlplugin.NamespaceFilter, )
common/persistence/sql/sqlplugin/sqlite/namespace.go:94
↓ 1 callersMethodselectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/postgresql/task_queues.go:92
↓ 1 callersMethodselectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/mysql/task_queues.go:92
↓ 1 callersMethodselectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/sqlite/task_queues.go:92
↓ 1 callersFunctionsendFailureNotification
(webhookURL, runID, refName, sha, repo string, err error)
tools/flakereport/flakereport.go:389
↓ 1 callersMethodsendSignalAndProcessWFT
nolint:staticcheck // SA1019 TaskPoller replacement needs to be done holistically.
tests/reset_workflow_test.go:435
↓ 1 callersMethodsendUpdateAndProcessWFT
nolint:staticcheck // SA1019 TaskPoller replacement needs to be done holistically.
tests/reset_workflow_test.go:451
↓ 1 callersFunctionsequentialBatchableTaskQueueCompareLess
(this *batchedTask, that *batchedTask)
service/history/replication/sequential_batch_queue.go:115
↓ 1 callersMethodserializeAppendRawHistoryNodesRequest
( ctx context.Context, request *AppendRawHistoryNodesRequest, )
common/persistence/history_manager.go:412
↓ 1 callersFunctionserializeArchivalTask
( encoder Encoder, task tasks.Task, )
common/persistence/serialization/task_serializers.go:376
↓ 1 callersMethodserializeBackfillToken
( mutableState *persistencespb.WorkflowMutableState, dbRecordVersion int64, dbHistorySize int64, existsInD
service/history/ndc/mutable_state_initializer.go:210
↓ 1 callersMethodserializeCollectionNode
()
chasm/tree.go:1191
↓ 1 callersMethodserializeComponentNode
()
chasm/tree.go:810
↓ 1 callersMethodserializeComponentState
( state proto.Message, )
service/history/chasm_engine_test.go:1983
↓ 1 callersMethodserializeDataNode
()
chasm/tree.go:1171
← previousnext →12,801–12,900 of 43,335, ranked by callers