MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 8 callersMethodmakeTimeSkippingMS
makeTimeSkippingMS builds a running mutable state, snapshots it to a persistence proto, and returns the persistence proto plus the workflow key. The c
service/history/timer_queue_active_task_executor_test.go:2382
↓ 8 callersFunctionmatchAndConvert
matchAndConvert can't be a method of Collection because methods can't be generic, but we can take a *Collection as an argument.
common/dynamicconfig/collection.go:275
↓ 8 callersFunctionmatchAndConvertWithConstrainedDefault
( c *Collection, key Key, cdef []TypedConstrainedValue[T], convert func(value any) (T, error), precedence
common/dynamicconfig/collection.go:380
↓ 8 callersMethodmaybeRefresh
()
common/quotas/dynamic_rate_limiter_impl.go:132
↓ 8 callersMethodmergeWithLoggerTags
(tags []tag.Tag)
common/testing/testlogger/testlogger.go:446
↓ 8 callersFunctionmustAccept
(t *testing.T, store mockEventStore, upd *update.Update)
service/history/workflow/update/update_test.go:1067
↓ 8 callersMethodmustCompileCalendarSpec
(cal *schedulepb.CalendarSpec, tz *time.Location)
service/worker/scheduler/calendar_test.go:27
↓ 8 callersFunctionmustToPayload
(t *testing.T, value any)
chasm/nexus_operation_processor_test.go:54
↓ 8 callersMethodnewClientAndWorker
(hostport, ns, taskqueue, identity string)
tests/xdc/base.go:449
↓ 8 callersFunctionnewColName
(name string)
common/persistence/visibility/store/sql/query_converter_util_legacy.go:70
↓ 8 callersFunctionnewContextWithOperationIntent
( ctx context.Context, intent OperationIntent, )
chasm/component.go:121
↓ 8 callersFunctionnewEndpointEntry
(name string)
common/nexus/endpoint_registry_test.go:360
↓ 8 callersFunctionnewMultiOpError
(startErr, updateErr error)
service/history/api/multioperation/api.go:399
↓ 8 callersFunctionnewOperationContext
(options contextOptions)
service/frontend/nexus_handler_test.go:83
↓ 8 callersFunctionnewQuery
( session *session, gocqlQuery *gocql.Query, )
common/persistence/nosql/nosqlplugin/cassandra/gocql/query.go:18
↓ 8 callersFunctionnewQueryConverterInternal
( pqc pluginQueryConverterLegacy, namespaceName namespace.Name, namespaceID namespace.ID, saTypeMap search
common/persistence/visibility/store/sql/query_converter_legacy.go:97
↓ 8 callersMethodnewRandomExecutionActivityRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, scheduledEventID
common/persistence/sql/sqlplugin/tests/history_execution_activity.go:373
↓ 8 callersMethodnewRandomExecutionChildWorkflowRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, initiatedID int64
common/persistence/sql/sqlplugin/tests/history_execution_child_workflow.go:372
↓ 8 callersMethodnewRandomExecutionRequestCancelRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, initiatedID int64
common/persistence/sql/sqlplugin/tests/history_execution_request_cancel.go:372
↓ 8 callersMethodnewRandomExecutionSignalRequestRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, signalID string,
common/persistence/sql/sqlplugin/tests/history_execution_signal_requested.go:368
↓ 8 callersMethodnewRandomExecutionSignalRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, initiatedID int64
common/persistence/sql/sqlplugin/tests/history_execution_signal.go:372
↓ 8 callersMethodnewRandomExecutionTimerRow
( shardID int32, namespaceID primitives.UUID, workflowID string, runID primitives.UUID, timerID string, )
common/persistence/sql/sqlplugin/tests/history_execution_timer.go:373
↓ 8 callersMethodnewRegistry
()
common/namespace/nsregistry/registry_watch_test.go:117
↓ 8 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/namespace_test.go:37
↓ 8 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/http_api_test.go:54
↓ 8 callersFunctionnewTestShardForRateLimiter
(t *testing.T)
service/history/shard/workflow_id_rate_limiter_test.go:15
↓ 8 callersFunctionnewTestTLSProvider
(t *testing.T, cfg config.RootTLS)
common/rpc/encryption/tls_config_test.go:246
↓ 8 callersFunctionnewTimerQueueStandbyTaskExecutor
( shard historyi.ShardContext, workflowCache wcache.Cache, workflowDeleteManager deletemanager.DeleteManage
service/history/timer_queue_standby_task_executor.go:44
↓ 8 callersFunctionnormalizeTestName
normalizeTestName strips all trailing parenthesized suffixes from test names, e.g. "(retry 1)", "(final)", "(timeout)".
tools/flakereport/parser.go:121
↓ 8 callersFunctionnormalizeVersionString
normalizeVersionString take a valid semver string and returns the input as-is with the 'v' prefix removed if present
tools/common/schema/version.go:8
↓ 8 callersMethodnotifyResult
(visibilityTaskKey string, ack bool)
common/persistence/visibility/store/elasticsearch/processor.go:294
↓ 8 callersFunctionoverrideWorkflowRunTimeout
overrideWorkflowRunTimeout override the run timeout according to execution timeout
service/history/api/create_workflow_util.go:362
↓ 8 callersFunctionpOfP
pOfP returns the crossP-th percentile of per-key keyP-th percentiles.
tools/fairsim/sim_test.go:27
↓ 8 callersFunctionparseCronString
(c string)
service/worker/scheduler/calendar.go:241
↓ 8 callersMethodparseHistory
parseHistory accept history in a formatHistoryEvents format and return slice of history events w/o attributes and maps of event attributes for every e
common/testing/historyrequire/history_require.go:545
↓ 8 callersFunctionparseValueUnspecified
(valStr string)
common/searchattribute/stringify.go:152
↓ 8 callersMethodperformReset
performReset is a helper method to reset the given workflow run and assert that it is successful.
tests/workflow_reset_test.go:430
↓ 8 callersMethodpollTask
( ctx context.Context, partition tqid.Partition, pollMetadata *pollMetadata, )
service/matching/matching_engine.go:2842
↓ 8 callersFunctionpollUpdate
(s testcore.Env, tv *testvars.TestVars, waitPolicy *updatepb.WaitPolicy)
tests/update_workflow_utils.go:37
↓ 8 callersMethodrLock
()
service/history/shard/context_impl.go:1508
↓ 8 callersFunctionrandomTaskInfoWithAge
(age time.Duration)
service/matching/matcher_test.go:853
↓ 8 callersMethodreadHistoryBatches
( ctx context.Context, firstEventID int64, )
common/archiver/history_iterator.go:144
↓ 8 callersMethodrecord
record adds or removes a task from the tracker.
service/matching/backlog_age_tracker.go:24
↓ 8 callersFunctionrecordDroppedTask
recordDroppedTask records the tasks_dropped counter on the given physical-queue handler. It is a no-op when reason is dropReasonUnspecified (a non-dro
service/matching/metrics_util.go:59
↓ 8 callersMethodrecordMessage
(method string, msg proto.Message, direction string, clusterName string, targetAddr string, isStreamCall bool)
tests/testcore/replication_stream_recorder.go:103
↓ 8 callersMethodroot
()
chasm/tree.go:2889
↓ 8 callersFunctionrunBisect
runBisect computes posterior probability for each candidate culprit commit. obs must be sorted by CommitIdx ascending (chronological). The model: ther
tools/flakereport/bisect.go:125
↓ 8 callersMethodsendTasks
( priority enumsspb.TaskPriority, beginInclusiveWatermark int64, endExclusiveWatermark int64, )
service/history/replication/stream_sender.go:466
↓ 8 callersMethodserialize
serialize sets or updates serializedValue field of the node n with serialized value. It sets node's valueState to valueStateSynced and updates LastUpd
chasm/tree.go:795
↓ 8 callersFunctionsetTrailerInOpts
setTrailerInOpts finds the grpc.TrailerCallOption in opts and populates it.
client/matching/partition_counts_test.go:18
↓ 8 callersMethodsetValue
setValue sets the value field of the node. If the node is a component or data node, the index from node value to node (valueToNode) is also updated.
chasm/tree.go:396
↓ 8 callersMethodsetupGlobalNamespaceWithTwoReplicationCluster
(forwardingEnabled bool, isRecordActive bool)
common/rpc/interceptor/dc_redirection_policy_test.go:457
↓ 8 callersMethodstartHrsuTest
()
tests/xdc/history_replication_signals_and_updates_test.go:102
↓ 8 callersMethodstartWorkflow
startWorkflow starts a workflow in the cluster and replicates the initial workflow events to the other cluster.
tests/xdc/history_replication_signals_and_updates_test.go:909
↓ 8 callersFunctionsubscribe
( c *Collection, key Key, def T, convert func(value any) (T, error), prec []Constraints, callback func(T
common/dynamicconfig/collection.go:392
↓ 8 callersFunctionsubscribeWithConstrainedDefault
( c *Collection, key Key, cdef []TypedConstrainedValue[T], convert func(value any) (T, error), prec []Con
common/dynamicconfig/collection.go:435
↓ 8 callersMethodtaskIDsRange
( lastReadMessageID int64, )
service/history/replication/ack_manager.go:380
↓ 8 callersMethodtestPinnedCaNUpgradeOnCaN
testPinnedCaN_UpgradeOnCaN tests ContinueAsNew of a Pinned workflow with InitialVersioningBehavior set to AUTO_UPGRADE using task polling directly (wi
tests/versioning_3_test.go:2917
↓ 8 callersFunctiontimeNotSet
(ts *timestamppb.Timestamp)
service/history/workflow/util.go:317
↓ 8 callersMethodtoProto
()
service/matching/fair_level.go:64
↓ 8 callersFunctiontransitionOperation
( root *hsm.Node, event *historypb.HistoryEvent, fn func(node *hsm.Node, o Operation) (hsm.TransitionOutput
components/nexusoperations/events.go:310
↓ 8 callersFunctiontranslateError
(err error, msgPrefix string)
service/worker/scheduler/activities.go:266
↓ 8 callersMethodupdatePollerInfo
(id pollerIdentity, pollMetadata *pollMetadata)
service/matching/poller_history.go:41
↓ 8 callersMethodupdateSearchAttributes
( updatedPayloadMap map[string]*commonpb.Payload, )
service/history/workflow/mutable_state_impl.go:7600
↓ 8 callersFunctionvalidateEvents
(events []*historypb.HistoryEvent)
service/history/ndc/replication_task.go:499
↓ 8 callersFunctionvalidateOnConflictOptions
validateOnConflictOptions validates the on_conflict_options of a start request: - attach_completion_callbacks requires attach_request_id. A completion
chasm/lib/activity/validator.go:236
↓ 8 callersMethodvalue
()
chasm/field_internal.go:34
↓ 8 callersFunctionverifyTags
(t *testing.T, handler metrics.Handler, expectedTags map[string]string)
common/metrics/metricstest/task_queues_test.go:76
↓ 8 callersMethodwaitForRedirectRulePropagation
waitForRedirectRulePropagation waits for all partitions of tq to have the given redirect rule in their versioning data
tests/versioning_test.go:4918
↓ 8 callersFunctionwarnDefaultSharedStructure
(key string, def any)
common/dynamicconfig/shared_structure.go:19
↓ 8 callersFunctionwriteFile
(filepath string, data []byte, fileMode os.FileMode)
common/archiver/filestore/util.go:57
↓ 7 callersMethodAddChildWorkflowExecutionCanceledEvent
(int64, *commonpb.WorkflowExecution, *historypb.WorkflowExecutionCanceledEventAttributes)
service/history/interfaces/mutable_state.go:68
↓ 7 callersMethodAddChildWorkflowExecutionFailedEvent
(int64, *commonpb.WorkflowExecution, *historypb.WorkflowExecutionFailedEventAttributes)
service/history/interfaces/mutable_state.go:70
↓ 7 callersMethodAddChildWorkflowExecutionTimedOutEvent
(int64, *commonpb.WorkflowExecution, *historypb.WorkflowExecutionTimedOutEventAttributes)
service/history/interfaces/mutable_state.go:73
↓ 7 callersFunctionAddPayloadHandler
( ctx context.Context, request AddPayloadRequest, )
chasm/lib/tests/handler.go:167
↓ 7 callersMethodAddReapplyCandidateEvent
(event *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:407
↓ 7 callersMethodAddSignalRequested
(requestID string)
service/history/interfaces/mutable_state.go:92
↓ 7 callersMethodAddTasks
( ctx context.Context, in *adminservice.AddTasksRequest, )
service/worker/dlq/workflow.go:96
↓ 7 callersMethodAddWorkflowExecutionCancelRequestedEvent
(*historyservice.RequestCancelWorkflowExecutionRequest)
service/history/interfaces/mutable_state.go:101
↓ 7 callersMethodAddWorkflowExecutionPausedEvent
(identity string, reason string, requestID string)
service/history/interfaces/mutable_state.go:230
↓ 7 callersFunctionAndPredicates
(a Predicate, b Predicate)
service/history/tasks/predicates.go:235
↓ 7 callersFunctionApplyTypeMap
ApplyTypeMap set type for all valid search attributes which don't have it. It doesn't do any validation and just skip invalid or already set search at
common/searchattribute/search_attirbute.go:31
↓ 7 callersMethodApplyWorkflowExecutionTimeSkippingTransitionedEvent
(ctx context.Context, event *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:426
↓ 7 callersMethodArchetypeDisplayName
ArchetypeDisplayName returns the human-readable name for a given archetype ID. This method should only be used by CHASM framework internal code, NOT C
chasm/registry.go:185
↓ 7 callersFunctionArchetypeID
ArchetypeID returns tag for Archetype
common/log/tag/tags.go:89
↓ 7 callersMethodArchetypeIDOf
ArchetypeIDOf returns the ArchetypeID for the given component Go type. This method should only be used by CHASM framework internal code, NOT CHASM lib
chasm/registry.go:196
↓ 7 callersMethodArchive
(context.Context, *Request)
service/history/archival/archiver.go:70
↓ 7 callersMethodAssertFiredOnce
AssertFiredOnce asserts that the callback was triggered exactly once.
common/clock/event_time_source_test.go:25
↓ 7 callersMethodAttrs
(ctx context.Context)
common/archiver/gcloud/connector/client_delegate.go:30
↓ 7 callersMethodBackFillEvents
( ctx context.Context, remoteCluster string, workflowKey definition.WorkflowKey, startEventId int6
service/history/replication/executable_task.go:92
↓ 7 callersMethodBackfillHistoryEvents
(ctx context.Context, request *BackfillHistoryEventsRequest)
service/history/interfaces/engine.go:73
↓ 7 callersMethodBuildAndExpr
(exprs ...ExprT)
common/persistence/visibility/store/query/converter.go:38
↓ 7 callersFunctionBuildIDToStringV32
(deploymentName, buildID string)
common/worker_versioning/worker_versioning.go:1162
↓ 7 callersMethodBuildSearchParametersV2
( request *manager.ListWorkflowExecutionsRequestV2, getFieldSorter func([]elastic.Sorter) ([]elastic.Sorter,
common/persistence/visibility/store/elasticsearch/visibility_store.go:577
↓ 7 callersFunctionCalculateExternalPayloadSize
CalculateExternalPayloadSize calculates the total size and count of all external payloads in the given history events.
service/history/workflow/external_payload_size.go:13
↓ 7 callersMethodClose
Close closes the iterator and releases any allocated resources
common/cache/cache.go:82
↓ 7 callersFunctionCommitBuildID
CommitBuildID makes the following changes. If no worker that can accept tasks for the target build ID has been seen recently, the operation will fail.
service/matching/version_rule_helpers.go:263
↓ 7 callersMethodConnect
Connect returns a connection to a client for the server.
common/testing/nettest/pipe.go:49
↓ 7 callersFunctionContextCounterGet
ContextCounterGet returns value and true if successfully retrieved value
common/metrics/grpc.go:162
↓ 7 callersFunctionContextMetadataGetAll
ContextMetadataGetAll retrieves all metadata from the context as a map copy.
common/contextutil/metadata.go:177
← previousnext →3,101–3,200 of 43,335, ranked by callers