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
↓ 3 callers
Function
newTestNexusOperationHTTPHandler
( endpointRegistry commonnexus.EndpointRegistry, namespaceRegistry namespace.Registry, )
service/frontend/nexus_operation_http_handler_test.go:47
↓ 3 callers
Method
newTestProcessor
()
common/tasks/sequential_scheduler_test.go:383
↓ 3 callers
Function
newTestSchedule
()
chasm/lib/scheduler/migration/migration_test.go:19
↓ 3 callers
Function
newTimerQueueTaskExecutorBase
( shardContext historyi.ShardContext, workflowCache wcache.Cache, deleteManager deletemanager.DeleteManager
service/history/timer_queue_task_executor_base.go:53
↓ 3 callers
Function
newTransferQueueActiveTaskExecutor
( shard historyi.ShardContext, workflowCache wcache.Cache, sdkClientFactory sdk.ClientFactory, logger log.
service/history/transfer_queue_active_task_executor.go:63
↓ 3 callers
Method
newUUID
(ctx workflow.Context)
service/worker/workerdeployment/workflow.go:1724
↓ 3 callers
Method
newUUIDString
()
service/worker/scheduler/workflow.go:1679
↓ 3 callers
Function
newValidator
()
common/config/validator.go:10
↓ 3 callers
Function
newWorkflowSizeChecker
( limits workflowSizeLimits, mutableState historyi.MutableState, searchAttributesValidator *searchattribute
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:38
↓ 3 callers
Function
newWorkflowTaskFailedCause
(failedCause enumspb.WorkflowTaskFailedCause, causeErr error, terminatesWorkflow bool)
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1586
↓ 3 callers
Method
nodeBase
()
chasm/tree_test.go:3170
↓ 3 callers
Function
normalizeAndValidate
( taskQueue *taskqueuepb.TaskQueue, defaultName string, maxIDLengthLimit int, expectRootPartition bool, )
common/tqid/task_queue_validator.go:87
↓ 3 callers
Method
notify
( clusterName string, now time.Time, )
service/history/ndc/history_replicator.go:862
↓ 3 callers
Method
notifyNexusEndpointsOwnershipChange
()
service/matching/matching_engine.go:2765
↓ 3 callers
Method
notifyWaiters
()
common/locks/priority_semaphore_impl.go:186
↓ 3 callers
Method
objectCount
()
common/testing/objectleak/report.go:207
↓ 3 callers
Function
operationResult
OperationResult returns tag for OperationResult
common/log/tag/tags.go:393
↓ 3 callers
Method
outcome
(ctx chasm.Context)
chasm/lib/nexusoperation/operation.go:486
↓ 3 callers
Method
overlapPolicy
()
chasm/lib/scheduler/scheduler.go:435
↓ 3 callers
Method
overrideDynamicConfigForClusterLifetime
(name dynamicconfig.Key, value any)
tests/testcore/onebox.go:937
↓ 3 callers
Function
paginateWorkers
paginateWorkers applies cursor-based pagination to a list of workers. Workers are sorted by WorkerInstanceKey for deterministic ordering. Returns the
service/matching/workers/registry_impl.go:449
↓ 3 callers
Function
panicIfErr
(err error)
service/worker/scheduler/workflow.go:1698
↓ 3 callers
Function
parseArtifactName
parseArtifactName extracts run_id, job_id, and matrix_name from artifact name. Functional tests: junit-xml--{run_id}--{job_id}--{run_attempt}--{matrix
tools/flakereport/github.go:202
↓ 3 callers
Function
parseFlags
parseFlags creates a FlagSet, calls setup to register flags, and parses args. Returns remaining (non-flag) arguments.
tools/fairsim/sim.go:73
↓ 3 callers
Function
parseOptionsMap
(value string)
tools/cassandra/handler.go:183
↓ 3 callers
Function
parsePartitionCounts
(hdr string)
client/matching/partition_counts.go:63
↓ 3 callers
Function
parseTime
(timeStr string, defaultValue time.Time, now time.Time)
tools/tdbg/util.go:68
↓ 3 callers
Function
pemEncodeToFile
(file string, block *pem.Block)
tests/testutils/tls.go:170
↓ 3 callers
Function
percentileOfPercentiles
(dataByKey map[string][]T, keyPercentile float64, crossPercentile []float64)
tools/fairsim/sim.go:583
↓ 3 callers
Method
persistHistoryAndSerializeMutableState
( ctx context.Context, mutableState historyi.MutableState, mutableStateSpec MutableStateInitializationSpec,
service/history/ndc/history_importer.go:278
↓ 3 callers
Method
persistToDB
( ctx context.Context, baseWorkflow Workflow, currentWorkflow Workflow, currentWorkflowMutation *persisten
service/history/ndc/workflow_resetter.go:339
↓ 3 callers
Method
pickClientForRead
pickClientForRead mutates the given proto. Callers should copy the proto before if necessary.
client/matching/client.go:478
↓ 3 callers
Method
poll
( ctx context.Context, pollMetadata *pollMetadata, queryOnly bool, )
service/matching/matcher.go:410
↓ 3 callers
Method
pollActivities
(count int, tqName string)
tests/task_queue_stats_test.go:1293
↓ 3 callers
Method
pollActivityTaskQueueResponse
pollActivityTaskQueueResponse returns the poll response for an activity task that is already marked as started. This method should only be called when
service/matching/task.go:299
↓ 3 callers
Method
pollContext
(ctx context.Context, meta *pollMetadata)
service/matching/matcher_data_test.go:81
↓ 3 callers
Method
pollFromDeploymentExpectFail
(env *VersioningTestEnv, tv *testvars.TestVars, expectedError string)
tests/worker_deployment_test.go:103
↓ 3 callers
Method
pollFromDeploymentUntil
(ctx context.Context, env *VersioningTestEnv, tv *testvars.TestVars)
tests/worker_deployment_test.go:79
↓ 3 callers
Method
pollFromDeploymentWithTaskQueueNumber
(env *VersioningTestEnv, tv *testvars.TestVars, taskQueueNumber int)
tests/worker_deployment_test.go:94
↓ 3 callers
Method
pollImmediately
(meta *pollMetadata)
service/matching/matcher_data_test.go:89
↓ 3 callers
Method
pollWorkflowTaskQueue
(env *testcore.TestEnv)
tests/eager_workflow_start_test.go:97
↓ 3 callers
Method
pollWorkflowTaskQueueResponse
pollWorkflowTaskQueueResponse returns the poll response for a workflow task that is already marked as started. This method should only be called when
service/matching/task.go:290
↓ 3 callers
Method
popTask
popTask returns the task with minimum (pri, pass, index) from a random partition.
tools/fairsim/sim.go:377
↓ 3 callers
Method
predefined
()
common/searchattribute/name_type_map.go:104
↓ 3 callers
Function
prettyPrintStruct
(b *strings.Builder, v reflect.Value, depth int)
common/testing/protoassert/pretty_print.go:84
↓ 3 callers
Method
processUpdateCloseCallbacks
processUpdateCloseCallbacks triggers only update-level callbacks, leaving workflow-level callbacks untouched. This is used when the workflow is contin
service/history/workflow/mutable_state_impl.go:7176
↓ 3 callers
Function
queryRegistry
(k Key)
common/dynamicconfig/registry.go:33
↓ 3 callers
Method
queryWorkflowWithRetry
(ctx context.Context, req *historyservice.QueryWorkflowRequest)
service/worker/workerdeployment/client.go:477
↓ 3 callers
Method
randomExecutablesInRange
( r Range, numExecutables int, )
service/history/queues/slice_test.go:719
↓ 3 callers
Method
rawNextTime
Returns the next matching time (without jitter), or the zero value if no time matches.
service/worker/scheduler/spec.go:302
↓ 3 callers
Method
readDLQTasks
readDLQTasks from the transfer task DLQ for this cluster and return them.
tests/dlq_test.go:507
↓ 3 callers
Method
readWithError
(branch []byte, minID, maxID int64)
common/persistence/persistence-tests/history_v2_persistence.go:741
↓ 3 callers
Method
reapplyEvents
( ctx context.Context, mutableState historyi.MutableState, events []*historypb.HistoryEvent, resetReapplyE
service/history/ndc/workflow_resetter.go:829
↓ 3 callers
Method
reapplyEventsFromBranch
( ctx context.Context, mutableState historyi.MutableState, firstEventID int64, nextEventID int64, branchT
service/history/ndc/workflow_resetter.go:766
↓ 3 callers
Method
reconcileOutboundStreams
()
service/history/replication/stream_receiver_monitor.go:168
↓ 3 callers
Function
recordActivityTaskStarted
( ctx context.Context, shardContext historyi.ShardContext, mutableState historyi.MutableState, request *hi
service/history/api/recordactivitytaskstarted/api.go:104
↓ 3 callers
Method
recordAttempt
(ts time.Time)
components/callbacks/statemachine.go:74
↓ 3 callers
Method
recordAttempt
(ts time.Time)
chasm/lib/callback/component.go:70
↓ 3 callers
Method
recordInvalidated
( scheduler *Scheduler, reason metrics.ReasonString, scheduledTime time.Time, recomputedDeadline time.Time
chasm/lib/scheduler/scheduler_tasks.go:106
↓ 3 callers
Method
recordNexusTaskRequest
recordNexusTaskRequest emits the nexus_task_requests metric with namespace, operation, client_name, and is_internal tags.
service/matching/handler.go:163
↓ 3 callers
Method
recordRetry
( item tasks.Task, attempt int64, err error, )
service/history/replication/stream_sender.go:735
↓ 3 callers
Method
recvEventLoop
()
service/history/replication/stream_sender.go:172
↓ 3 callers
Method
reevalLocked
()
common/dynamicconfig/gradual_change.go:176
↓ 3 callers
Method
refresh
()
common/persistence/nosql/nosqlplugin/cassandra/gocql/session.go:63
↓ 3 callers
Method
refreshInternalRateLimiterImpl
( newRate *float64, newBurst *int, )
common/quotas/rate_limiter_impl.go:86
↓ 3 callers
Method
refreshMetricsHandlers
(executionMetricTags []metrics.Tag)
service/history/queues/executable.go:839
↓ 3 callers
Method
refreshTasksForActivity
( ctx context.Context, mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransi
service/history/workflow/task_refresher.go:378
↓ 3 callers
Method
refreshTasksForRecordWorkflowStarted
( ctx context.Context, mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransi
service/history/workflow/task_refresher.go:297
↓ 3 callers
Method
refreshTasksForWorkflowClose
( ctx context.Context, mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransi
service/history/workflow/task_refresher.go:263
↓ 3 callers
Method
refreshTasksForWorkflowSearchAttr
( mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransition *persistencespb.V
service/history/workflow/task_refresher.go:620
↓ 3 callers
Method
refreshWorkflowTaskTasks
( mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransition *persistencespb.V
service/history/workflow/task_refresher.go:329
↓ 3 callers
Method
registerOutstandingPollContext
( ctx context.Context, pollerID string, namespaceID string, )
service/frontend/workflow_handler.go:6555
↓ 3 callers
Method
registerWorkflowAndPollVersionedTaskQueue
( env *testcore.TestEnv, tq, buildID string, useVersioning bool, )
tests/versioning_test.go:4688
↓ 3 callers
Method
renewRangeLocked
(isStealing bool)
service/history/shard/context_impl.go:1155
↓ 3 callers
Method
replaceRedirectRule
replaceRedirectRule replaces a new versioning redirect rule to the task queue user data. It checks the response and returns the conflict token.
tests/versioning_test.go:4569
↓ 3 callers
Method
reportTimeout
(tb testing.TB, funcName, timeoutMsg string)
common/testing/await/report.go:48
↓ 3 callers
Method
requestCancelExternalExecutionFailed
( ctx context.Context, task *tasks.CancelExecutionTask, wfContext historyi.WorkflowContext, targetNamespac
service/history/transfer_queue_active_task_executor.go:1499
↓ 3 callers
Function
requireContains
(t *testing.T, expected []string, actual []string)
schema/embed_test.go:52
↓ 3 callers
Function
requireReportEquals
(t *testing.T, expectedFile, actualFile string)
tools/testrunner/junit_test.go:227
↓ 3 callers
Method
reschedulePendingWorkflowTask
reschedulePendingWorkflowTask reschedules the pending WFT if it is not started yet. The currently scheduled WFT will be rejected when attempting to st
service/history/workflow/mutable_state_impl.go:9847
↓ 3 callers
Method
resend
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, runID strin
service/history/replication/task_executor.go:430
↓ 3 callers
Method
reserveSlot
(t *testing.T)
tests/testcore/test_cluster_pool.go:88
↓ 3 callers
Method
resolveSearchAttributeAlias
( alias string, )
common/persistence/visibility/store/query/converter.go:495
↓ 3 callers
Method
retainWorkflowTaskBuildIdInfo
if this is a transient WFT (attempt > 1), we make sure to keep the following from the previous attempt: - BuildId of the previous attempt to be able t
service/history/workflow/workflow_task_state_machine.go:113
↓ 3 callers
Method
retryForever
(op func() error)
service/worker/scanner/taskqueue/db.go:99
↓ 3 callers
Method
revertOnError
revertOnError undoes every applied increment if *err is non-nil. Intended to be deferred against a function's named return error.
common/persistence/execution_manager.go:95
↓ 3 callers
Method
rowToInfo
( row *sqlplugin.VisibilityRow, chasmMapper *chasm.VisibilitySearchAttributesMapper, )
common/persistence/visibility/store/sql/visibility_store.go:824
↓ 3 callers
Method
runActivitiesWithPriorities
( env *testcore.TestEnv, tv *testvars.TestVars, fairnessKeysWithWeight map[string]float32, activitiesPerKe
tests/task_queue_test.go:849
↓ 3 callers
Function
runBisectForTest
runBisectForTest runs the full bisect pipeline for a single test name. commitMetas is a pre-populated, read-only cache of commit metadata (SHA → Commi
tools/flakereport/bisect.go:243
↓ 3 callers
Function
runCommand
(ctx context.Context, command string, args ...string)
cmd/tools/protogen/main.go:24
↓ 3 callers
Method
runForeverWithInterval
runForeverWithInterval runs scanFn immediately, then again on every tick of scanInterval, until the activity context is canceled or scanFn returns an
service/worker/scanner/scheduleinvariants/invariants.go:140
↓ 3 callers
Function
runIdleValidateTestCase
(t *testing.T, env *testEnv, c *idleValidateTestCase)
chasm/lib/scheduler/scheduler_idle_tasks_test.go:41
↓ 3 callers
Method
runNexusCompletionHTTPServer
(t *testing.T, h *completionHandler)
tests/callbacks_test.go:60
↓ 3 callers
Function
runRingpopTLSTest
(s *suite.Suite, serverA *factory, serverB *factory)
common/membership/ringpop/factory_test.go:178
↓ 3 callers
Method
runScan
runScan ties the per-scanner pieces together: list namespaces, fan out a single visibility query per namespace, and emit per-namespace metrics. Cluste
service/worker/scanner/scheduleinvariants/invariants.go:183
↓ 3 callers
Function
runScanActivity
runScanActivity executes the long-running scan activity. The activity is expected to run 'infinitely', timing out on server restart and being retried
service/worker/scanner/scheduleinvariants/workflows.go:96
↓ 3 callers
Method
runningWorkflowExecutions
runningWorkflowExecutions returns the list of workflow executions that have been started but not yet completed.
chasm/lib/scheduler/invoker.go:382
↓ 3 callers
Method
saveCancelationResult
(ctx context.Context, env hsm.Environment, ref hsm.Ref, callErr error, scheduledEventID int64)
components/nexusoperations/executors.go:862
↓ 3 callers
Method
saveResult
(ctx context.Context, env hsm.Environment, ref hsm.Ref, result *nexusrpc.ClientStartOperationResponse[*commonp
components/nexusoperations/executors.go:415
↓ 3 callers
Function
scaleStateToInfo
(scaleState *persistencespb.PartitionScaleState)
service/matching/scale_manager.go:420
← previous
next →
6,501–6,600 of 43,335, ranked by callers