MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersMethodrecordStartChildExecutionFailed
( ctx context.Context, task *tasks.StartChildExecutionTask, wfContext historyi.WorkflowContext, initiatedA
service/history/transfer_queue_active_task_executor.go:1389
↓ 2 callersFunctionrecordTallyMetrics
(h Handler)
common/metrics/tally_metrics_handler_test.go:76
↓ 2 callersMethodrecordTimeoutTasksForDeletion
(workflowTask *historyi.WorkflowTaskInfo)
service/history/workflow/workflow_task_state_machine.go:1025
↓ 2 callersFunctionrecordTimer
(mp Handler)
common/metrics/otel_metrics_handler_test.go:287
↓ 2 callersMethodrecordUtilizationMetric
recordUtilizationMetric records the overall capacity utilization ratio.
service/matching/workers/registry_impl.go:286
↓ 2 callersMethodrecordWorkerCountMetric
recordWorkerCountMetric emits a gauge per namespace. When a namespace moves to a different matching node, the old node's gauge goes stale until its en
service/matching/workers/registry_impl.go:308
↓ 2 callersMethodrefForComponent
refForComponent looks up the ComponentRef for a component instance by scanning all executions. It works because Node.CloseTransaction (called after ev
chasm/chasmtest/test_engine.go:624
↓ 2 callersMethodrefresh
Returning an error from here means that we should retry creating/starting the worker. Returning noWorkerNeeded means any existing worker should be sto
service/worker/pernamespaceworker.go:381
↓ 2 callersMethodrefreshAll
()
service/worker/pernamespaceworker.go:201
↓ 2 callersMethodrefreshDynamicParams
()
common/persistence/client/health_request_rate_limiter.go:141
↓ 2 callersMethodrefreshTasksForChildWorkflow
( mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransition *persistencespb.V
service/history/workflow/task_refresher.go:501
↓ 2 callersMethodrefreshTasksForRequestCancelExternalWorkflow
( ctx context.Context, mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransi
service/history/workflow/task_refresher.go:540
↓ 2 callersMethodrefreshTasksForSignalExternalWorkflow
( ctx context.Context, mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransi
service/history/workflow/task_refresher.go:580
↓ 2 callersMethodrefreshTasksForTimeSkipping
refreshTasksForTimeSkipping re-stamps pending timer tasks against the current accumulated skip when a time-skipping transition happened within the rep
service/history/workflow/task_refresher.go:476
↓ 2 callersMethodrefreshTokenC
(value *atomic.Value, curr *int32, maxLimit int32)
service/matching/forwarder.go:335
↓ 2 callersFunctionregenerateActivityRetryTask
( activityInfo *persistencespb.ActivityInfo, scheduleNewRun bool, jitter time.Duration, ms historyi.Mutabl
service/history/workflow/activity.go:501
↓ 2 callersMethodregisterToLibrary
( library namer, )
chasm/registrable_task.go:148
↓ 2 callersMethodreject
rejects an Update with provided failure.
service/history/workflow/update/update.go:735
↓ 2 callersMethodrelease
()
common/testing/testcontext/context.go:182
↓ 2 callersFunctionremoveDeploymentVersions
removeDeploymentVersions removes provided build IDs from the new-format per-deployment map and, when requested, the corresponding entries from the dep
service/matching/matching_engine.go:3683
↓ 2 callersMethodremoveOldestExpiredWorkflowRule
(nsName string, rules map[string]*rulespb.WorkflowRule)
service/frontend/namespace_handler.go:772
↓ 2 callersMethodremoveShard
(shardID int32, expected historyi.ControllableContext)
service/history/shard/controller_impl.go:278
↓ 2 callersMethodremoveShardLocked
(shardID int32, expected historyi.ControllableContext)
service/history/shard/controller_impl.go:284
↓ 2 callersMethodrenewLeaseWithRetry
( retryPolicy backoff.RetryPolicy, retryErrors backoff.IsRetryable, )
service/matching/pri_task_writer.go:194
↓ 2 callersMethodrenewLeaseWithRetry
( retryPolicy backoff.RetryPolicy, retryErrors backoff.IsRetryable, )
service/matching/task_writer.go:195
↓ 2 callersMethodrenewLeaseWithRetry
( retryPolicy backoff.RetryPolicy, retryErrors backoff.IsRetryable, )
service/matching/fair_task_writer.go:229
↓ 2 callersMethodreorderBuffer
TODO remove this function once we keep all info in DB, e.g. activity / timer / child workflow to deprecate * HasActivityFinishEvent * hasActivityFinis
service/history/historybuilder/event_store.go:457
↓ 2 callersFunctionreplaceServicePort
(address string, servicePort int)
common/membership/ringpop/monitor.go:452
↓ 2 callersMethodreplayResetWorkflow
( ctx context.Context, namespaceID namespace.ID, workflowID string, baseRunID string, baseBranchToken []b
service/history/ndc/workflow_resetter.go:433
↓ 2 callersMethodreplicateRemoteGeneratedEvents
nolint:revive // cognitive complexity 35 (> max enabled 25)
service/history/replication/eventhandler/resend_handler.go:215
↓ 2 callersMethodreport
report Sends runtime metrics to the local metrics collector.
common/metrics/runtime.go:64
↓ 2 callersMethodreportCrash
nolint:revive,deep-exit
tools/testrunner/testrunner.go:250
↓ 2 callersMethodrequireAlive
(t *testing.T)
tests/mixedbrain/server_util.go:74
↓ 2 callersFunctionrequirePayload
(t require.TestingT, expected string, pls *commonpb.Payloads)
tests/activity_api_reset_test.go:427
↓ 2 callersFunctionrequireTimeoutPropagated
(t *testing.T, result *nexusrpc.ClientStartOperationResponse[*nexus.LazyValue], expected time.Duration)
common/nexus/nexusrpc/start_test.go:335
↓ 2 callersMethodrescheduleBackfill
(ctx chasm.MutableContext, backfiller *Backfiller)
chasm/lib/scheduler/backfiller_tasks.go:143
↓ 2 callersMethodreschedulePendingActivities
reschedulePendingActivities reschedules all the activities that are not started, so they are scheduled against the right queue in matching.
service/history/workflow/mutable_state_impl.go:9811
↓ 2 callersMethodreseed
reseed rotates the shadow row to break persistent hash collisions over time. The current shadow becomes active, and the next row becomes the new shado
service/matching/counter/cmsketch.go:178
↓ 2 callersMethodreset
(eventId int64)
tests/reset_workflow_test.go:529
↓ 2 callersMethodreset
reset resets iterator to a certain state given its encoded representation if it returns an error, the operation will have no effect on the iterator
common/archiver/history_iterator.go:209
↓ 2 callersMethodresetCacheStateLocked
()
service/matching/nexus_endpoint_client.go:346
↓ 2 callersMethodresetCheckpointTimer
(checkPointErr error)
service/history/queues/queue_base.go:414
↓ 2 callersMethodresetTaskStatus
()
chasm/tree.go:2662
↓ 2 callersMethodresetWorkflowAssignsToCorrectBuildIDCan
( env *testcore.TestEnv, inheritBuildID bool, )
tests/versioning_test.go:3706
↓ 2 callersMethodresetWorkflowAssignsToCorrectBuildIDChildWf
( env *testcore.TestEnv, inheritBuildID bool, )
tests/versioning_test.go:3796
↓ 2 callersMethodresolve
()
common/membership/grpc_resolver.go:137
↓ 2 callersFunctionresolveDuplicateWorkflowStart
A minimal interval between workflow starts is used to prevent multiple starts with the same ID too rapidly. If the new workflow is started before the
service/history/api/workflow_id_dedup.go:162
↓ 2 callersFunctionresolveModuleOriginForSpec
resolveModuleOriginForSpec reports whether shortHash is reachable from the default branch of mod's repository. It runs two git commands: 1. git clon
cmd/tools/check-dependencies/main.go:202
↓ 2 callersMethodresolveOverlapPolicy
(overlapPolicy enumspb.ScheduleOverlapPolicy)
service/worker/scheduler/workflow.go:1316
↓ 2 callersMethodresolveOverlapPolicy
(overlapPolicy enumspb.ScheduleOverlapPolicy)
chasm/lib/scheduler/scheduler.go:443
↓ 2 callersFunctionresolveReleaseVersion
resolveReleaseVersion returns the highest version for the previous minor. Stable releases are preferred over pre-releases per semver ordering. Pre-rel
tests/mixedbrain/build_util.go:65
↓ 2 callersFunctionrespondCompleteWorkflowUnversioned
( tv *testvars.TestVars, )
tests/versioning_3_test.go:4630
↓ 2 callersMethodrespondWorkflowTaskCompleted
(token []byte, ns namespace.Name)
tests/namespace_interceptor_test.go:91
↓ 2 callersMethodrespoolTaskAfterError
(task *persistencespb.TaskInfo)
service/matching/pri_backlog_manager.go:361
↓ 2 callersMethodretryReadAfter
(duration time.Duration)
service/matching/fair_task_reader.go:561
↓ 2 callersFunctionreverselyLinkNode
( tailNodeID int64, tailTransactionID int64, transactionIDToNode map[int64]historyNodeMetadata, )
common/persistence/history_node_util.go:64
↓ 2 callersMethodreviveBuildId
Revives a deleted build ID updating its HLC timestamp. Returns a new build ID leaving the provided one untouched.
service/matching/matching_engine.go:3418
↓ 2 callersFunctionrewind
rewind moves a timestamp back by 1 millisecond to ensure positive durations in tests
common/rpc/dial_tracer_test.go:84
↓ 2 callersFunctionrolloutKey
(namespace, id string)
common/dynamicconfig/rollout_test.go:10
↓ 2 callersFunctionrolloverAutoResetPointsWithExpiringTime
( resetPoints *workflowpb.ResetPoints, prevRunID string, newExecutionStartTime time.Time, namespaceRetenti
service/history/workflow/mutable_state_impl.go:6310
↓ 2 callersFunctionrun
(t *testing.T, s T, parallel bool, args ...any)
common/testing/parallelsuite/suite.go:151
↓ 2 callersMethodrun
(ctx context.Context, buildId string)
service/matching/reachability.go:109
↓ 2 callersMethodrunBatchUpdateWorkflowExecutionOptionsTest
(createVersionFirst bool)
tests/worker_deployment_version_test.go:2698
↓ 2 callersMethodrunDeleteWorkflowExecutionForReplicationCheck
( workflowActiveCluster string, )
service/history/shard/context_test.go:366
↓ 2 callersMethodrunHTTPAPIBasicsTest
( env *testcore.TestEnv, contentType string, startWFRequestBody, queryBody, signalBody func() string, veri
tests/http_api_test.go:58
↓ 2 callersMethodrunHTTPAPIBasicsTest_Protojson
(contentType string, pretty bool)
tests/http_api_test.go:174
↓ 2 callersMethodrunHTTPAPIBasicsTest_Shorthand
(contentType string, pretty bool)
tests/http_api_test.go:237
↓ 2 callersMethodrunReadManifestTest
( dir, input, currVer, minVer, desc string, files []string, isErr bool, )
tools/common/schema/updatetask_test.go:202
↓ 2 callersFunctionrunSharedScheduleTests
(t *testing.T, newContext contextFactory)
tests/schedule_test.go:118
↓ 2 callersMethodrunTDBGCommand
runTDBGCommand is useful for manually testing the TDBG CLI because, in addition to automated checks that we can run on the parsed output, we also just
tests/xdc/history_replication_dlq_test.go:497
↓ 2 callersFunctionrunTestServerMultipleDials
( s *suite.Suite, host string, serverFactory *TestFactory, clientFactory *TestFactory, nDials int, valid
common/rpc/test/rpc_common_test.go:113
↓ 2 callersFunctionrunWithMatchingBehaviors
runWithMatchingBehaviors runs a test with all combinations of matching behaviors.
tests/matching_utils.go:19
↓ 2 callersMethodrunWorkflowWithPoller
(env *testcore.TestEnv, tv *testvars.TestVars)
tests/reset_workflow_test.go:211
↓ 2 callersMethodrunningWorkflowID
runningWorkflowID returns the workflow ID associated with the given outstanding request.
chasm/lib/scheduler/invoker.go:232
↓ 2 callersMethodsanitizeActualHistoryEventsForEquals
sanitizeActualHistoryEventsForEquals clears EventID and Version fields from actual history events if they are not set in the CORRESPONDING expected hi
common/testing/historyrequire/history_require.go:305
↓ 2 callersFunctionsanitizeChildExecutionInfo
( pendingChildInfo map[int64]*persistencespb.ChildExecutionInfo, )
service/history/workflow/mutable_state_util.go:73
↓ 2 callersFunctionsanitizeExecutionInfo
( executionInfo *persistencespb.WorkflowExecutionInfo, )
service/history/workflow/mutable_state_util.go:58
↓ 2 callersMethodsaveCancellationResult
saveCancellationResult saves the cancellation result by updating the cancellation component.
chasm/lib/nexusoperation/cancellation_tasks.go:176
↓ 2 callersFunctionscaleStateToReadCount
(scaleState *persistencespb.PartitionScaleState)
service/matching/scale_manager.go:416
↓ 2 callersFunctionscalerBacklogUnchanged
(s testcore.Env, tv *testvars.TestVars, sleep time.Duration, parts ...int)
tests/partition_scaling_test.go:342
↓ 2 callersMethodscheduleAcquire
()
service/history/shard/ownership.go:103
↓ 2 callersMethodscheduleIsExpectedNotToFire
scheduleIsExpectedNotToFire returns true when a schedule flagged as "overdue" in visibility is actually in a state that legitimately explains the stal
service/worker/scanner/scheduleinvariants/invariants.go:347
↓ 2 callersMethodscheduleSentinelsEnabled
(namespaceName string)
service/frontend/workflow_handler.go:3826
↓ 2 callersMethodscheduleToCloseDeadline
scheduleToCloseDeadline returns the absolute time at which the ScheduleToClose timeout expires, accounting for start delay. Returns zero time if no Sc
chasm/lib/activity/activity.go:748
↓ 2 callersFunctionscope
scope returns a tag for scope Pre-defined scope tags are in values.go.
common/log/tag/tags.go:414
↓ 2 callersFunctionscoreAddr
scoreAddr scores how likely the given addr is to be a remote address and returns the IP to use when listening. Any address which receives a negative s
common/config/localip.go:16
↓ 2 callersMethodsend
send sends message to webhook URL
tools/flakereport/slack.go:281
↓ 2 callersMethodsendLive
( priority enumsspb.TaskPriority, newTaskNotificationChan <-chan struct{}, beginInclusiveWatermark int64, )
service/history/replication/stream_sender.go:423
↓ 2 callersMethodsendNexusCompletionRequest
( ctx context.Context, t *testing.T, testCluster *testcore.TestCluster, url string, completion nexusrpc.C
tests/xdc/nexus_request_forwarding_test.go:675
↓ 2 callersMethodsendStartWorkflowRequestWithOptions
( tv *testvars.TestVars, optsFn ...func(request *workflowservice.StartWorkflowExecutionRequest), )
tests/reset_workflow_test.go:459
↓ 2 callersFunctionsendUpdateInternal
( ctx context.Context, s testcore.Env, tv *testvars.TestVars, waitPolicy *updatepb.WaitPolicy, requireNoE
tests/update_workflow_utils.go:81
↓ 2 callersFunctionsendUpdateNoErrorInternal
(s testcore.Env, tv *testvars.TestVars, waitPolicy *updatepb.WaitPolicy)
tests/update_workflow_utils.go:68
↓ 2 callersMethodserialize
()
common/persistence/sql/execution_tasks.go:767
↓ 2 callersMethodserialize
(f func(c Component[T]) string)
common/routing/route.go:91
↓ 2 callersMethodserializeAppendHistoryNodesRequest
( request *AppendHistoryNodesRequest, )
common/persistence/history_manager.go:324
↓ 2 callersFunctionserializeConflictToken
serializeConflictToken serializes a conflict token as a byte slice.
chasm/lib/scheduler/util.go:28
↓ 2 callersFunctionserializePageToken
(offset int64)
common/persistence/sql/common.go:103
↓ 2 callersFunctionserializePageTokenLegacy
(token *pageTokenLegacy)
common/persistence/visibility/store/sql/pagination_token_legacy.go:25
↓ 2 callersFunctionserializeTask
( registrableTask *RegistrableTask, taskValue reflect.Value, )
chasm/tree.go:3185
↓ 2 callersMethodserveResolvedURL
(w http.ResponseWriter, r *http.Request, u *url.URL, nc *nexusContext)
service/frontend/nexus_operation_http_handler.go:303
← previousnext →8,801–8,900 of 43,335, ranked by callers