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
↓ 7 callers
Method
UpdateRemoteReaderInfo
(readerID int64, ackTaskID int64, ackTimestamp time.Time)
service/history/interfaces/shard_context.go:77
↓ 7 callers
Method
UpdateTaskQueueUserData
UpdateTaskQueueUserData updates the user data for a set of task queues in one namespace. The request takes the _current_ known version along with the
common/persistence/data_interfaces.go:1208
↓ 7 callers
Method
UpdateTaskQueueUserData
(ctx context.Context, request *UpdateTaskQueueDataRequest)
common/persistence/sql/sqlplugin/matching_task_queue_user_data.go:46
↓ 7 callers
Method
UpdateWorkflowStateStatus
(state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus)
service/history/interfaces/mutable_state.go:299
↓ 7 callers
Function
Validate
(p *commonpb.Priority)
common/priorities/priority_util.go:51
↓ 7 callers
Function
ValidateConflictResolveWorkflowModeState
ValidateConflictResolveWorkflowModeState validate workflow conflict resolve mode & workflow state
common/persistence/operation_mode_validator.go:141
↓ 7 callers
Method
ValidateSignalExternalWorkflowExecutionAttributes
( namespaceID namespace.ID, workflowID string, targetNamespaceID namespace.ID, attributes *commandpb.Signa
service/history/api/command_attr_validator.go:296
↓ 7 callers
Method
VersionSet
()
service/matching/physical_task_queue_key.go:192
↓ 7 callers
Method
Wait
Wait blocks waiting for all goroutines spawned via `Go` on this `Group` instance to complete. If `Go` has not been called then this function returns i
common/goro/group.go:46
↓ 7 callers
Function
WithQueueType
(queueType persistence.QueueV2Type)
common/persistence/persistencetest/queues.go:21
↓ 7 callers
Function
WithSdkWorker
Deprecated: this option is no longer required and will be removed once all callers have been updated.
tests/testcore/test_env.go:131
↓ 7 callers
Function
WithT
WithT directs all worker and client logs to the test logger. If this option is specified, then server will automatically be stopped when the test com
temporaltest/options.go:23
↓ 7 callers
Method
WorkerCommandsPartition
()
common/tqid/task_queue_id.go:272
↓ 7 callers
Method
WorkerDeploymentVersionS
WorkerDeploymentVersionS returns the internal server api WorkerDeploymentVersion (different from the public api WorkerDeploymentVersion).
service/matching/physical_task_queue_key.go:174
↓ 7 callers
Method
WorkerInstanceKey
()
common/testing/testvars/test_vars.go:397
↓ 7 callers
Method
WorkflowTypeName
()
chasm/lib/nexusoperation/operation.go:82
↓ 7 callers
Method
addResetPointFromCompletion
Add a reset point for current task completion if needed. Returns true if the reset point was added or false if there was no need or no ability to add.
service/history/workflow/mutable_state_impl.go:3574
↓ 7 callers
Method
andAllChildren
andAllChildren returns a sequence of all nodes in the tree starting from n, including n itself. The sequence is depth-first, pre-order traversal.
chasm/tree.go:2322
↓ 7 callers
Function
appendArg
(args []string, name string, val string)
tools/tdbg/dlq_service_test.go:457
↓ 7 callers
Method
applyFastForward
applyFastForward (re)computes the FastForwardInfo using the new TimeSkippingConfig (TSC) and propagated time-skippingstates. This method should be cal
service/history/workflow/mutable_state_impl.go:10027
↓ 7 callers
Method
assertActivityWasNotScheduled
(ai *persistencespb.ActivityInfo, kind string)
service/history/workflow/mutable_state_impl_restart_activity_test.go:423
↓ 7 callers
Function
assertAdmitted
(t *testing.T, upd *update.Update)
service/history/workflow/update/update_test.go:1027
↓ 7 callers
Method
assertNoChange
(ai *persistencespb.ActivityInfo, msg string)
service/history/workflow/mutable_state_impl_restart_activity_test.go:430
↓ 7 callers
Function
assertNotAcceptedYet
(t *testing.T, upd *update.Update)
service/history/workflow/update/update_test.go:1098
↓ 7 callers
Method
assertValidateSetupFails
(input *SetupConfig, db DB)
tools/common/schema/handler_test.go:108
↓ 7 callers
Method
attachLinks
attachLinks records the given links on the activity keyed by requestID. Duplicates within the same batch are skipped. If the requestID has already bee
chasm/lib/activity/activity.go:377
↓ 7 callers
Method
buildFieldsWithCallAt
(tags []tag.Tag)
common/log/zap_logger.go:105
↓ 7 callers
Method
buildValueExpr
(name string, value any)
common/persistence/visibility/store/sql/query_converter.go:265
↓ 7 callers
Function
chasmTreeFromMutableState
( logger log.Logger, mutableState historyi.MutableState, )
service/history/chasm_engine.go:148
↓ 7 callers
Method
checkReportedProblemsSearchAttribute
checkReportedProblemsSearchAttribute is a helper function to verify reported problems search attributes
tests/xdc/workflow_task_reported_problems_test.go:67
↓ 7 callers
Method
checkSequenceRaw
(spec *schedulepb.ScheduleSpec, start time.Time, seq ...time.Time)
service/worker/scheduler/spec_test.go:30
↓ 7 callers
Method
cleanedResetPoints
return reset points minus a few fields that are hard to check for equality
service/history/workflow/mutable_state_impl_test.go:4172
↓ 7 callers
Method
clockConsistencyCheck
( reqClock *clockspb.VectorClock, )
service/history/api/consistency_checker.go:201
↓ 7 callers
Function
cloneOrMkData
(data *persistencespb.VersioningData)
service/matching/version_rule_helpers.go:65
↓ 7 callers
Function
closed
(ch <-chan struct{})
service/history/workflow/query_test.go:203
↓ 7 callers
Method
commitBuildID
commitBuildID sends a CommitBuildId request for the given build ID It checks the response and returns the conflict token.
tests/versioning_test.go:4642
↓ 7 callers
Function
compareMapOfProto
(s *mutableStateSuite, expected, actual map[K]V)
service/history/workflow/mutable_state_impl_test.go:5395
↓ 7 callers
Function
completeWorkflowCmd
completeWorkflowCmd returns a CompleteWorkflowExecution command.
tests/timeskipping_test.go:415
↓ 7 callers
Function
constructVisibilityFilenamePrefix
(namespaceID, tag string)
common/archiver/gcloud/util.go:36
↓ 7 callers
Function
convertSQLError
(message string, err error)
common/persistence/visibility/store/sql/visibility_store.go:97
↓ 7 callers
Function
convertSyncVersionedTransitionTask
( ctx context.Context, taskInfo *tasks.SyncVersionedTransitionTask, targetClusterID int32, converter *sync
service/history/replication/raw_task_converter.go:303
↓ 7 callers
Function
convertToExecutionInfo
(record *archiverspb.VisibilityRecord, saTypeMap searchattribute.NameTypeMap)
common/archiver/filestore/visibility_archiver.go:325
↓ 7 callers
Method
createDeploymentAndVersion
( env *testcore.TestEnv, tv *testvars.TestVars, identity string, computeConfig *computepb.ComputeConfig, )
tests/worker_deployment_version_test.go:1192
↓ 7 callers
Function
createTestMatchingEngine
( logger log.Logger, controller *gomock.Controller, config *Config, matchingClient matchingservice.Matchin
service/matching/matching_engine_test.go:116
↓ 7 callers
Method
createVersionsInTaskQueue
(ctx context.Context, env *taskQueueStatsContext, tqName string, deploymentName string, buildID string)
tests/task_queue_stats_test.go:1174
↓ 7 callers
Method
currentRunConditionFailedErr
( tv *testvars.TestVars, state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, )
service/history/chasm_engine_test.go:630
↓ 7 callers
Function
defaultLocalActivityOptions
()
service/worker/scheduler/workflow.go:181
↓ 7 callers
Method
defaultWorkflowID
()
tests/eager_workflow_start_test.go:33
↓ 7 callers
Method
deleteHistoryBranch
persistence helper
common/persistence/persistence-tests/history_v2_persistence.go:695
↓ 7 callers
Function
deleteRedirectRule
(source string, data *persistencespb.VersioningData, clock *hlc.Clock, )
service/matching/version_rule_test.go:161
↓ 7 callers
Method
deploymentOptions
TODO: Remove this once older stats tests are refactored to use the createDeploymentOptions function.
tests/task_queue_stats_test.go:1568
↓ 7 callers
Method
drainTasks
()
common/tasks/sequential_scheduler.go:347
↓ 7 callers
Method
emit
(nsID namespace.ID, nsName namespace.Name, heartbeats []*workerpb.WorkerHeartbeat)
service/matching/workers/worker_metrics_emitter.go:26
↓ 7 callers
Method
emitForwardedSourceStats
( metricsHandler metrics.Handler, forwardedFrom string, taskQueue *taskqueuepb.TaskQueue, )
client/matching/metric_client.go:188
↓ 7 callers
Function
enableSignalBacklinkOpts
()
tests/links_test.go:45
↓ 7 callers
Method
execute
( ctx context.Context, task *tasks.WorkerCommandsTask, attempt int, namespaceName string, )
service/history/worker_commands_task_dispatcher.go:78
↓ 7 callers
Function
extractMetadataFromTrailer
extractMetadataFromTrailer reads context metadata from gRPC response trailers. It first checks for the proto-encoded "contextmetadata-bin" key, which
common/rpc/interceptor/trailer_to_context_metadata_interceptor.go:52
↓ 7 callers
Function
fileExists
File I/O util
common/archiver/filestore/util.go:29
↓ 7 callers
Function
file_temporal_server_api_token_v1_message_proto_rawDescGZIP
()
api/token/v1/message.pb.go:729
↓ 7 callers
Function
file_temporal_server_chasm_lib_nexusoperation_proto_v1_tasks_proto_rawDescGZIP
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/tasks.pb.go:331
↓ 7 callers
Function
file_temporal_server_chasm_lib_scheduler_proto_v1_tasks_proto_rawDescGZIP
()
chasm/lib/scheduler/gen/schedulerpb/v1/tasks.pb.go:318
↓ 7 callers
Method
forkHistoryBranch
( shardID int32, branchToken []byte, newNodeID int64, )
common/persistence/tests/history_store.go:766
↓ 7 callers
Function
fromWallClock
(wallclock int64)
service/matching/version_sets_merge_test.go:12
↓ 7 callers
Method
generateTask
( mutableContext MutableContext, )
chasm/visibility.go:338
↓ 7 callers
Method
generateToken
(alg keyAlgorithm, subject string, permissions []string, options errorTestOptions)
common/authorization/default_jwt_claim_mapper_test.go:373
↓ 7 callers
Method
generateTwoBatchableTasks
()
service/history/replication/executable_history_task_test.go:479
↓ 7 callers
Function
getActiveAssignmentRules
(rules []*persistencespb.AssignmentRule)
service/matching/version_rule_helpers.go:373
↓ 7 callers
Method
getActivityScheduleToCloseTimeout
( activityInfo *persistencespb.ActivityInfo, )
service/history/workflow/timer_sequence.go:261
↓ 7 callers
Method
getActivityStartToCloseTimeout
( activityInfo *persistencespb.ActivityInfo, )
service/history/workflow/timer_sequence.go:293
↓ 7 callers
Method
getCurrentBranchTokenAndEventVersion
(eventID int64)
service/history/workflow/mutable_state_impl.go:1003
↓ 7 callers
Method
getDatetimeFormat
()
common/persistence/visibility/store/sql/query_converter_legacy.go:37
↓ 7 callers
Function
getDispatchByEndpointURL
(address string, endpoint string)
tests/nexus_api_test.go:728
↓ 7 callers
Method
getDrainBacklogMgr
getDrainBacklogMgr returns the draining backlog manager, or nil if none.
service/matching/physical_task_queue_manager.go:336
↓ 7 callers
Method
getEventBlobs
(firstEventID, nextEventID int64)
service/history/replication/sync_state_retriever_test.go:759
↓ 7 callers
Method
getHistory
(client workflowservice.WorkflowServiceClient, namespace string, execution *commonpb.WorkflowExecution)
tests/xdc/failover_test.go:2726
↓ 7 callers
Method
getPhysicalTaskQueueManagerImplFromKey
(ptq *PhysicalTaskQueueKey)
service/matching/matching_engine_test.go:3716
↓ 7 callers
Method
getShard
(key any)
common/collection/concurrent_tx_map.go:224
↓ 7 callers
Function
getUpstreamBuildIds
getUpstreamBuildIds returns a list of build ids that point to the given buildId in the graph of redirect rules. It considers all rules in the input li
service/matching/version_rule_helpers.go:539
↓ 7 callers
Method
getUsedDeploymentVersionsFromMutableState
()
service/history/workflow/mutable_state_impl_test.go:4159
↓ 7 callers
Function
getWhereCause
(query string)
service/matching/workers/worker_query_engine.go:169
↓ 7 callers
Method
getWorkflowTaskInfo
()
service/history/workflow/workflow_task_state_machine.go:1286
↓ 7 callers
Method
hasChanges
()
service/history/api/updateworkflowoptions/api.go:136
↓ 7 callers
Function
hasVisibilityField
hasVisibilityField returns true if the given component type has a Field[*Visibility]. This is used at registration time to validate that archetypes us
chasm/fields_iterator.go:163
↓ 7 callers
Function
isActivityTaskValid
( workflowLease api.WorkflowLease, scheduledEventID int64, stamp int32, )
service/history/api/isactivitytaskvalid/api.go:49
↓ 7 callers
Function
isInVersionSets
isInVersionSets returns true if the given build ID is in any of the listed version sets
service/matching/version_rule_helpers.go:446
↓ 7 callers
Function
isPartitionAwareKind
(kind enumspb.TaskQueueKind)
client/matching/client.go:525
↓ 7 callers
Function
isSchedulerErrorLegacyRoutable
isSchedulerErrorLegacyRoutable returns true if the error from the CHASM scheduler indicates that the request should be routed to the legacy (V1) sched
service/frontend/workflow_handler.go:3838
↓ 7 callers
Method
isStopped
()
common/tasks/sequential_scheduler.go:370
↓ 7 callers
Function
isSystemResourceExhausted
(err error)
common/util.go:202
↓ 7 callers
Method
isTaskValid
( task *persistencespb.AllocatedTaskInfo, taskType enumspb.TaskQueueType, )
service/matching/task_validation.go:157
↓ 7 callers
Function
isVisibilityValueEqual
(v1, v2 VisibilityValue)
chasm/visibility_value.go:127
↓ 7 callers
Method
limited
()
service/matching/matcher_data.go:693
↓ 7 callers
Function
localNS
(id, name, activeCluster string)
service/worker/scanner/scheduleinvariants/invariants_test.go:80
↓ 7 callers
Method
logDataInconsistency
()
service/history/workflow/mutable_state_impl.go:9088
↓ 7 callers
Function
logSumExpNormalize
logSumExpNormalize converts log-weights to probabilities using the log-sum-exp trick to avoid numerical underflow. Returns a slice of probabilities su
tools/flakereport/bisect.go:37
↓ 7 callers
Method
makeAutoUpgradeOverride
()
tests/worker_deployment_version_test.go:2847
↓ 7 callers
Function
makeBitMatcher
(ranges []*schedulepb.Range)
service/worker/scheduler/calendar.go:344
↓ 7 callers
Method
makeBuildIdQuery
( buildIdsOfInterest []string, open bool, )
service/matching/reachability.go:233
↓ 7 callers
Function
makeMockStartRequest
( tv *testvars.TestVars, wfReusePolicy enumspb.WorkflowIdReusePolicy, wfConflictPolicy enumspb.WorkflowIdCo
service/history/history_engine2_test.go:1532
↓ 7 callers
Method
max
Returns the max of a and b.
service/matching/fair_level.go:41
← previous
next →
3,401–3,500 of 43,335, ranked by callers