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
scalingGroupUpdatesToWCI
(updates map[string]*computepb.ComputeConfigScalingGroupUpdate)
service/worker/workerdeployment/compute_util.go:32
↓ 3 callers
Method
scheduleTask
scheduleTask schedules a GeneratorTask at the given time.
chasm/lib/scheduler/generator.go:52
↓ 3 callers
Method
schedulesInNamespace
schedulesInNamespace returns an iterator over the business IDs of every schedule matching query in the given namespace (scoped to the Scheduler archet
service/worker/scanner/scheduleinvariants/invariants.go:296
↓ 3 callers
Function
searchAttributeKeyValuesToMap
(saSlice []SearchAttributeKeyValue)
chasm/tree.go:373
↓ 3 callers
Method
sendAlertLocked
(alert *Alert)
service/history/queues/monitor.go:297
↓ 3 callers
Method
sendEventLoop
(priority enumsspb.TaskPriority)
service/history/replication/stream_sender.go:216
↓ 3 callers
Function
sendUpdateNoErrorWaitPolicyAccepted
(s testcore.Env, tv *testvars.TestVars)
tests/update_workflow_utils.go:32
↓ 3 callers
Method
serialize
(p proto.Message)
common/persistence/serialization/serializer.go:290
↓ 3 callers
Function
serializeTasks
( serializer serialization.Serializer, inputTasks map[tasks.Category][]tasks.Task, )
common/persistence/execution_manager.go:1304
↓ 3 callers
Function
serializeToken
(token any)
common/archiver/filestore/util.go:142
↓ 3 callers
Method
setActive
(ctx context.Context, clusterName string)
tests/xdc/history_replication_signals_and_updates_test.go:939
↓ 3 callers
Method
setMaxReadLevelForTesting
This is only exposed for testing!
service/matching/db.go:142
↓ 3 callers
Method
setNullableFields
setNullableFields sets fields that are nullable in API requests.
chasm/lib/scheduler/scheduler.go:206
↓ 3 callers
Method
setRamping
( env *testcore.TestEnv, tv *testvars.TestVars, percentage float32, )
tests/worker_deployment_version_test.go:1783
↓ 3 callers
Method
setRampingVersion
TODO (Shivam): We may have to wait for the propagation status to show completed if we are using async workflows here.
tests/task_queue_stats_test.go:1069
↓ 3 callers
Method
setState
(state *flowControlState, flowControlCommand enumsspb.ReplicationFlowControlCommand)
service/history/replication/stream_sender_flow_controller.go:73
↓ 3 callers
Function
setupCustom
(t *testing.T, handler nexus.Handler, serializer nexus.Serializer, failureConverter nexusrpc.FailureConverter)
common/nexus/nexusrpc/setup_test.go:22
↓ 3 callers
Method
setupEnv
(opts ...testcore.TestOption)
tests/poller_scaling_test.go:38
↓ 3 callers
Method
setupMockForReadiness
(shardID int32, state *readinessMockState)
service/history/shard/controller_test.go:905
↓ 3 callers
Function
setupTestInfra
setupTestInfra creates the common test infrastructure for scheduler tests.
chasm/lib/scheduler/helper_test.go:347
↓ 3 callers
Function
shallowCloneVersionSet
(set *persistencespb.CompatibleVersionSet)
service/matching/version_sets.go:134
↓ 3 callers
Function
shardupdate
Shardupdate returns tag for Shardupdate
common/log/tag/tags.go:408
↓ 3 callers
Function
shouldIncludeTransientOrSpeculativeTasks
shouldIncludeTransientOrSpeculativeTasks determines if transient/speculative events should be included. This function is called only when on the last
service/history/api/get_history_util.go:391
↓ 3 callers
Function
sign
(x T)
common/clock/hybrid_logical_clock/hybrid_logical_clock.go:34
↓ 3 callers
Method
signalExternalExecutionFailed
( ctx context.Context, task *tasks.SignalExecutionTask, wfContext historyi.WorkflowContext, targetNamespac
service/history/transfer_queue_active_task_executor.go:1532
↓ 3 callers
Method
signalIfFatal
signalIfFatal calls UnloadFromPartitionManager of the physicalTaskQueueManager if and only if the supplied error represents a fatal condition, e.g. th
service/matching/pri_backlog_manager.go:108
↓ 3 callers
Method
signalIfFatal
signalIfFatal calls UnloadFromPartitionManager of the physicalTaskQueueManager if and only if the supplied error represents a fatal condition, e.g. th
service/matching/fair_backlog_manager.go:95
↓ 3 callers
Method
signalPartitionScaler
signalPartitionScaler sends a signal to the partition scaler that a new task has arrived (directly from history, not forwarded).
service/matching/task_queue_partition_manager.go:433
↓ 3 callers
Method
signalWithStartWorkflow
signalWithStartWorkflow invokes the SignalWithStart handler using the System Nexus Endpoint, and NOT the typical frontend API directly. This is a newe
tests/links_test.go:825
↓ 3 callers
Function
sizeOfChasmNodeMap
sizeOfChasmNodeMap is a special case since the persistence interface separates a node's metadata and data fields.
common/persistence/size_util.go:43
↓ 3 callers
Function
sizeOfStringBlobMap
( kvBlob map[string]*commonpb.DataBlob, )
common/persistence/size_util.go:53
↓ 3 callers
Method
skipFromVersion
(version DeploymentWorkflowVersion)
service/worker/workerdeployment/workflow_test.go:59
↓ 3 callers
Method
slowestRuns
(limit int)
tools/ci-notify/types.go:94
↓ 3 callers
Method
sortByStartTimeDescRunIDAsc
( visibilities []sqlplugin.VisibilityRow, )
common/persistence/sql/sqlplugin/tests/visibility.go:1330
↓ 3 callers
Function
sourceRoot
()
tests/mixedbrain/build_util.go:25
↓ 3 callers
Function
splitHostPortTyped
splitHostPortTyped expands upon net.SplitHostPort by providing type parsing.
common/membership/ringpop/monitor.go:254
↓ 3 callers
Method
startAndCompleteWorkflow
startAndCompleteWorkflow starts a workflow and immediately completes it by responding to its first workflow task. Returns the run ID of the completed
tests/signal_with_start_from_workflow_test.go:150
↓ 3 callers
Method
startNew
startNew creates a new execution and registers it as the current run for the business ID.
chasm/chasmtest/test_engine.go:425
↓ 3 callers
Method
startTargetWorkflow
startTargetWorkflow starts a generic workflow.
tests/links_test.go:773
↓ 3 callers
Function
startTestServiceServer
(s *suite.Suite, factory *TestFactory)
common/rpc/test/rpc_common_test.go:76
↓ 3 callers
Method
startWorkers
( count int, )
common/tasks/fifo_scheduler.go:141
↓ 3 callers
Method
startWorkflow
(env *testcore.TestEnv, workflowFn any)
tests/update_workflow_sdk_test.go:342
↓ 3 callers
Function
startWorkflowExecution
( t *testing.T, ms *workflow.MutableStateImpl, nsEntry *namespace.Namespace, )
service/history/workflow/workflow_test/mutable_state_impl_test.go:152
↓ 3 callers
Method
stopWorkerAndResetTimer
()
service/worker/pernamespaceworker.go:550
↓ 3 callers
Function
stripRunFromArgs
(args []string)
tools/testrunner/testrunner.go:451
↓ 3 callers
Method
structToMap
(strct any)
common/testing/historyrequire/history_require.go:420
↓ 3 callers
Method
swallowPartialResultsError
( replicationTasks []*replicationspb.ReplicationTask, lastTaskID int64, err error, )
service/history/replication/ack_manager.go:367
↓ 3 callers
Method
system
()
common/searchattribute/name_type_map.go:97
↓ 3 callers
Method
takeNextAction
takeNextAction increments the context's actionTaken counter, returning true if the action should be executed, and false if the task should instead yie
chasm/lib/scheduler/invoker_tasks.go:252
↓ 3 callers
Method
targetNamespaceEntryHelper
( targetNamespaceID namespace.ID, targetNamespaceName namespace.Name, // fallback if targetNamespaceID is no
service/history/transfer_queue_active_task_executor.go:1977
↓ 3 callers
Method
testChildWorkflowInheritanceExpectInherit
(crossTq bool, withOverride bool, parentRegistrationBehavior enumspb.VersioningBehavior)
tests/versioning_3_test.go:1893
↓ 3 callers
Method
testConcurrentRequestsResourceExhausted
( versions int, errChan chan error, apiName string, requestFn func(int) error, )
tests/worker_deployment_test.go:2322
↓ 3 callers
Method
testEventsReapplyNonCurrentBranch
(staleEventType enumspb.EventType)
tests/ndc/ndc_test.go:1416
↓ 3 callers
Method
testGetAuthorizerFromConfig
(name string, valid bool, authorizerType reflect.Type)
common/authorization/default_authorizer_test.go:168
↓ 3 callers
Method
testGetClaimMapperFromConfig
(name string, valid bool, cmType reflect.Type)
common/authorization/default_jwt_claim_mapper_test.go:308
↓ 3 callers
Function
testMaskUnknownOrInternalErrors
(t *testing.T, st *status.Status, expectRelpace bool)
common/rpc/interceptor/mask_internal_error_test.go:31
↓ 3 callers
Method
testMigration
(env *testcore.TestEnv, newMatcher, fairness bool)
tests/priority_fairness_test.go:620
↓ 3 callers
Method
testOperatorPrioritized
(limiter quotas.RequestRateLimiter, api string)
service/frontend/configs/quotas_test.go:221
↓ 3 callers
Method
testPinnedCaNUseRampingVersionOnCaN
testPinnedCaNUseRampingVersionOnCaN tests that a Pinned workflow can ContinueAsNew to the ramping version using CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_US
tests/versioning_3_test.go:3114
↓ 3 callers
Method
testPinnedQueryDrainedVersion
(env *testcore.TestEnv, pollersPresent bool, rollback bool)
tests/versioning_3_test.go:384
↓ 3 callers
Method
testResetWorkflowRangeScheduleToStart
( env *testcore.TestEnv, workflowID string, workflowTypeName string, taskQueueName string, resetToEventID
tests/reset_workflow_test.go:862
↓ 3 callers
Method
testRetryNoBounceBack
Verifies that a retry run starts on the same version the first run executed on, even if the task-queue partition's user data is rolled back to an olde
tests/versioning_3_test.go:5780
↓ 3 callers
Method
testSetCompletionState
(completionState *historyi.QueryCompletionState)
service/history/workflow/query_test.go:179
↓ 3 callers
Method
testTaskDispatchLatencyMetric
(scenario func(s *testcore.TestEnv, expectedForwarded, expectedSource, expectedPartitionID string, forwardDela
tests/task_queue_test.go:975
↓ 3 callers
Method
throttleLog
()
common/dynamicconfig/collection.go:202
↓ 3 callers
Method
timeSinceLastPoll
()
service/matching/matcher.go:632
↓ 3 callers
Function
toQueueType
(dlqType string)
tools/tdbg/dlq_service.go:133
↓ 3 callers
Function
tokenizeTextQueryString
Simple tokenizer by spaces. It's a temporary solution as it doesn't cover tokenizer used by PostgreSQL or SQLite.
common/persistence/visibility/store/sql/query_converter_util_legacy.go:124
↓ 3 callers
Method
trimHistoryNode
( ctx context.Context, shardID int32, namespaceID string, workflowID string, runID string, archetypeID c
common/persistence/execution_manager.go:1083
↓ 3 callers
Method
truncatePartialNamespace
()
common/persistence/persistence-tests/metadata_persistence_v2.go:94
↓ 3 callers
Method
tryDeleteVersion
( env *VersioningTestEnv, tv *testvars.TestVars, expectedError string, )
tests/worker_deployment_test.go:3236
↓ 3 callers
Method
tryEvictUntilEnoughSpaceWithSkipEntry
tryEvictUntilEnoughSpaceWithSkipEntry try to evict entries until there is enough space for the new entry without evicting the existing entry. the exis
common/cache/lru.go:399
↓ 3 callers
Method
tryReschedule
tryReschedule attempts to reschedule the activity for retry. Returns true if rescheduled, false if retry is not possible.
chasm/lib/activity/activity.go:695
↓ 3 callers
Method
unloadPhysicalQueue
(unloadedDbq physicalTaskQueueManager, unloadCause unloadCause)
service/matching/task_queue_partition_manager.go:1936
↓ 3 callers
Function
unpauseActivityInfo
(ai *persistencespb.ActivityInfo)
service/history/workflow/activity.go:398
↓ 3 callers
Method
unregisterOutstandingPollContext
( pollerID string, namespaceID string, )
service/frontend/workflow_handler.go:6573
↓ 3 callers
Method
unset
unset stops the timer.
service/matching/matcher_data.go:658
↓ 3 callers
Method
updateAckLevelAndBacklogStats
(subqueue subqueueIndex, newAckLevel int64, countDelta int64, oldestTime time.Time)
service/matching/db.go:334
↓ 3 callers
Function
updateActivityInfos
( ctx context.Context, tx sqlplugin.Tx, activityInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]st
common/persistence/sql/execution_state_map.go:16
↓ 3 callers
Method
updateBacklogStatsLocked
(subqueue subqueueIndex, countDelta int64, oldestTime time.Time)
service/matching/db.go:412
↓ 3 callers
Function
updateChasmNodes
( ctx context.Context, tx sqlplugin.Tx, chasmNodes map[string]persistence.InternalChasmNode, deleteIDs map
common/persistence/sql/execution_state_map.go:468
↓ 3 callers
Function
updateChildExecutionInfos
( ctx context.Context, tx sqlplugin.Tx, childExecutionInfos map[int64]*commonpb.DataBlob, deleteIDs map[in
common/persistence/sql/execution_state_map.go:196
↓ 3 callers
Method
updateCloseTaskIDs
(executionInfo *persistencespb.WorkflowExecutionInfo, tasksByCategory map[tasks.Category][]tasks.Task)
service/history/shard/context_impl.go:652
↓ 3 callers
Method
updateConflictToken
updateConflictToken bumps the Scheduler's conflict token. This has a side effect of invalidating the local cache. Use whenever applying a mutation tha
chasm/lib/scheduler/scheduler.go:466
↓ 3 callers
Method
updateEntryRefCount
(entry *entryImpl)
common/cache/lru.go:438
↓ 3 callers
Function
updateIndependentActivityBuildId
( ctx context.Context, task tasks.Task, buildId string, shardContext historyi.ShardContext, transactionPo
service/history/worker_versioning_util.go:22
↓ 3 callers
Method
updateMetadataBatch
( batch *gocql.Batch, notificationVersion int64, )
common/persistence/cassandra/metadata_store.go:470
↓ 3 callers
Method
updatePendingEventIDs
( scheduledIDToStartedID map[int64]int64, requestIDToEventID map[string]int64, )
service/history/workflow/mutable_state_impl.go:8564
↓ 3 callers
Method
updatePerKeySimpleRateLimitWithBurstLocked
UpdatePerKeySimpleRateLimit updates the per-key rate limit for the simpleRateLimit implementation UpdateTaskQueueConfig api is the single source for t
service/matching/ratelimit_manager.go:278
↓ 3 callers
Method
updateQuota
(namespace string, newQuota float64)
common/quotas/calculator/logged_calculator_test.go:116
↓ 3 callers
Function
updateRequestCancelInfos
( ctx context.Context, tx sqlplugin.Tx, requestCancelInfos map[int64]*commonpb.DataBlob, deleteIDs map[int
common/persistence/sql/execution_state_map.go:286
↓ 3 callers
Function
updateSignalInfos
( ctx context.Context, tx sqlplugin.Tx, signalInfos map[int64]*commonpb.DataBlob, deleteIDs map[int64]stru
common/persistence/sql/execution_state_map.go:377
↓ 3 callers
Function
updateSignalsRequested
( ctx context.Context, tx sqlplugin.Tx, signalRequestedIDs map[string]struct{}, deleteIDs map[string]struc
common/persistence/sql/execution_state_non_map.go:15
↓ 3 callers
Function
updateTimerInfos
( ctx context.Context, tx sqlplugin.Tx, timerInfos map[string]*commonpb.DataBlob, deleteIDs map[string]str
common/persistence/sql/execution_state_map.go:107
↓ 3 callers
Method
updateWithStartWorkerDeployment
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, updateRequest *updatepb
service/worker/workerdeployment/client.go:1461
↓ 3 callers
Method
updateWorkflow
( ctx context.Context, currentWorkflowLease api.WorkflowLease, )
service/history/api/multioperation/api.go:303
↓ 3 callers
Method
updateWorkflowWaitAccepted
(env *testcore.TestEnv, arg string)
tests/update_workflow_sdk_test.go:365
↓ 3 callers
Method
updateWorkflowWaitAdmitted
(env *testcore.TestEnv, arg string)
tests/update_workflow_sdk_test.go:351
↓ 3 callers
Function
updateWorkflowWithStart
( ctx context.Context, historyClient historyservice.HistoryServiceClient, namespaceEntry *namespace.Namespa
service/worker/workerdeployment/util.go:256
↓ 3 callers
Function
utcDay
(t time.Time)
tools/flakereport/parser.go:195
← previous
next →
6,601–6,700 of 43,335, ranked by callers