MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersMethodonNextCallExpect
( now time.Time, currentAttempt int32, maxAttempts int32, initInterval *durationpb.Duration, maxInterval
service/history/workflow/mutable_state_impl_restart_activity_test.go:397
↓ 1 callersMethodonNextCallReturn
(duration time.Duration, state enumspb.RetryState)
service/history/workflow/mutable_state_impl_restart_activity_test.go:418
↓ 1 callersMethodonRejectionMsg
onRejectionMsg expects the Update state to be stateSent (or stateAdmitted) and returns an error otherwise. On commit of buffered effects, the state ma
service/history/workflow/update/update.go:711
↓ 1 callersMethodonResponseMsg
onResponseMsg expects the Update to be in either stateProvisionallyAccepted or stateAccepted and returns an error if it finds otherwise. On commit of
service/history/workflow/update/update.go:775
↓ 1 callersFunctionoperationErrorToFailure
(opErr *nexus.OperationError)
chasm/lib/nexusoperation/task_handler_helpers.go:312
↓ 1 callersFunctionoperationInfoFromResponse
(response *http.Response, body []byte)
common/nexus/nexusrpc/client.go:414
↓ 1 callersFunctionoperationIntentFromContext
( ctx context.Context, )
chasm/component.go:128
↓ 1 callersFunctionoperatorRateFn
(maxQPS dynamicconfig.IntPropertyFn, operatorRPSRatio dynamicconfig.FloatPropertyFn)
common/persistence/visibility/quotas.go:45
↓ 1 callersFunctionoptimizeShardingSalt
(smap map[string]float64, shards, tries int)
tools/optimize-test-sharding/main.go:257
↓ 1 callersMethodotherCluster
()
tests/xdc/history_replication_signals_and_updates_test.go:874
↓ 1 callersFunctionoutboundTaskGroupPostProcessor
(registry *chasm.Registry)
service/history/outbound_queue_factory.go:366
↓ 1 callersFunctionoutcomeTag
(callCtx context.Context, callErr error)
components/callbacks/nexus_invocation.go:91
↓ 1 callersFunctionoutcomeTag
(callCtx context.Context, callErr error)
chasm/lib/callback/invocable_outbound.go:98
↓ 1 callersMethodoverwriteToDB
( ctx context.Context, mutableState historyi.MutableState, )
service/history/workflow_rebuilder.go:234
↓ 1 callersFunctionpackNexusCallbackToken
packNexusCallbackToken encodes a CHASM component ref and request ID into a callback token.
chasm/nexus_completion.go:56
↓ 1 callersFunctionparseCAs
(temporalTls *TLS)
common/auth/tls_config_helper.go:140
↓ 1 callersFunctionparseCert
logic borrowed from tls.X509KeyPair()
common/rpc/encryption/local_store_cert_provider.go:469
↓ 1 callersFunctionparseCertsFromPEM
(pemCerts []byte)
common/auth/tls_config_helper.go:171
↓ 1 callersFunctionparseClientCert
(temporalTls *TLS)
common/auth/tls_config_helper.go:188
↓ 1 callersFunctionparseCountGroupByGroupValue
(fieldName string, value any)
common/persistence/sql/sqlplugin/visibility.go:193
↓ 1 callersMethodparseCountGroupByResponse
Elasticsearch aggregation groups are returned as a nested object. This function flattens the response into rows. nolint:revive // cognitive complexit
common/persistence/visibility/store/elasticsearch/visibility_store.go:1150
↓ 1 callersFunctionparseCronStringInterval
(c string)
service/worker/scheduler/calendar.go:305
↓ 1 callersFunctionparseElasticConfig
(cli *cli.Context)
tools/elasticsearch/handler.go:98
↓ 1 callersFunctionparseFullyQualifiedTestName
parseFullyQualifiedTestName extracts names like "pkg/path.TestName" from a line.
tools/testrunner/log.go:197
↓ 1 callersFunctionparseHosts
parseHosts returns parses a list of hosts separated by comma
common/persistence/nosql/nosqlplugin/cassandra/gocql/client.go:174
↓ 1 callersFunctionparseJUnitFile
parseJUnitFile reads and parses a single JUnit XML file
tools/flakereport/parser.go:20
↓ 1 callersFunctionparseMergeParams
(params MergeParams)
service/worker/dlq/workflow.go:350
↓ 1 callersFunctionparseMigrateTarget
(c *cli.Context)
tools/tdbg/commands.go:924
↓ 1 callersFunctionparsePartitionCountsFromTrailer
(trailer metadata.MD)
client/matching/partition_counts.go:83
↓ 1 callersFunctionparsePlainTestName
parsePlainTestName extracts a leading "TestName(" form.
tools/testrunner/log.go:214
↓ 1 callersMethodparseRequestTimeoutHeader
parseRequestTimeoutHeader checks if the Request-Timeout HTTP header is set and returns the parsed duration if so. Returns (0, true) if unset. Returns
common/nexus/nexusrpc/server.go:272
↓ 1 callersMethodparseSQLStmts
(fsys fs.FS, dir string, manifest *manifest)
tools/common/schema/updatetask.go:227
↓ 1 callersFunctionparseSystemSearchAttributeValues
(name string, value any)
common/persistence/visibility/store/elasticsearch/query_interceptors.go:142
↓ 1 callersFunctionparseTimeDuration
parseTimeDuration parses the given time duration in either short or long convention and returns the time.Duration Valid values (long notation/short no
tools/tdbg/util.go:160
↓ 1 callersFunctionparseTimeRange
parseTimeRange parses a given time duration string (in format X<time-duration>) and returns parsed timestamp given that duration in the past from curr
tools/tdbg/util.go:113
↓ 1 callersMethodparseToken
(nextPageToken []byte)
common/archiver/gcloud/visibility_archiver.go:277
↓ 1 callersFunctionpartitionIsFullyDrained
( res *matchingservice.DescribeTaskQueuePartitionResponse, info *taskqueuespb.PartitionScaleInfo, )
service/matching/scale_manager.go:391
↓ 1 callersMethodpatchScheduleCHASM
( ctx context.Context, request *workflowservice.PatchScheduleRequest, )
service/frontend/workflow_handler.go:4799
↓ 1 callersMethodpatchScheduleWorkflow
( ctx context.Context, request *workflowservice.PatchScheduleRequest, inputPayloads *commonpb.Payloads, )
service/frontend/workflow_handler.go:4770
↓ 1 callersFunctionpath
(dir string, file string)
common/config/loader_test.go:170
↓ 1 callersMethodpayloadSizeLimiter
()
service/history/workflow/update/registry.go:415
↓ 1 callersMethodpendingNexusOperationCount
pendingNexusOperationCount returns the number of pending Nexus operations in the workflow.
chasm/lib/workflow/nexus_methods.go:42
↓ 1 callersMethodperformPostResetOperations
performPostResetOperations performs the optional post reset operations on the reset workflow.
service/history/ndc/workflow_resetter.go:1185
↓ 1 callersMethodperiodicSync
()
service/matching/pri_backlog_manager.go:230
↓ 1 callersMethodperiodicSync
()
service/matching/fair_backlog_manager.go:218
↓ 1 callersMethodpersistAckBacklogCountLevel
(ctx context.Context)
service/matching/task_reader.go:283
↓ 1 callersFunctionpersistFirstWorkflowEvents
( ctx context.Context, shardContext historyi.ShardContext, workflowEvents *persistence.WorkflowEvents, )
service/history/workflow/transaction_impl.go:275
↓ 1 callersFunctionpersistNonFirstWorkflowEvents
( ctx context.Context, shardContext historyi.ShardContext, workflowEvents *persistence.WorkflowEvents, )
service/history/workflow/transaction_impl.go:310
↓ 1 callersMethodpersistPendingCallbacks
persistPendingCallbacks writes one WorkflowExecutionOptionsUpdatedEvent per buffered AttachCallbacks callback, skipping any whose requestID is already
service/history/workflow/update/update.go:466
↓ 1 callersMethodpersistTopKFairnessKeys
(subqueue subqueueIndex, entries []counter.TopKEntry)
service/matching/db.go:426
↓ 1 callersMethodpickCompactCandidates
( candidates []compactCandidate, numSliceToCompact int, )
service/history/queues/action_slice_count.go:178
↓ 1 callersMethodpickPasses
(tasks []*writeTaskRequest, bases []fairLevel)
service/matching/fair_task_writer.go:118
↓ 1 callersMethodpickRandomVertex
( nextVertex Vertex, )
common/testing/event_generator.go:319
↓ 1 callersMethodpickReadPartitionWithFewestPolls
caller to ensure that lock is obtained before call this function
client/matching/loadbalancer.go:183
↓ 1 callersFunctionpointerTo
(val any)
common/masker/masker.go:67
↓ 1 callersMethodpollActivityAndHandleErr
( env *testcore.TestEnv, tv *testvars.TestVars, handler func(task *workflowservice.PollActivityTaskQueueRes
tests/versioning_3_test.go:4826
↓ 1 callersMethodpollActivityFromDeployment
(ctx context.Context, env *testcore.TestEnv, tv *testvars.TestVars)
tests/worker_deployment_version_test.go:107
↓ 1 callersMethodpollActivityTask
( ctx context.Context, opts *options, )
common/testing/taskpoller/taskpoller.go:556
↓ 1 callersMethodpollActivityTaskQueue
( ctx context.Context, pc PartitionCounts, request *matchingservice.PollActivityTaskQueueRequest, opts []g
client/matching/client.go:240
↓ 1 callersMethodpollAndAcceptCompleteUpdate
(updateId string)
tests/xdc/history_replication_signals_and_updates_test.go:756
↓ 1 callersMethodpollAndAcceptUpdate
()
tests/xdc/history_replication_signals_and_updates_test.go:726
↓ 1 callersMethodpollAndHandleLegacyQuery
( ctx context.Context, opts *options, handler func(task *workflowservice.PollWorkflowTaskQueueResponse) (*w
common/testing/taskpoller/taskpoller.go:407
↓ 1 callersMethodpollAndHandleTask
( ctx context.Context, opts *options, handler func(task *workflowservice.PollNexusTaskQueueResponse) (*work
common/testing/taskpoller/taskpoller.go:178
↓ 1 callersMethodpollAndHandleTask
( ctx context.Context, opts *options, handler func(task *workflowservice.PollWorkflowTaskQueueResponse) (*w
common/testing/taskpoller/taskpoller.go:436
↓ 1 callersMethodpollAndHandleTask
( ctx context.Context, opts *options, handler func(task *workflowservice.PollActivityTaskQueueResponse) (*w
common/testing/taskpoller/taskpoller.go:583
↓ 1 callersMethodpollComponent
( ctx context.Context, requestRef chasm.ComponentRef, monotonicPredicate func(chasm.Context, chasm.Componen
service/history/chasm_engine.go:693
↓ 1 callersMethodpollNexusTaskAndHandle
( env *testcore.TestEnv, tv *testvars.TestVars, sticky bool, async chan<- any, handler func(task *workflo
tests/versioning_3_test.go:4776
↓ 1 callersMethodpollNexusTaskQueue
( ctx context.Context, pc PartitionCounts, request *matchingservice.PollNexusTaskQueueRequest, opts []grpc
client/matching/client.go:412
↓ 1 callersMethodpollNexusTaskQueueResponse
pollNexusTaskQueueResponse returns the poll response for a nexus task that is ready for dispatching. This method should only be called when isStarted(
service/matching/task.go:308
↓ 1 callersMethodpollOnce
()
common/dynamicconfig/collection.go:170
↓ 1 callersMethodpollProcessReplicationTasks
()
service/history/replication/task_processor.go:220
↓ 1 callersMethodpollTask
( ctx context.Context, opts *options, )
common/testing/taskpoller/taskpoller.go:151
↓ 1 callersMethodpollTaskQueue
(workerShutdownCh <-chan struct{})
common/tasks/sequential_scheduler.go:254
↓ 1 callersMethodpollUntilChildWorkflowTask
( env *testcore.TestEnv, tv *testvars.TestVars, childWorkflowID string, handleChild func(*workflowservice.
tests/versioning_3_test.go:2356
↓ 1 callersMethodpollWftAndHandleQueries
( env *testcore.TestEnv, tv *testvars.TestVars, sticky bool, async chan<- any, handler func(task *workflo
tests/versioning_3_test.go:4744
↓ 1 callersMethodpollWorkflowResult
(ctx context.Context, runId string)
tests/xdc/history_replication_signals_and_updates_test.go:965
↓ 1 callersMethodpollWorkflowTaskQueue
( ctx context.Context, pc PartitionCounts, request *matchingservice.PollWorkflowTaskQueueRequest, opts []g
client/matching/client.go:281
↓ 1 callersMethodpollWorkflowTaskQueue
(ns namespace.Name)
tests/namespace_interceptor_test.go:78
↓ 1 callersMethodpollWorkflowTasksAndScheduleActivities
(env *taskQueueStatsContext, params workflowTasksAndActivitiesPollerParams)
tests/task_queue_stats_test.go:945
↓ 1 callersMethodpollWorkflowTasksConcurrently
pollWorkflowTasksConcurrently polls tasks using numWorkers concurrently
service/matching/matching_engine_test.go:3691
↓ 1 callersMethodpopulateGetReplicationDLQTasksResponse
( rows []sqlplugin.ReplicationDLQTasksRow, exclusiveMaxTaskID int64, batchSize int, )
common/persistence/sql/execution_tasks.go:531
↓ 1 callersMethodpopulateGetReplicationTasksResponse
( rows []sqlplugin.ReplicationTasksRow, exclusiveMaxTaskID int64, batchSize int, )
common/persistence/sql/execution_tasks.go:502
↓ 1 callersMethodpostValidate
postValidate update tracked task info
service/matching/task_validation.go:148
↓ 1 callersMethodpreValidate
preValidate track a task and return if validation should be done
service/matching/task_validation.go:85
↓ 1 callersMethodpredicateSatisfied
predicateSatisfied is a helper function for PollComponent. It returns (ref, err) where ref is non-nil iff there's no error and predicate evaluates to
service/history/chasm_engine.go:751
↓ 1 callersMethodpreorderAndAssertParent
( n *Node, parent *Node, )
chasm/tree_test.go:3128
↓ 1 callersMethodprepareMutableStateWithReadyNexusCompletionCallback
()
service/history/statemachine_environment_test.go:399
↓ 1 callersMethodprepareNewWorkflow
prepareNewWorkflow creates a new workflow context, and closes its mutable state transaction as snapshot. It returns the creationContext which can late
service/history/api/startworkflow/api.go:251
↓ 1 callersMethodpreparePointerValue
()
chasm/tree.go:630
↓ 1 callersFunctionprepareQuery
(query string)
service/matching/workers/worker_query_engine.go:191
↓ 1 callersMethodprepareSearchAttributesForDb
( request *store.InternalVisibilityRequestBase, )
common/persistence/visibility/store/sql/visibility_store.go:781
↓ 1 callersFunctionprepareTaskQueueUserData
( tqud *persistencespb.TaskQueueUserData, taskQueueType enumspb.TaskQueueType, )
service/matching/matching_engine.go:3456
↓ 1 callersMethodprepareTempDirs
()
cmd/tools/protogen/main.go:187
↓ 1 callersFunctionprettyPrintMap
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:50
↓ 1 callersMethodprint
(f string, args ...any)
cmd/tools/protoc-gen-go-chasm/main.go:25
↓ 1 callersFunctionprintRecords
( records []map[string]any, )
common/persistence/cassandra/errors.go:286
↓ 1 callersFunctionprintResults
(t *testing.T, results chan enqueueMessageResult)
common/persistence/tests/cassandra_test.go:649
↓ 1 callersFunctionprintValidationResult
( mutableState *MutableState, results []MutableStateValidationResult, metricsHandler metrics.Handler, logg
service/worker/scanner/executions/task.go:255
↓ 1 callersMethodprocess
process is a callback function that gets invoked from within the executor.Run() method
service/worker/scanner/taskqueue/scavenger.go:166
↓ 1 callersFunctionprocessActivityOptionsUpdate
( validator *api.CommandAttrValidator, mutableState historyi.MutableState, namespaceID string, ai *persist
service/history/api/updateactivityoptions/api.go:170
← previousnext →12,501–12,600 of 43,335, ranked by callers