MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 7 callersMethodUpdateRemoteReaderInfo
(readerID int64, ackTaskID int64, ackTimestamp time.Time)
service/history/interfaces/shard_context.go:77
↓ 7 callersMethodUpdateTaskQueueUserData
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 callersMethodUpdateTaskQueueUserData
(ctx context.Context, request *UpdateTaskQueueDataRequest)
common/persistence/sql/sqlplugin/matching_task_queue_user_data.go:46
↓ 7 callersMethodUpdateWorkflowStateStatus
(state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus)
service/history/interfaces/mutable_state.go:299
↓ 7 callersFunctionValidate
(p *commonpb.Priority)
common/priorities/priority_util.go:51
↓ 7 callersFunctionValidateConflictResolveWorkflowModeState
ValidateConflictResolveWorkflowModeState validate workflow conflict resolve mode & workflow state
common/persistence/operation_mode_validator.go:141
↓ 7 callersMethodValidateSignalExternalWorkflowExecutionAttributes
( namespaceID namespace.ID, workflowID string, targetNamespaceID namespace.ID, attributes *commandpb.Signa
service/history/api/command_attr_validator.go:296
↓ 7 callersMethodVersionSet
()
service/matching/physical_task_queue_key.go:192
↓ 7 callersMethodWait
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 callersFunctionWithQueueType
(queueType persistence.QueueV2Type)
common/persistence/persistencetest/queues.go:21
↓ 7 callersFunctionWithSdkWorker
Deprecated: this option is no longer required and will be removed once all callers have been updated.
tests/testcore/test_env.go:131
↓ 7 callersFunctionWithT
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 callersMethodWorkerCommandsPartition
()
common/tqid/task_queue_id.go:272
↓ 7 callersMethodWorkerDeploymentVersionS
WorkerDeploymentVersionS returns the internal server api WorkerDeploymentVersion (different from the public api WorkerDeploymentVersion).
service/matching/physical_task_queue_key.go:174
↓ 7 callersMethodWorkerInstanceKey
()
common/testing/testvars/test_vars.go:397
↓ 7 callersMethodWorkflowTypeName
()
chasm/lib/nexusoperation/operation.go:82
↓ 7 callersMethodaddResetPointFromCompletion
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 callersMethodandAllChildren
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 callersFunctionappendArg
(args []string, name string, val string)
tools/tdbg/dlq_service_test.go:457
↓ 7 callersMethodapplyFastForward
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 callersMethodassertActivityWasNotScheduled
(ai *persistencespb.ActivityInfo, kind string)
service/history/workflow/mutable_state_impl_restart_activity_test.go:423
↓ 7 callersFunctionassertAdmitted
(t *testing.T, upd *update.Update)
service/history/workflow/update/update_test.go:1027
↓ 7 callersMethodassertNoChange
(ai *persistencespb.ActivityInfo, msg string)
service/history/workflow/mutable_state_impl_restart_activity_test.go:430
↓ 7 callersFunctionassertNotAcceptedYet
(t *testing.T, upd *update.Update)
service/history/workflow/update/update_test.go:1098
↓ 7 callersMethodassertValidateSetupFails
(input *SetupConfig, db DB)
tools/common/schema/handler_test.go:108
↓ 7 callersMethodattachLinks
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 callersMethodbuildFieldsWithCallAt
(tags []tag.Tag)
common/log/zap_logger.go:105
↓ 7 callersMethodbuildValueExpr
(name string, value any)
common/persistence/visibility/store/sql/query_converter.go:265
↓ 7 callersFunctionchasmTreeFromMutableState
( logger log.Logger, mutableState historyi.MutableState, )
service/history/chasm_engine.go:148
↓ 7 callersMethodcheckReportedProblemsSearchAttribute
checkReportedProblemsSearchAttribute is a helper function to verify reported problems search attributes
tests/xdc/workflow_task_reported_problems_test.go:67
↓ 7 callersMethodcheckSequenceRaw
(spec *schedulepb.ScheduleSpec, start time.Time, seq ...time.Time)
service/worker/scheduler/spec_test.go:30
↓ 7 callersMethodcleanedResetPoints
return reset points minus a few fields that are hard to check for equality
service/history/workflow/mutable_state_impl_test.go:4172
↓ 7 callersMethodclockConsistencyCheck
( reqClock *clockspb.VectorClock, )
service/history/api/consistency_checker.go:201
↓ 7 callersFunctioncloneOrMkData
(data *persistencespb.VersioningData)
service/matching/version_rule_helpers.go:65
↓ 7 callersFunctionclosed
(ch <-chan struct{})
service/history/workflow/query_test.go:203
↓ 7 callersMethodcommitBuildID
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 callersFunctioncompareMapOfProto
(s *mutableStateSuite, expected, actual map[K]V)
service/history/workflow/mutable_state_impl_test.go:5395
↓ 7 callersFunctioncompleteWorkflowCmd
completeWorkflowCmd returns a CompleteWorkflowExecution command.
tests/timeskipping_test.go:415
↓ 7 callersFunctionconstructVisibilityFilenamePrefix
(namespaceID, tag string)
common/archiver/gcloud/util.go:36
↓ 7 callersFunctionconvertSQLError
(message string, err error)
common/persistence/visibility/store/sql/visibility_store.go:97
↓ 7 callersFunctionconvertSyncVersionedTransitionTask
( ctx context.Context, taskInfo *tasks.SyncVersionedTransitionTask, targetClusterID int32, converter *sync
service/history/replication/raw_task_converter.go:303
↓ 7 callersFunctionconvertToExecutionInfo
(record *archiverspb.VisibilityRecord, saTypeMap searchattribute.NameTypeMap)
common/archiver/filestore/visibility_archiver.go:325
↓ 7 callersMethodcreateDeploymentAndVersion
( env *testcore.TestEnv, tv *testvars.TestVars, identity string, computeConfig *computepb.ComputeConfig, )
tests/worker_deployment_version_test.go:1192
↓ 7 callersFunctioncreateTestMatchingEngine
( logger log.Logger, controller *gomock.Controller, config *Config, matchingClient matchingservice.Matchin
service/matching/matching_engine_test.go:116
↓ 7 callersMethodcreateVersionsInTaskQueue
(ctx context.Context, env *taskQueueStatsContext, tqName string, deploymentName string, buildID string)
tests/task_queue_stats_test.go:1174
↓ 7 callersMethodcurrentRunConditionFailedErr
( tv *testvars.TestVars, state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, )
service/history/chasm_engine_test.go:630
↓ 7 callersFunctiondefaultLocalActivityOptions
()
service/worker/scheduler/workflow.go:181
↓ 7 callersMethoddefaultWorkflowID
()
tests/eager_workflow_start_test.go:33
↓ 7 callersMethoddeleteHistoryBranch
persistence helper
common/persistence/persistence-tests/history_v2_persistence.go:695
↓ 7 callersFunctiondeleteRedirectRule
(source string, data *persistencespb.VersioningData, clock *hlc.Clock, )
service/matching/version_rule_test.go:161
↓ 7 callersMethoddeploymentOptions
TODO: Remove this once older stats tests are refactored to use the createDeploymentOptions function.
tests/task_queue_stats_test.go:1568
↓ 7 callersMethoddrainTasks
()
common/tasks/sequential_scheduler.go:347
↓ 7 callersMethodemit
(nsID namespace.ID, nsName namespace.Name, heartbeats []*workerpb.WorkerHeartbeat)
service/matching/workers/worker_metrics_emitter.go:26
↓ 7 callersMethodemitForwardedSourceStats
( metricsHandler metrics.Handler, forwardedFrom string, taskQueue *taskqueuepb.TaskQueue, )
client/matching/metric_client.go:188
↓ 7 callersFunctionenableSignalBacklinkOpts
()
tests/links_test.go:45
↓ 7 callersMethodexecute
( ctx context.Context, task *tasks.WorkerCommandsTask, attempt int, namespaceName string, )
service/history/worker_commands_task_dispatcher.go:78
↓ 7 callersFunctionextractMetadataFromTrailer
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 callersFunctionfileExists
File I/O util
common/archiver/filestore/util.go:29
↓ 7 callersFunctionfile_temporal_server_api_token_v1_message_proto_rawDescGZIP
()
api/token/v1/message.pb.go:729
↓ 7 callersFunctionfile_temporal_server_chasm_lib_nexusoperation_proto_v1_tasks_proto_rawDescGZIP
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/tasks.pb.go:331
↓ 7 callersFunctionfile_temporal_server_chasm_lib_scheduler_proto_v1_tasks_proto_rawDescGZIP
()
chasm/lib/scheduler/gen/schedulerpb/v1/tasks.pb.go:318
↓ 7 callersMethodforkHistoryBranch
( shardID int32, branchToken []byte, newNodeID int64, )
common/persistence/tests/history_store.go:766
↓ 7 callersFunctionfromWallClock
(wallclock int64)
service/matching/version_sets_merge_test.go:12
↓ 7 callersMethodgenerateTask
( mutableContext MutableContext, )
chasm/visibility.go:338
↓ 7 callersMethodgenerateToken
(alg keyAlgorithm, subject string, permissions []string, options errorTestOptions)
common/authorization/default_jwt_claim_mapper_test.go:373
↓ 7 callersMethodgenerateTwoBatchableTasks
()
service/history/replication/executable_history_task_test.go:479
↓ 7 callersFunctiongetActiveAssignmentRules
(rules []*persistencespb.AssignmentRule)
service/matching/version_rule_helpers.go:373
↓ 7 callersMethodgetActivityScheduleToCloseTimeout
( activityInfo *persistencespb.ActivityInfo, )
service/history/workflow/timer_sequence.go:261
↓ 7 callersMethodgetActivityStartToCloseTimeout
( activityInfo *persistencespb.ActivityInfo, )
service/history/workflow/timer_sequence.go:293
↓ 7 callersMethodgetCurrentBranchTokenAndEventVersion
(eventID int64)
service/history/workflow/mutable_state_impl.go:1003
↓ 7 callersMethodgetDatetimeFormat
()
common/persistence/visibility/store/sql/query_converter_legacy.go:37
↓ 7 callersFunctiongetDispatchByEndpointURL
(address string, endpoint string)
tests/nexus_api_test.go:728
↓ 7 callersMethodgetDrainBacklogMgr
getDrainBacklogMgr returns the draining backlog manager, or nil if none.
service/matching/physical_task_queue_manager.go:336
↓ 7 callersMethodgetEventBlobs
(firstEventID, nextEventID int64)
service/history/replication/sync_state_retriever_test.go:759
↓ 7 callersMethodgetHistory
(client workflowservice.WorkflowServiceClient, namespace string, execution *commonpb.WorkflowExecution)
tests/xdc/failover_test.go:2726
↓ 7 callersMethodgetPhysicalTaskQueueManagerImplFromKey
(ptq *PhysicalTaskQueueKey)
service/matching/matching_engine_test.go:3716
↓ 7 callersMethodgetShard
(key any)
common/collection/concurrent_tx_map.go:224
↓ 7 callersFunctiongetUpstreamBuildIds
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 callersMethodgetUsedDeploymentVersionsFromMutableState
()
service/history/workflow/mutable_state_impl_test.go:4159
↓ 7 callersFunctiongetWhereCause
(query string)
service/matching/workers/worker_query_engine.go:169
↓ 7 callersMethodgetWorkflowTaskInfo
()
service/history/workflow/workflow_task_state_machine.go:1286
↓ 7 callersMethodhasChanges
()
service/history/api/updateworkflowoptions/api.go:136
↓ 7 callersFunctionhasVisibilityField
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 callersFunctionisActivityTaskValid
( workflowLease api.WorkflowLease, scheduledEventID int64, stamp int32, )
service/history/api/isactivitytaskvalid/api.go:49
↓ 7 callersFunctionisInVersionSets
isInVersionSets returns true if the given build ID is in any of the listed version sets
service/matching/version_rule_helpers.go:446
↓ 7 callersFunctionisPartitionAwareKind
(kind enumspb.TaskQueueKind)
client/matching/client.go:525
↓ 7 callersFunctionisSchedulerErrorLegacyRoutable
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 callersMethodisStopped
()
common/tasks/sequential_scheduler.go:370
↓ 7 callersFunctionisSystemResourceExhausted
(err error)
common/util.go:202
↓ 7 callersMethodisTaskValid
( task *persistencespb.AllocatedTaskInfo, taskType enumspb.TaskQueueType, )
service/matching/task_validation.go:157
↓ 7 callersFunctionisVisibilityValueEqual
(v1, v2 VisibilityValue)
chasm/visibility_value.go:127
↓ 7 callersMethodlimited
()
service/matching/matcher_data.go:693
↓ 7 callersFunctionlocalNS
(id, name, activeCluster string)
service/worker/scanner/scheduleinvariants/invariants_test.go:80
↓ 7 callersMethodlogDataInconsistency
()
service/history/workflow/mutable_state_impl.go:9088
↓ 7 callersFunctionlogSumExpNormalize
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 callersMethodmakeAutoUpgradeOverride
()
tests/worker_deployment_version_test.go:2847
↓ 7 callersFunctionmakeBitMatcher
(ranges []*schedulepb.Range)
service/worker/scheduler/calendar.go:344
↓ 7 callersMethodmakeBuildIdQuery
( buildIdsOfInterest []string, open bool, )
service/matching/reachability.go:233
↓ 7 callersFunctionmakeMockStartRequest
( tv *testvars.TestVars, wfReusePolicy enumspb.WorkflowIdReusePolicy, wfConflictPolicy enumspb.WorkflowIdCo
service/history/history_engine2_test.go:1532
↓ 7 callersMethodmax
Returns the max of a and b.
service/matching/fair_level.go:41
← previousnext →3,401–3,500 of 43,335, ranked by callers