MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersMethodparseSQLVal
parseSQLVal handles values for specific search attributes. Returns a string, an int64 or a float64 if there are no errors. For datetime, converts to U
common/persistence/visibility/store/query/converter.go:619
↓ 2 callersFunctionparseSerialConsistency
(serialConsistency string)
common/config/persistence.go:278
↓ 2 callersMethodparseTLSAndAuthInfo
(r *http.Request, nc *nexusContext)
service/frontend/nexus_operation_http_handler.go:277
↓ 2 callersFunctionparseTestTimeouts
parseTestTimeouts parses the stdout of a test run and returns the stacktrace and names of tests that timed out.
tools/testrunner/log.go:20
↓ 2 callersFunctionparseTripleDashTestName
parseTripleDashTestName parses Go test failure lines and returns the test name if present.
tools/testrunner/log.go:184
↓ 2 callersFunctionparseVersionedTransitionAttributes
( versionedTransition *replicationspb.VersionedTransitionArtifact, )
service/history/ndc/workflow_state_replicator.go:345
↓ 2 callersFunctionpayloadsMapSize
(fields map[string]*commonpb.Payload)
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1411
↓ 2 callersFunctionpct
pct returns percentage of num/denom, returning 0 if denom is 0.
tools/flakereport/writer.go:194
↓ 2 callersMethodperformVersionCheck
( ctx context.Context, )
service/frontend/version_checker.go:86
↓ 2 callersFunctionpermissionToRole
(permission string)
common/authorization/default_jwt_claim_mapper.go:203
↓ 2 callersMethodpersistAsBrandNew
( ctx context.Context, shardContext historyi.ShardContext, newExecutionParams newExecutionParams, )
service/history/chasm_engine.go:916
↓ 2 callersMethodpersistCallback
persistCallback writes a single WorkflowExecutionOptionsUpdatedEvent to attach the given requestID and completion callbacks, and deduplicate on reques
service/history/workflow/update/update.go:478
↓ 2 callersMethodping
(ctx context.Context, pingables []pingable.Pingable)
common/deadlock/deadlock.go:169
↓ 2 callersMethodpoll
( ctx context.Context, pollMetadata *pollMetadata, queryOnly bool, )
service/matching/pri_matcher.go:603
↓ 2 callersMethodpollAndDispatchNexusTask
( env *testcore.TestEnv, tv *testvars.TestVars, nexusRequest *matchingservice.DispatchNexusTaskRequest, )
tests/versioning_3_test.go:1541
↓ 2 callersMethodpollTask
revive:disable-next-line:cognitive-complexity
common/testing/taskpoller/taskpoller.go:341
↓ 2 callersMethodpollWorkflowTasks
pollWorkflowTasks polls tasks sequentially
service/matching/matching_engine_test.go:3671
↓ 2 callersMethodpollWorkflowTasksAndScheduleActivitiesParallel
(env *taskQueueStatsContext, params ...workflowTasksAndActivitiesPollerParams)
tests/task_queue_stats_test.go:927
↓ 2 callersMethodpopulateGetReplicationTasksResponse
( query gocql.Query, operation string, )
common/persistence/cassandra/mutable_state_task_store.go:701
↓ 2 callersFunctionpopulateTaskGeneratorProvider
(provider TaskGeneratorProvider)
service/history/workflow/task_generator_provider.go:30
↓ 2 callersFunctionpow
(base, exponent T)
service/history/workflow/retry_test.go:316
↓ 2 callersFunctionpredicatesEqual
predicatesEqual assumes there's no duplication in the given slices of predicates
common/predicates/and.go:101
↓ 2 callersFunctionprefixScheduleIDSQLValues
prefixScheduleIDSQLValues returns a copy of the SQL value expression with the V1 schedule WorkflowId prefix prepended to each string literal. Handles
service/worker/scheduler/schedule_id_query_rewriter.go:165
↓ 2 callersMethodprepareBranch
( ctx context.Context, incomingVersionHistory *historyspb.VersionHistory, incomingFirstEventID int64, inco
service/history/ndc/branch_manager.go:90
↓ 2 callersMethodprepareDataValue
( chasmContext Context, valueT reflect.Type, )
chasm/tree.go:601
↓ 2 callersMethodprepareMutableStateWithTriggeredNexusCompletionCallback
()
service/history/statemachine_environment_test.go:436
↓ 2 callersMethodprepareNext
()
common/cache/lru.go:93
↓ 2 callersFunctionprepareQuery
(query string)
service/history/workflow/matcher/evaluator.go:36
↓ 2 callersFunctionprepareRequest
(route routing.Route[T], w http.ResponseWriter, r *http.Request)
service/frontend/nexus_operation_http_handler.go:267
↓ 2 callersMethodprepareResetWorkflow
( ctx context.Context, namespaceID namespace.ID, workflowID string, baseRunID string, baseBranchToken []b
service/history/ndc/workflow_resetter.go:262
↓ 2 callersMethodprepareRowForDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/postgresql/visibility.go:161
↓ 2 callersMethodprepareRowForDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/mysql/visibility.go:298
↓ 2 callersMethodprepareRowForDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/sqlite/visibility.go:155
↓ 2 callersMethodprepareSchedulerQuery
prepareSchedulerQuery validates a scheduler RPC's query argument, and wraps it in the appropriate base query.
service/frontend/workflow_handler.go:5049
↓ 2 callersMethodprepareSingleRun
(env *testcore.TestEnv, workflowID string, isRunning bool)
tests/workflow_reset_test.go:481
↓ 2 callersMethodprepareStartWorkflowRequest
Validates the request and sets default values where they are missing.
service/frontend/workflow_handler.go:602
↓ 2 callersMethodprepareUpdateWorkflowRequest
( request *workflowservice.UpdateWorkflowExecutionRequest, )
service/frontend/workflow_handler.go:5331
↓ 2 callersMethodprependGroup
(attr slog.Attr)
common/log/slog.go:89
↓ 2 callersFunctionprettyPrintPointer
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:108
↓ 2 callersFunctionprettyPrintSlice
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:70
↓ 2 callersMethodprint
(c *cli.Context, execute bool)
tools/tdbg/commands.go:1239
↓ 2 callersFunctionprintTable
(items []any, writer io.Writer)
tools/tdbg/util.go:245
↓ 2 callersMethodprintTask
printTask writes a single task's dispatch info to the writer.
tools/fairsim/sim.go:197
↓ 2 callersFunctionprocessConfigFile
processConfigFile processes a config file, rendering it as a template if enabled
common/config/loader.go:227
↓ 2 callersFunctionprocessDir
(dir string)
tools/parallelize/parallelize.go:33
↓ 2 callersFunctionprocessFile
(path string)
tools/parallelize/parallelize.go:45
↓ 2 callersMethodprocessInputPartition
processInputPartition returns a partition in certain cases that load balancer involvement is not necessary, otherwise, returns a task queue to pass do
client/matching/client.go:439
↓ 2 callersMethodprocessPageToken
( params *client.SearchParameters, pageToken *visibilityPageToken, namespaceName namespace.Name, )
common/persistence/visibility/store/elasticsearch/visibility_store.go:674
↓ 2 callersMethodprocessRowFromDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/postgresql/visibility.go:182
↓ 2 callersMethodprocessRowFromDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/mysql/visibility.go:319
↓ 2 callersMethodprocessRowFromDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/sqlite/visibility.go:182
↓ 2 callersFunctionprocessServiceFile
processServiceFile enumerates all methods in a service file and adds excluded categories to excludedAPIs.
common/rpc/interceptor/health_check.go:87
↓ 2 callersMethodprocessSingleActivityTimeoutTask
( mutableState historyi.MutableState, timerSequenceID workflow.TimerSequenceID, ai *persistencespb.Activity
service/history/timer_queue_active_task_executor.go:284
↓ 2 callersMethodprocessTask
processTask records stats for a dispatched task and returns the latency.
tools/fairsim/sim.go:188
↓ 2 callersMethodprocessUpdateCallbacks
processUpdateCallbacks triggers "UpdateFinished" callbacks using the CHASM implementation.
service/history/workflow/mutable_state_impl.go:5814
↓ 2 callersMethodprocessWatcherResult
(id string, f workflow.Future, long bool)
service/worker/scheduler/workflow.go:865
↓ 2 callersMethodprocessWorkflowsWithProactiveFetching
processWorkflowsWithProactiveFetching handles the core logic for both batch activity functions nolint:revive,cognitive-complexity
service/worker/batcher/activities.go:174
↓ 2 callersMethodprogress
TODO: Remove this implementation once transition history is fully implemented.
components/callbacks/statemachine.go:110
↓ 2 callersFunctionprotoEq
(x proto.Message)
chasm/tree_test.go:4107
↓ 2 callersMethodpublishConsumeWorkflowTasksValidateStats
Publishes versioned and unversioned entities; with one entity per priority (plus default priority). Multiplied by `sets`.
tests/task_queue_stats_test.go:792
↓ 2 callersMethodpurgeMessages
purgeMessages from the DLQ up to and including the specified message ID, blocking until the purge workflow completes.
tests/dlq_test.go:440
↓ 2 callersMethodpushToMatching
( ctx context.Context, activityRef chasm.ComponentRef, )
chasm/lib/activity/activity_tasks.go:63
↓ 2 callersMethodpushWorkflowTask
( ctx context.Context, task *tasks.WorkflowTask, taskqueue *taskqueuepb.TaskQueue, workflowTaskScheduleToS
service/history/transfer_queue_task_executor_base.go:147
↓ 2 callersMethodput
(key EventKey, event *historypb.HistoryEvent)
service/history/events/cache.go:215
↓ 2 callersMethodputInternal
Put puts a new value associated with a given key, returning the existing value (if present) allowUpdate flag is used to control overwrite behavior if
common/cache/lru.go:296
↓ 2 callersMethodputInternal
(key any, value any, allowUpdate bool)
common/cache/simple.go:158
↓ 2 callersFunctionqueryDirectlyThroughMatching
( ctx context.Context, msResp *historyservice.GetMutableStateResponse, nsEntry *namespace.Namespace, names
service/history/api/queryworkflow/api.go:312
↓ 2 callersMethodqueryPrefix
(ctx context.Context, uri archiver.URI, request *queryVisibilityRequest, saTypeMap searchattribute.NameTypeMap
common/archiver/gcloud/visibility_archiver.go:220
↓ 2 callersMethodqueryPrefix
queryPrefix returns all workflow executions in the archive that match the given prefix. The keyFilter function is an optional filter that can be used
common/archiver/s3store/visibility_archiver.go:304
↓ 2 callersMethodqueryWorkflow
( env *testcore.TestEnv, tv *testvars.TestVars, )
tests/versioning_3_test.go:4668
↓ 2 callersFunctionrandInt
(testHash uint32, hashLen, padLen, randomLen int)
common/testing/testvars/rand.go:8
↓ 2 callersMethodrandomIteratorsInRange
( r Range, numIterators int, paginationFnProvider PaginationFnProvider, )
service/history/queues/slice_test.go:733
↓ 2 callersFunctionrandomTaskInfoWithAgeTaskID
(age time.Duration, TaskID int64)
service/matching/physical_task_queue_manager_test.go:221
↓ 2 callersMethodrangeSelectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/postgresql/task_queues.go:111
↓ 2 callersMethodrangeSelectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/mysql/task_queues.go:111
↓ 2 callersMethodrangeSelectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/sqlite/task_queues.go:111
↓ 2 callersMethodrateAndFullLocked
()
service/matching/task_tracker.go:109
↓ 2 callersMethodreEnqueueAfterDelay
(duration time.Duration)
service/matching/task_reader.go:300
↓ 2 callersFunctionreadConfigFile
(path string)
common/config/loader.go:217
↓ 2 callersMethodreadHistoryBranch
( ctx context.Context, byBatch bool, request *ReadHistoryBranchRequest, )
common/persistence/history_manager.go:902
↓ 2 callersMethodreadManager
(nsName namespace.Name)
common/persistence/visibility/manager_selector.go:14
↓ 2 callersFunctionreadManifest
readManifest reads the json manifest at dirPath into a manifest struct.
tools/common/schema/updatetask.go:268
↓ 2 callersMethodreadMessagesWithAckLevel
( ctx context.Context, sourceCluster string, lastMessageID int64, pageSize int, pageToken []byte, )
service/history/replication/dlq_handler.go:216
↓ 2 callersMethodreadRawHistoryBranch
( ctx context.Context, branchToken []byte, shardID int32, branchAncestors []*persistencespb.HistoryBranchR
common/persistence/history_manager.go:608
↓ 2 callersMethodreadRawHistoryBranchAndFilter
( ctx context.Context, request *ReadHistoryBranchRequest, )
common/persistence/history_manager.go:727
↓ 2 callersMethodreadTransferTasks
(file *os.File)
tests/dlq_test.go:602
↓ 2 callersMethodrebuild
rebuild rebuilds a workflow, in case of any kind of corruption
service/history/workflow_rebuilder.go:35
↓ 2 callersMethodrebuildableCheck
rebuildableCheck checks if the mutable state is rebuildable error: - serviceerror.NewInvalidArgument: if the mutable state is not rebuildable - other
service/history/workflow_rebuilder.go:110
↓ 2 callersMethodreconcileInboundStreams
()
service/history/replication/stream_receiver_monitor.go:163
↓ 2 callersMethodrecord
record sends a logRecord to the logs channel. If there is no active receiver, the logRecord will be dropped.
tests/acquire_shard_test.go:67
↓ 2 callersMethodrecordActionPayloadMetrics
recordPayloadMetrics should be called after the customer's action is updated (or when the schedule is created) to record the size of their payloads.
service/worker/scheduler/workflow.go:954
↓ 2 callersMethodrecordActionResult
recordActionResult updates the Scheduler's customer-facing metrics. RunningWorkflows and RecentActions are computed from BufferedStarts.
chasm/lib/scheduler/scheduler.go:543
↓ 2 callersMethodrecordAdd
(metricsHandler metrics.Handler)
common/persistence/visibility/store/elasticsearch/processor.go:403
↓ 2 callersMethodrecordArchiveTargetResult
recordArchiveTargetResult takes an error pointer as an argument so that it isn't passed-by-value when used in a defer statement (this would make the e
service/history/archival/archiver.go:253
↓ 2 callersMethodrecordChildExecutionStarted
( ctx context.Context, task *tasks.StartChildExecutionTask, wfContext historyi.WorkflowContext, initiatedA
service/history/transfer_queue_active_task_executor.go:1355
↓ 2 callersMethodrecordCompletedAction
recordCompletedAction updates Invoker metadata and kicks off tasks after an action completes. It marks the BufferedStart as completed by setting the C
chasm/lib/scheduler/invoker.go:246
↓ 2 callersMethodrecordExecuteResult
recordExecuteResult updates the Invoker's internal state with the results of a completed InvokerExecuteTask. It returns the number of *new* actions re
chasm/lib/scheduler/invoker.go:160
↓ 2 callersMethodrecordNewTasksLocked
To add tasks to the matcher: call recordNewTasksLocked with tr.lock held, then release the lock and call addNewTasks. We call addTaskToMatcher outside
service/matching/pri_task_reader.go:275
↓ 2 callersMethodrecordOperationTimeout
recordOperationTimeout records the NEXUS_OPERATION_TIMED_OUT history event and transitions the operation to timed-out. It does NOT emit metrics; the c
components/nexusoperations/executors.go:650
↓ 2 callersMethodrecordScanError
(nsName, subScanner string, err error)
service/worker/scanner/scheduleinvariants/invariants.go:384
← previousnext →8,701–8,800 of 43,335, ranked by callers