Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 2 callers
Method
parseSQLVal
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 callers
Function
parseSerialConsistency
(serialConsistency string)
common/config/persistence.go:278
↓ 2 callers
Method
parseTLSAndAuthInfo
(r *http.Request, nc *nexusContext)
service/frontend/nexus_operation_http_handler.go:277
↓ 2 callers
Function
parseTestTimeouts
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 callers
Function
parseTripleDashTestName
parseTripleDashTestName parses Go test failure lines and returns the test name if present.
tools/testrunner/log.go:184
↓ 2 callers
Function
parseVersionedTransitionAttributes
( versionedTransition *replicationspb.VersionedTransitionArtifact, )
service/history/ndc/workflow_state_replicator.go:345
↓ 2 callers
Function
payloadsMapSize
(fields map[string]*commonpb.Payload)
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1411
↓ 2 callers
Function
pct
pct returns percentage of num/denom, returning 0 if denom is 0.
tools/flakereport/writer.go:194
↓ 2 callers
Method
performVersionCheck
( ctx context.Context, )
service/frontend/version_checker.go:86
↓ 2 callers
Function
permissionToRole
(permission string)
common/authorization/default_jwt_claim_mapper.go:203
↓ 2 callers
Method
persistAsBrandNew
( ctx context.Context, shardContext historyi.ShardContext, newExecutionParams newExecutionParams, )
service/history/chasm_engine.go:916
↓ 2 callers
Method
persistCallback
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 callers
Method
ping
(ctx context.Context, pingables []pingable.Pingable)
common/deadlock/deadlock.go:169
↓ 2 callers
Method
poll
( ctx context.Context, pollMetadata *pollMetadata, queryOnly bool, )
service/matching/pri_matcher.go:603
↓ 2 callers
Method
pollAndDispatchNexusTask
( env *testcore.TestEnv, tv *testvars.TestVars, nexusRequest *matchingservice.DispatchNexusTaskRequest, )
tests/versioning_3_test.go:1541
↓ 2 callers
Method
pollTask
revive:disable-next-line:cognitive-complexity
common/testing/taskpoller/taskpoller.go:341
↓ 2 callers
Method
pollWorkflowTasks
pollWorkflowTasks polls tasks sequentially
service/matching/matching_engine_test.go:3671
↓ 2 callers
Method
pollWorkflowTasksAndScheduleActivitiesParallel
(env *taskQueueStatsContext, params ...workflowTasksAndActivitiesPollerParams)
tests/task_queue_stats_test.go:927
↓ 2 callers
Method
populateGetReplicationTasksResponse
( query gocql.Query, operation string, )
common/persistence/cassandra/mutable_state_task_store.go:701
↓ 2 callers
Function
populateTaskGeneratorProvider
(provider TaskGeneratorProvider)
service/history/workflow/task_generator_provider.go:30
↓ 2 callers
Function
pow
(base, exponent T)
service/history/workflow/retry_test.go:316
↓ 2 callers
Function
predicatesEqual
predicatesEqual assumes there's no duplication in the given slices of predicates
common/predicates/and.go:101
↓ 2 callers
Function
prefixScheduleIDSQLValues
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 callers
Method
prepareBranch
( ctx context.Context, incomingVersionHistory *historyspb.VersionHistory, incomingFirstEventID int64, inco
service/history/ndc/branch_manager.go:90
↓ 2 callers
Method
prepareDataValue
( chasmContext Context, valueT reflect.Type, )
chasm/tree.go:601
↓ 2 callers
Method
prepareMutableStateWithTriggeredNexusCompletionCallback
()
service/history/statemachine_environment_test.go:436
↓ 2 callers
Method
prepareNext
()
common/cache/lru.go:93
↓ 2 callers
Function
prepareQuery
(query string)
service/history/workflow/matcher/evaluator.go:36
↓ 2 callers
Function
prepareRequest
(route routing.Route[T], w http.ResponseWriter, r *http.Request)
service/frontend/nexus_operation_http_handler.go:267
↓ 2 callers
Method
prepareResetWorkflow
( ctx context.Context, namespaceID namespace.ID, workflowID string, baseRunID string, baseBranchToken []b
service/history/ndc/workflow_resetter.go:262
↓ 2 callers
Method
prepareRowForDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/postgresql/visibility.go:161
↓ 2 callers
Method
prepareRowForDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/mysql/visibility.go:298
↓ 2 callers
Method
prepareRowForDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/sqlite/visibility.go:155
↓ 2 callers
Method
prepareSchedulerQuery
prepareSchedulerQuery validates a scheduler RPC's query argument, and wraps it in the appropriate base query.
service/frontend/workflow_handler.go:5049
↓ 2 callers
Method
prepareSingleRun
(env *testcore.TestEnv, workflowID string, isRunning bool)
tests/workflow_reset_test.go:481
↓ 2 callers
Method
prepareStartWorkflowRequest
Validates the request and sets default values where they are missing.
service/frontend/workflow_handler.go:602
↓ 2 callers
Method
prepareUpdateWorkflowRequest
( request *workflowservice.UpdateWorkflowExecutionRequest, )
service/frontend/workflow_handler.go:5331
↓ 2 callers
Method
prependGroup
(attr slog.Attr)
common/log/slog.go:89
↓ 2 callers
Function
prettyPrintPointer
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:108
↓ 2 callers
Function
prettyPrintSlice
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:70
↓ 2 callers
Method
print
(c *cli.Context, execute bool)
tools/tdbg/commands.go:1239
↓ 2 callers
Function
printTable
(items []any, writer io.Writer)
tools/tdbg/util.go:245
↓ 2 callers
Method
printTask
printTask writes a single task's dispatch info to the writer.
tools/fairsim/sim.go:197
↓ 2 callers
Function
processConfigFile
processConfigFile processes a config file, rendering it as a template if enabled
common/config/loader.go:227
↓ 2 callers
Function
processDir
(dir string)
tools/parallelize/parallelize.go:33
↓ 2 callers
Function
processFile
(path string)
tools/parallelize/parallelize.go:45
↓ 2 callers
Method
processInputPartition
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 callers
Method
processPageToken
( params *client.SearchParameters, pageToken *visibilityPageToken, namespaceName namespace.Name, )
common/persistence/visibility/store/elasticsearch/visibility_store.go:674
↓ 2 callers
Method
processRowFromDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/postgresql/visibility.go:182
↓ 2 callers
Method
processRowFromDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/mysql/visibility.go:319
↓ 2 callers
Method
processRowFromDB
(row *sqlplugin.VisibilityRow)
common/persistence/sql/sqlplugin/sqlite/visibility.go:182
↓ 2 callers
Function
processServiceFile
processServiceFile enumerates all methods in a service file and adds excluded categories to excludedAPIs.
common/rpc/interceptor/health_check.go:87
↓ 2 callers
Method
processSingleActivityTimeoutTask
( mutableState historyi.MutableState, timerSequenceID workflow.TimerSequenceID, ai *persistencespb.Activity
service/history/timer_queue_active_task_executor.go:284
↓ 2 callers
Method
processTask
processTask records stats for a dispatched task and returns the latency.
tools/fairsim/sim.go:188
↓ 2 callers
Method
processUpdateCallbacks
processUpdateCallbacks triggers "UpdateFinished" callbacks using the CHASM implementation.
service/history/workflow/mutable_state_impl.go:5814
↓ 2 callers
Method
processWatcherResult
(id string, f workflow.Future, long bool)
service/worker/scheduler/workflow.go:865
↓ 2 callers
Method
processWorkflowsWithProactiveFetching
processWorkflowsWithProactiveFetching handles the core logic for both batch activity functions nolint:revive,cognitive-complexity
service/worker/batcher/activities.go:174
↓ 2 callers
Method
progress
TODO: Remove this implementation once transition history is fully implemented.
components/callbacks/statemachine.go:110
↓ 2 callers
Function
protoEq
(x proto.Message)
chasm/tree_test.go:4107
↓ 2 callers
Method
publishConsumeWorkflowTasksValidateStats
Publishes versioned and unversioned entities; with one entity per priority (plus default priority). Multiplied by `sets`.
tests/task_queue_stats_test.go:792
↓ 2 callers
Method
purgeMessages
purgeMessages from the DLQ up to and including the specified message ID, blocking until the purge workflow completes.
tests/dlq_test.go:440
↓ 2 callers
Method
pushToMatching
( ctx context.Context, activityRef chasm.ComponentRef, )
chasm/lib/activity/activity_tasks.go:63
↓ 2 callers
Method
pushWorkflowTask
( ctx context.Context, task *tasks.WorkflowTask, taskqueue *taskqueuepb.TaskQueue, workflowTaskScheduleToS
service/history/transfer_queue_task_executor_base.go:147
↓ 2 callers
Method
put
(key EventKey, event *historypb.HistoryEvent)
service/history/events/cache.go:215
↓ 2 callers
Method
putInternal
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 callers
Method
putInternal
(key any, value any, allowUpdate bool)
common/cache/simple.go:158
↓ 2 callers
Function
queryDirectlyThroughMatching
( ctx context.Context, msResp *historyservice.GetMutableStateResponse, nsEntry *namespace.Namespace, names
service/history/api/queryworkflow/api.go:312
↓ 2 callers
Method
queryPrefix
(ctx context.Context, uri archiver.URI, request *queryVisibilityRequest, saTypeMap searchattribute.NameTypeMap
common/archiver/gcloud/visibility_archiver.go:220
↓ 2 callers
Method
queryPrefix
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 callers
Method
queryWorkflow
( env *testcore.TestEnv, tv *testvars.TestVars, )
tests/versioning_3_test.go:4668
↓ 2 callers
Function
randInt
(testHash uint32, hashLen, padLen, randomLen int)
common/testing/testvars/rand.go:8
↓ 2 callers
Method
randomIteratorsInRange
( r Range, numIterators int, paginationFnProvider PaginationFnProvider, )
service/history/queues/slice_test.go:733
↓ 2 callers
Function
randomTaskInfoWithAgeTaskID
(age time.Duration, TaskID int64)
service/matching/physical_task_queue_manager_test.go:221
↓ 2 callers
Method
rangeSelectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/postgresql/task_queues.go:111
↓ 2 callers
Method
rangeSelectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/mysql/task_queues.go:111
↓ 2 callers
Method
rangeSelectFromTaskQueues
( ctx context.Context, filter sqlplugin.TaskQueuesFilter, v sqlplugin.MatchingTaskVersion, )
common/persistence/sql/sqlplugin/sqlite/task_queues.go:111
↓ 2 callers
Method
rateAndFullLocked
()
service/matching/task_tracker.go:109
↓ 2 callers
Method
reEnqueueAfterDelay
(duration time.Duration)
service/matching/task_reader.go:300
↓ 2 callers
Function
readConfigFile
(path string)
common/config/loader.go:217
↓ 2 callers
Method
readHistoryBranch
( ctx context.Context, byBatch bool, request *ReadHistoryBranchRequest, )
common/persistence/history_manager.go:902
↓ 2 callers
Method
readManager
(nsName namespace.Name)
common/persistence/visibility/manager_selector.go:14
↓ 2 callers
Function
readManifest
readManifest reads the json manifest at dirPath into a manifest struct.
tools/common/schema/updatetask.go:268
↓ 2 callers
Method
readMessagesWithAckLevel
( ctx context.Context, sourceCluster string, lastMessageID int64, pageSize int, pageToken []byte, )
service/history/replication/dlq_handler.go:216
↓ 2 callers
Method
readRawHistoryBranch
( ctx context.Context, branchToken []byte, shardID int32, branchAncestors []*persistencespb.HistoryBranchR
common/persistence/history_manager.go:608
↓ 2 callers
Method
readRawHistoryBranchAndFilter
( ctx context.Context, request *ReadHistoryBranchRequest, )
common/persistence/history_manager.go:727
↓ 2 callers
Method
readTransferTasks
(file *os.File)
tests/dlq_test.go:602
↓ 2 callers
Method
rebuild
rebuild rebuilds a workflow, in case of any kind of corruption
service/history/workflow_rebuilder.go:35
↓ 2 callers
Method
rebuildableCheck
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 callers
Method
reconcileInboundStreams
()
service/history/replication/stream_receiver_monitor.go:163
↓ 2 callers
Method
record
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 callers
Method
recordActionPayloadMetrics
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 callers
Method
recordActionResult
recordActionResult updates the Scheduler's customer-facing metrics. RunningWorkflows and RecentActions are computed from BufferedStarts.
chasm/lib/scheduler/scheduler.go:543
↓ 2 callers
Method
recordAdd
(metricsHandler metrics.Handler)
common/persistence/visibility/store/elasticsearch/processor.go:403
↓ 2 callers
Method
recordArchiveTargetResult
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 callers
Method
recordChildExecutionStarted
( ctx context.Context, task *tasks.StartChildExecutionTask, wfContext historyi.WorkflowContext, initiatedA
service/history/transfer_queue_active_task_executor.go:1355
↓ 2 callers
Method
recordCompletedAction
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 callers
Method
recordExecuteResult
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 callers
Method
recordNewTasksLocked
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 callers
Method
recordOperationTimeout
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 callers
Method
recordScanError
(nsName, subScanner string, err error)
service/worker/scanner/scheduleinvariants/invariants.go:384
← previous
next →
8,701–8,800 of 43,335, ranked by callers