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
validateBuildIdRedirectInfo
validateBuildIdRedirectInfo validates build ID for the task being dispatched and returned the redirect counter that should be used in the task started
service/history/workflow/mutable_state_impl.go:3607
↓ 2 callers
Function
validateClientTLS
(cfg *config.ClientTLS)
common/rpc/encryption/tls_factory.go:136
↓ 2 callers
Function
validateClusterNotInUseByNamespaces
validateClusterNotInUseByNamespaces returns an error if any active multi-cluster namespace still references clusterName in its replication cluster lis
service/frontend/cluster_removal_validation.go:19
↓ 2 callers
Method
validateConfig
()
temporal/server_options.go:126
↓ 2 callers
Function
validateDatetime
(value time.Time)
common/persistence/visibility/store/elasticsearch/visibility_store.go:1489
↓ 2 callers
Method
validateDeleteVersion
(args *deploymentspb.DeleteVersionArgs)
service/worker/workerdeployment/workflow.go:1113
↓ 2 callers
Function
validateGroupTLS
(cfg *config.GroupTLS)
common/rpc/encryption/tls_factory.go:88
↓ 2 callers
Function
validateHistoryDLQKey
( key *commonspb.HistoryDLQKey, )
service/frontend/admin_handler.go:2483
↓ 2 callers
Function
validateLinkType
(value string)
common/nexus/nexusrpc/api.go:242
↓ 2 callers
Function
validateLinkURL
(value *url.URL)
common/nexus/nexusrpc/api.go:231
↓ 2 callers
Method
validateNamespaceStatus
(input enumspb.NamespaceState)
common/namespace/nsreplication/replication_task_executor.go:377
↓ 2 callers
Method
validateNotZombieWorkflow
( ms historyi.MutableState, accessType hsm.AccessType, )
service/history/statemachine_environment.go:349
↓ 2 callers
Function
validatePartitionCounts
validatePartitionCounts checks whether a partition should accept an RPC based on the current scale info. It returns nil if the RPC should be accepted,
service/matching/task_queue_partition_manager.go:386
↓ 2 callers
Function
validatePartitionScaleDrift
validatePartitionScaleDrift checks whether a partition should accept an RPC based on the client's idea of partition counts. It returns nil if the RPC
service/matching/task_queue_partition_manager.go:406
↓ 2 callers
Method
validatePhysicalTaskQueueInfo
(expectedPhysicalTaskQueueInfo *taskqueuespb.PhysicalTaskQueueInfo, responsePhysicalTaskQueueInfo *taskqueues
service/frontend/admin_handler_test.go:2223
↓ 2 callers
Method
validatePinnedVersionExistsInTaskQueue
validatePinnedVersionExistsInTaskQueue validates that the version, to be pinned, exists in the task queue. TODO (future improvement): This can be furt
tests/versioning_3_test.go:6057
↓ 2 callers
Function
validateRateLimit
(update *workflowservice.UpdateTaskQueueConfigRequest_RateLimitUpdate, label string)
service/frontend/validators.go:30
↓ 2 callers
Function
validateReleaseBranch
(modFile *modfile.File)
cmd/tools/check-dependencies/main.go:88
↓ 2 callers
Function
validateRequestId
(requestID *string, lenLimit int)
service/frontend/workflow_handler.go:6592
↓ 2 callers
Method
validateRetentionDuration
validateRetentionDuration ensures that retention duration can't be set below a sane minimum.
service/frontend/namespace_handler.go:1111
↓ 2 callers
Method
validateSchedulePayloadSize
validateSchedulePayloadSize validates the blob size of the schedule's memo and action input. This runs for both CHASM and V1 paths.
service/frontend/workflow_handler.go:6637
↓ 2 callers
Function
validateServerTLS
(cfg *config.ServerTLS)
common/rpc/encryption/tls_factory.go:117
↓ 2 callers
Function
validateSlicesOrderedDisjoint
( slices []Slice, )
service/history/queues/reader.go:561
↓ 2 callers
Method
validateStartWorkflowArgsForSchedule
Validates inner start workflow request. Note that this can mutate search attributes if present.
service/frontend/workflow_handler.go:3851
↓ 2 callers
Method
validateStateBeforeAcceptingRampingUpdate
(args *deploymentspb.SetRampingVersionArgs)
service/worker/workerdeployment/workflow.go:748
↓ 2 callers
Method
validateStateBeforeAcceptingSetCurrent
(args *deploymentspb.SetCurrentVersionArgs)
service/worker/workerdeployment/workflow.go:1253
↓ 2 callers
Method
validateStateBeforeAcceptingSetManager
(args *deploymentspb.SetManagerIdentityArgs)
service/worker/workerdeployment/workflow.go:1200
↓ 2 callers
Function
validateString
(value string)
common/persistence/visibility/store/elasticsearch/visibility_store.go:1498
↓ 2 callers
Function
validateStringField
(fieldName string, value string, maxLen int, required bool)
service/frontend/validators.go:40
↓ 2 callers
Function
validateStructuredCalendar
(scs *schedulepb.StructuredCalendarSpec)
service/worker/scheduler/spec.go:193
↓ 2 callers
Function
validateTask
( chasmContext chasm.Context, store *PayloadStore, attributes chasm.TaskAttributes, payloadKey string, )
chasm/lib/tests/tasks.go:63
↓ 2 callers
Method
validateTaskQueueStatsByPriority
( t require.TestingT, label string, stats map[int32]*taskqueuepb.TaskQueueStats, taskQueueExpectation task
tests/task_queue_stats_test.go:1527
↓ 2 callers
Function
validateTaskRange
( taskCategoryType tasks.CategoryType, minTaskKey tasks.Key, maxTaskKey tasks.Key, )
common/persistence/execution_manager.go:1326
↓ 2 callers
Function
validateTimeRange
(t time.Time, expectedDuration time.Duration)
service/matching/matching_engine_test.go:6079
↓ 2 callers
Function
validateUUID
(input string)
service/history/ndc/replication_task.go:466
↓ 2 callers
Method
validateUpsert
(req *p.UpsertClusterMembershipRequest, resp *p.GetClusterMembersResponse, err error)
common/persistence/persistence-tests/cluster_metadata_manager.go:136
↓ 2 callers
Method
validateUpsertSpec
(spec *nexuspb.EndpointSpec)
service/frontend/nexus_endpoint_client.go:333
↓ 2 callers
Method
validateValueType
( saName string, saType enumspb.IndexedValueType, value any, )
common/persistence/visibility/store/query/converter.go:653
↓ 2 callers
Method
validateWorkerDeploymentCount
( env *VersioningTestEnv, request *workflowservice.ListWorkerDeploymentsRequest, expectedCount int, )
tests/worker_deployment_test.go:3619
↓ 2 callers
Method
validateWorkflowID
( workflowID string, )
service/history/workflow/cache/cache.go:433
↓ 2 callers
Method
validateWorkflowRetryPolicy
( namespaceName namespace.Name, retryPolicy *commonpb.RetryPolicy, )
service/history/api/command_attr_validator.go:566
↓ 2 callers
Method
validateWorkflowRun
(env *dlqTestEnv, run sdkclient.WorkflowRun)
tests/dlq_test.go:399
↓ 2 callers
Function
validateWorkflowState
validateWorkflowState validate workflow state
common/persistence/workflow_state_status_validator.go:88
↓ 2 callers
Function
validateWorkflowStatus
validateWorkflowStatus validate workflow status
common/persistence/workflow_state_status_validator.go:100
↓ 2 callers
Function
verifyChildExecution
( ctx context.Context, workflowConsistencyChecker api.WorkflowConsistencyChecker, request *historyservice.V
service/history/api/verifychildworkflowcompletionrecorded/api.go:26
↓ 2 callers
Method
verifyChildExecutionInfos
(expectedMap, actualMap, originMap map[int64]*persistencespb.ChildExecutionInfo)
service/history/workflow/mutable_state_impl_test.go:5402
↓ 2 callers
Method
verifyEventHistory
( workflowID string, runID string, historyBatch []*historypb.History, )
tests/ndc/ndc_test.go:2366
↓ 2 callers
Method
verifyEventsOrder
( ctx context.Context, localVersionHistory *historyspb.VersionHistory, incomingFirstEventID int64, incomin
service/history/ndc/branch_manager.go:154
↓ 2 callers
Method
verifyMutableState
(current, target, origin *MutableStateImpl)
service/history/workflow/mutable_state_impl_test.go:5569
↓ 2 callers
Method
verifyOwnership
verifyOwnership checks if the shard should be owned by this host's shard controller. If membership lists another host as the owner, it returns a Shard
service/history/shard/ownership.go:135
↓ 2 callers
Method
verifyReusePolicyIsSetForAllChild
verifyReusePolicy checks if a given workflow was started with REJECT_DUPLICATE
tests/workflow_reset_with_child_test.go:866
↓ 2 callers
Method
verifyWorkflowTaskStamps
( recorder *testcore.HistoryTaskRecorder, clusterName string, workflowID string, runID string, namespaceI
tests/xdc/stream_based_replication_test.go:1319
↓ 2 callers
Function
visibilityManagerFromContext
( ctx context.Context, )
chasm/visibility_manager.go:172
↓ 2 callers
Method
waitCallback
( ctx context.Context, sdkClient sdkclient.Client, execution *commonpb.WorkflowExecution, condition func(c
tests/xdc/nexus_state_replication_test.go:712
↓ 2 callers
Method
waitForDeploymentVersion
(env *VersioningTestEnv, tv *testvars.TestVars)
tests/worker_deployment_test.go:175
↓ 2 callers
Method
waitForMatch
call with matcherData.lock held
service/matching/matcher_data.go:633
↓ 2 callers
Method
waitForNoPollers
(env *testcore.TestEnv, tv *testvars.TestVars, moreUnexpectedVersions ...*testvars.TestVars)
tests/worker_deployment_version_test.go:775
↓ 2 callers
Method
waitForWorkflowTaskFailedCause
( env *testcore.TestEnv, run sdkclient.WorkflowRun, cause enumspb.WorkflowTaskFailedCause, )
tests/versioning_test.go:2857
↓ 2 callers
Function
waitForYellowStatus
(esClient esclient.IntegrationTestsClient, index string)
tests/testcore/test_cluster.go:456
↓ 2 callers
Method
waitUntilInitialized
(ctx context.Context)
common/nexus/endpoint_registry.go:211
↓ 2 callers
Method
waitUntilWorkflowReplicated
waitUntilWorkflowReplicated waits until the workflow with the given ID has been replicated to the standby cluster. It does this by waiting for the rep
tests/xdc/history_replication_dlq_test.go:356
↓ 2 callers
Function
wciSpecToComputeConfigSummary
(spec *wciiface.WorkerControllerInstanceSpec)
service/worker/workerdeployment/compute_util.go:81
↓ 2 callers
Function
wftCompletedOnTargetVersion
( wftDeployment *deploymentpb.Deployment, targetVersion *deploymentpb.WorkerDeploymentVersion, )
service/history/workflow/workflow_task_state_machine.go:1438
↓ 2 callers
Function
withCompletionCallback
(cb func())
service/history/workflow/update/update.go:138
↓ 2 callers
Method
withRedirect
(ctx context.Context, namespaceEntry *namespace.Namespace, apiName string, call func(string) error)
common/rpc/interceptor/dc_redirection_policy.go:165
↓ 2 callers
Method
work
()
common/goro/adaptive_pool.go:95
↓ 2 callers
Function
workerHeartbeatToListInfo
(hb *workerpb.WorkerHeartbeat)
service/matching/handler.go:636
↓ 2 callers
Method
workflowKeyFromTask
workflowKeyFromTask extracts namespace ID, workflow ID, and run ID from the replication task. It first tries RawTaskInfo, then falls back to task-type
service/history/replication/executable_task.go:313
↓ 2 callers
Method
writeHistoryBatchesForGetTest
(historyBatches []*historypb.History, version int64)
common/archiver/filestore/history_archiver_test.go:611
↓ 2 callers
Method
writeHistoryBatchesForGetTest
(historyBatches []*archiverspb.HistoryBlob, version int64)
common/archiver/s3store/history_archiver_test.go:749
↓ 2 callers
Method
writeManagers
()
common/persistence/visibility/manager_selector.go:16
↓ 2 callers
Function
writeReport
(t *testing.T, outputDir string, fileName string, contents string)
tests/leakcheck/leak_test.go:171
↓ 2 callers
Function
writeTaskToDLQ
This is a helper function to make it easier to change the DLQWriteRequest format in the future.
service/history/replication/dlq_writer.go:137
↓ 2 callers
Function
wrongorderness
(vs []int)
tests/priority_fairness_test.go:402
↓ 1 callers
Method
Abort
()
service/history/replication/batchable_task.go:103
↓ 1 callers
Method
Abort
(reason AbortReason)
service/history/workflow/update/registry.go:283
↓ 1 callers
Method
AbortAccepted
AbortAccepted aborts all accepted Updates in the Registry.
service/history/workflow/update/registry.go:66
↓ 1 callers
Method
Access
(ctx context.Context, ref hsm.Ref, accessType hsm.AccessType, accessor func(*hsm.Node) error)
service/history/statemachine_environment.go:363
↓ 1 callers
Method
Ack
()
service/history/replication/batchable_task.go:72
↓ 1 callers
Function
AckLevel
AckLevel returns tag for ack level
common/log/tag/tags.go:941
↓ 1 callers
Method
ActivityInfoFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:83
↓ 1 callers
Function
ActivitySize
ActivitySize returns a tag for a standalone activity size
common/log/tag/tags.go:931
↓ 1 callers
Method
Add
(task Executable)
service/history/queues/memory_scheduled_queue.go:101
↓ 1 callers
Method
AddActivityTaskCanceledEvent
( scheduledEventID int64, startedEventID int64, latestCancelRequestedEventID int64, details *commonpb.Payl
service/history/historybuilder/history_builder.go:564
↓ 1 callers
Method
AddActivityTaskCompletedEvent
( scheduledEventID int64, startedEventID int64, identity string, result *commonpb.Payloads, ns namespace.
service/history/historybuilder/history_builder.go:359
↓ 1 callers
Method
AddCompletionCallbacks
AddCompletionCallbacks creates completion callbacks using the CHASM implementation. maxCallbacksPerWorkflow is the configured maximum number of callba
chasm/lib/workflow/workflow.go:192
↓ 1 callers
Method
AddDeleteExecutionTask
( ctx context.Context, nsID namespace.ID, we *commonpb.WorkflowExecution, ms historyi.MutableState
service/history/deletemanager/delete_manager.go:24
↓ 1 callers
Method
AddExitVertex
AddExitVertex adds the terminate history event vertex
common/testing/event_generator.go:94
↓ 1 callers
Method
AddExternalPayloadCount
(count int64)
service/history/workflow/mutable_state_impl.go:7161
↓ 1 callers
Method
AddExternalPayloadSize
(size int64)
service/history/workflow/mutable_state_impl.go:7150
↓ 1 callers
Method
AddFirstWorkflowTaskScheduled
AddFirstWorkflowTaskScheduled adds the first workflow task scheduled event unless it should be delayed as indicated by the startEvent's FirstWorkflowT
service/history/workflow/mutable_state_impl.go:3439
↓ 1 callers
Method
AddIncomingSignalEvent
AddIncomingSignalEvent adds an entry for the signal requestID -> eventID mapping to track all signals that have been received by the workflow. Note th
chasm/lib/workflow/workflow.go:271
↓ 1 callers
Method
AddInitialEntryVertex
AddInitialEntryVertex adds the initial history event vertices Generator will only start from one of the entry vertex
common/testing/event_generator.go:84
↓ 1 callers
Method
AddRecordMarkerEvent
(int64, *commandpb.RecordMarkerCommandAttributes)
service/history/interfaces/mutable_state.go:87
↓ 1 callers
Method
AddSignalRequested
( requestID string, )
service/history/workflow/mutable_state_impl.go:2538
↓ 1 callers
Method
AddSpeculativeWorkflowTaskTimeoutTask
(task *tasks.WorkflowTaskTimeoutTask)
service/history/interfaces/shard_context.go:89
↓ 1 callers
Method
AddSpooledTaskToMatcher
(task *internalTask)
service/matching/physical_task_queue_manager_interface.go:50
↓ 1 callers
Method
AddTasks
( newTasks ...tasks.Task, )
service/history/workflow/mutable_state_impl.go:7262
↓ 1 callers
Method
AddToBuildIdToTaskQueueMapping
(ctx context.Context, request AddToBuildIdToTaskQueueMapping)
common/persistence/sql/sqlplugin/matching_task_queue_user_data.go:49
↓ 1 callers
Method
AddUpdateCompletionCallbacks
AddUpdateCompletionCallbacks creates completion callbacks using the CHASM implementation. maxCallbacksPerWorkflow is the configured maximum number of
chasm/lib/workflow/workflow.go:213
← previous
next →
9,101–9,200 of 43,335, ranked by callers