MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersMethoddeserialize
(payload []byte)
common/persistence/sql/execution_tasks.go:771
↓ 2 callersFunctiondeserializeBlob
( historySerializer serialization.Serializer, blob *commonpb.DataBlob, )
service/history/ndc/replication_task.go:516
↓ 2 callersFunctiondeserializeGetHistoryToken
(bytes []byte)
common/archiver/filestore/util.go:149
↓ 2 callersFunctiondeserializePageToken
(payload []byte)
common/persistence/sql/common.go:109
↓ 2 callersMethoddeserializeTaskWithCache
( registrableTask *RegistrableTask, taskBlob *commonpb.DataBlob, )
chasm/tree.go:3098
↓ 2 callersFunctiondiscoverTestMethods
(ptrType, structType reflect.Type, args []any)
common/testing/parallelsuite/suite.go:247
↓ 2 callersFunctiondispatchAndCompleteNexusTask
(t *testing.T, s *testcore.TestEnv, expectTaskForwarded, expectPollForwarded bool)
tests/nexus_matching_test.go:53
↓ 2 callersMethoddispatchBufferedTasks
()
service/matching/task_reader.go:85
↓ 2 callersMethoddispatchChildWorkflowUpgrade
( env *testcore.TestEnv, newVersioning bool, )
tests/versioning_test.go:2696
↓ 2 callersMethoddispatchContinueAsNewUpgrade
( env *testcore.TestEnv, newVersioning bool, )
tests/versioning_test.go:3181
↓ 2 callersMethoddispatchCron
( env *testcore.TestEnv, newVersioning bool, )
tests/versioning_test.go:3527
↓ 2 callersMethoddispatchNewWorkflow
( env *testcore.TestEnv, newVersioning bool, )
tests/versioning_test.go:486
↓ 2 callersMethoddispatchNotUsingVersioning
( env *testcore.TestEnv, newVersioning bool, )
tests/versioning_test.go:1503
↓ 2 callersMethoddispatchQuery
( env *testcore.TestEnv, newVersioning bool, )
tests/versioning_test.go:2884
↓ 2 callersMethoddispatchUpdate
for internal use:
common/dynamicconfig/setting.go:39
↓ 2 callersMethoddispatchWorkflowUpdateAsCurrent
( ctx context.Context, isWorkflowRebuilt bool, targetWorkflow Workflow, newWorkflow Workflow, archetypeID
service/history/ndc/transaction_manager_existing_workflow.go:154
↓ 2 callersMethoddoApplyBackfillEvents
( ctx context.Context, task replicationTask, action func(context.Context, historyi.MutableState, historyi.W
service/history/ndc/history_replicator.go:233
↓ 2 callersMethoddoGCAt
(ackLevel fairLevel)
service/matching/fair_task_reader.go:706
↓ 2 callersMethoddoGCAt
(ackLevel int64)
service/matching/pri_task_reader.go:532
↓ 2 callersMethoddoPollActivityAndHandleErr
( env *testcore.TestEnv, tv *testvars.TestVars, versioned bool, handler func(task *workflowservice.PollAct
tests/versioning_3_test.go:4854
↓ 2 callersMethoddone
done returns true if this page and all previous pages are complete
service/worker/batcher/activities.go:113
↓ 2 callersMethoddrain
()
service/history/queues/rescheduler.go:254
↓ 2 callersMethoddrainTasks
drainTasks pops and processes all remaining tasks, printing each one.
tools/fairsim/sim.go:206
↓ 2 callersMethoddrainWorkflowTaskAfterSetCurrentWithOverride
drainWorkflowTaskAfterSetCurrent is a helper that sets the current deployment version, drains the initial workflow task from the execution, and ensure
tests/versioning_3_test.go:718
↓ 2 callersFunctiondrainageStatusString
(ds client.WorkerDeploymentVersionDrainageStatus)
service/worker/workerdeployment/replaytester/worker/worker.go:254
↓ 2 callersMethoddrivePollsUntilRunNotRunning
drivePollsUntilRunNotRunning is like drivePollsUntilClosed but exits on any non-RUNNING status. Used for cron, where a run rolls to CONTINUED_AS_NEW r
tests/timeskipping_propagation_test.go:759
↓ 2 callersFunctioneffectiveTimeout
(customTimeout time.Duration)
common/testing/testcontext/context.go:188
↓ 2 callersMethodemitActionMetric
( methodName string, fullName string, req any, metricsHandler metrics.Handler, result any, )
common/rpc/interceptor/telemetry.go:238
↓ 2 callersMethodemitDispatchLatency
(task *internalTask, forwarded bool)
service/matching/pri_matcher.go:524
↓ 2 callersMethodemitMetric
( taskChanKey TaskChannelKey, stats *scheduleStats, )
service/history/queues/scheduler_monitor.go:161
↓ 2 callersMethodemitOnAttemptTimedOutMetrics
(ctx chasm.Context, handler metrics.Handler, timeoutType enumspb.TimeoutType)
chasm/lib/activity/activity.go:1117
↓ 2 callersFunctionemitOperationCanceled
emitOperationCanceled emits the cancel counter and latency metrics for an operation that completed as canceled.
components/nexusoperations/metrics.go:56
↓ 2 callersFunctionemitOperationFailed
emitOperationFailed emits the failure counter and latency metrics for an operation that failed non-retryably.
components/nexusoperations/metrics.go:50
↓ 2 callersFunctionemitOperationSucceeded
emitOperationSucceeded emits the success counter and latency metrics for an operation that completed successfully.
components/nexusoperations/metrics.go:44
↓ 2 callersFunctionemitOperationTimedOut
emitOperationTimedOut emits the timeout counter (tagged with the timeout type) and latency metrics for an operation that timed out.
components/nexusoperations/metrics.go:62
↓ 2 callersMethodemitPhysicalBacklogGaugesLocked
emitPhysicalBacklogGaugesLocked emits backlog gauges tagged by priority key, along with the legacy task_lag_per_tl gauge. When version-attributed bac
service/matching/db.go:831
↓ 2 callersFunctionemitScheduleToStartLatency
emitScheduleToStartLatency emits the schedule-to-start latency when an async operation starts.
components/nexusoperations/metrics.go:104
↓ 2 callersMethodemitTaskMetrics
(operation string, err error)
service/history/replication/task_processor.go:542
↓ 2 callersFunctionencode
encoding & decoding util
common/archiver/filestore/util.go:122
↓ 2 callersMethodencodeHex
(dst []byte)
common/primitives/uuid.go:142
↓ 2 callersFunctionencodeLink
decodeLink encodes the link to Nexus-Link header value. It follows the same format of HTTP Link header: https://developer.mozilla.org/en-US/docs/Web/H
common/nexus/nexusrpc/api.go:142
↓ 2 callersMethodencodeSlice
Due to the lack of generics in go this function accepts callback which should return particular item by it index.
common/codec/jsonpb.go:91
↓ 2 callersFunctionencodingTypeFromEnv
encodingTypeFromEnv returns an EncodingType based on the environment variable `TEMPORAL_TEST_DATA_ENCODING`. It defaults to "ENCODING_TYPE_PROTO3" cod
common/persistence/serialization/codec.go:28
↓ 2 callersFunctionenqueueAndDeserializeBlob
( ctx context.Context, t *testing.T, queue persistence.QueueV2, manager persistence.HistoryTaskQueueManage
common/persistence/tests/history_task_queue_manager_test_suite.go:262
↓ 2 callersFunctionenqueueTasks
( t *testing.T, historyTaskQueueManager persistence.HistoryTaskQueueManager, numTasks int, sourceCluster s
client/history/historytest/clienttest.go:174
↓ 2 callersMethodenqueueWorkflows
(sets int, tqName string)
tests/task_queue_stats_test.go:1125
↓ 2 callersMethodenrichNexusOperationMetrics
enrichNexusOperationMetrics enhances metrics with additional Nexus operation context based on configuration.
service/frontend/nexus_handler.go:289
↓ 2 callersMethodensureDefaultSubqueuesLocked
( infos []*persistencespb.SubqueueInfo, initAckLevel int64, initApproxCount int64, )
service/matching/db.go:883
↓ 2 callersMethodensureHistory
()
tests/testcore/clients.go:103
↓ 2 callersFunctionensureMinimumProportionOfHosts
(proportionOfDeclinedServingHosts float64, totalHosts int)
service/frontend/health_check.go:205
↓ 2 callersMethodensurePartitionCountLocked
caller to ensure that lock is obtained before call this function
client/matching/loadbalancer.go:200
↓ 2 callersFunctionensureRepConfig
(proto *persistencespb.NamespaceReplicationConfig)
common/namespace/testconstructors.go:84
↓ 2 callersFunctioneq
( left T, leftLbl string, right T, rightLbl string, msg proto.Message, )
service/history/workflow/update/validation.go:19
↓ 2 callersFunctionequalTLSCerts
(a, b *tls.Certificate)
common/rpc/encryption/local_store_cert_provider.go:575
↓ 2 callersMethoderror
(err error)
common/dynamicconfig/yaml_loader.go:120
↓ 2 callersFunctionerrorMessage
(level Level, msg string)
common/testing/testlogger/testlogger.go:674
↓ 2 callersMethoderrors
()
common/testing/await/require_ctx_test.go:554
↓ 2 callersFunctionescapeLikeValueForPrefixSearch
(in string, escape byte)
common/persistence/visibility/store/sql/query_converter.go:304
↓ 2 callersFunctioneventToString
(event *membership.ChangedEvent)
common/membership/ringpop/monitor_test.go:225
↓ 2 callersMethodeventsToReplicationTask
( transactionPolicy historyi.TransactionPolicy, eventBatches [][]*historypb.HistoryEvent, )
service/history/workflow/mutable_state_impl.go:8469
↓ 2 callersMethodevictByTTL
evictByTTL removes entries older than expireBefore from this bucket. Returns the number of entries removed.
service/matching/workers/registry_impl.go:188
↓ 2 callersMethodexecute
( ctx context.Context, executable queues.Executable, task tasks.Task, )
service/history/transfer_queue_active_task_executor.go:126
↓ 2 callersMethodexecute
(task *nexusoperationpb.InvocationTask)
chasm/lib/nexusoperation/operation_tasks_test.go:200
↓ 2 callersMethodexecute
(task *nexusoperationpb.CancellationTask)
chasm/lib/nexusoperation/cancellation_tasks_test.go:138
↓ 2 callersMethodexecuteChasmPureTimers
executeChasmPureTimers walks a CHASM tree for expired pure task timers, executes them, and returns a count of timers processed.
service/history/timer_queue_task_executor_base.go:260
↓ 2 callersMethodexecuteGenTasksCommand
(args []string)
tools/fairsim/sim.go:322
↓ 2 callersMethodexecutePropagationBatch
executePropagationBatch executes a single batch of propagation and returns task queue max versions to check
service/worker/workerdeployment/version_workflow.go:1437
↓ 2 callersMethodexecuteStateMachineTimers
executeStateMachineTimers gets the state machine timers, processes the expired timers, and returns a count of timers processed.
service/history/timer_queue_task_executor_base.go:290
↓ 2 callersMethodexecuteValidatedTask
( ctx context.Context, task *replicationspb.NamespaceTaskAttributes, )
common/namespace/nsreplication/replication_task_executor.go:101
↓ 2 callersMethodexecuteWorkflow
executeWorkflow just executes a simple no-op workflow that returns "hello" and returns the sdk workflow run.
tests/dlq_test.go:430
↓ 2 callersFunctionexecutionFailed
executionFailed reports whether a closed execution ended in a failure state (failed, terminated, cancelled, or timed out). This drives the [chasm.Busi
chasm/chasmtest/test_engine.go:651
↓ 2 callersFunctionexecutionStateBlobFromRow
( result map[string]any, )
common/persistence/cassandra/mutable_state_store.go:1141
↓ 2 callersMethodexecutionStatus
()
chasm/lib/scheduler/scheduler.go:937
↓ 2 callersFunctionexists
exists checks if a path exists
cmd/tools/protogen/main.go:80
↓ 2 callersMethodexistsWFAssignedToAny
( ctx context.Context, buildIdsOfInterest []string, open bool, )
service/matching/reachability.go:216
↓ 2 callersMethodexpectTransientFailureMetricsRecorded
(uc UsecaseConfig, shardContext *historyi.MockShardContext)
service/history/api/respondactivitytaskfailed/api_test.go:477
↓ 2 callersMethodexportOTELTraces
()
tests/testcore/functional_test_base.go:451
↓ 2 callersFunctionextractCloseFailoverVersion
Misc.
common/archiver/filestore/util.go:201
↓ 2 callersMethodextractDocID
(request elastic.BulkableRequest)
common/persistence/visibility/store/elasticsearch/processor.go:335
↓ 2 callersFunctionextractErrors
( conflictRecord map[string]any, currentRecordRunID string, requestShardID int32, requestRangeID int64, r
common/persistence/cassandra/errors.go:106
↓ 2 callersFunctionextractHistoryEvents
extractHistoryEvents extracts all history events from a batch of events sent to persistence. It's unlikely that persistence events would span multiple
service/history/api/startworkflow/api.go:742
↓ 2 callersFunctionextractMutableStateInfo
extractMutableStateInfo extracts the relevant information to generate a start response with an eager workflow task.
service/history/api/startworkflow/api.go:604
↓ 2 callersMethodextractNamespaceFromTaskToken
(req any)
common/rpc/interceptor/namespace_validator.go:324
↓ 2 callersMethodextractQueueMetadata
(metadataRow *sqlplugin.QueueV2MetadataRow)
common/persistence/sql/queue_v2.go:350
↓ 2 callersMethodfailInflightActivity
( now time.Time, mutableState historyi.MutableState, terminateReason string, )
service/history/ndc/workflow_resetter.go:564
↓ 2 callersMethodfailWorkflow
(env *testcore.TestEnv, task *workflowservice.PollWorkflowTaskQueueResponse, msg string)
tests/eager_workflow_start_test.go:77
↓ 2 callersMethodfailWorkflowTask
( incrementAttempt bool, )
service/history/workflow/workflow_task_state_machine.go:1041
↓ 2 callersMethodfailover2To1
(ctx context.Context)
tests/xdc/history_replication_signals_and_updates_test.go:606
↓ 2 callersMethodfailureFromResponse
(response *http.Response, body []byte)
common/nexus/nexusrpc/client.go:89
↓ 2 callersFunctionfailureSourceFromContext
(ctx context.Context)
components/nexusoperations/executors.go:1096
↓ 2 callersFunctionfailureSourceFromContext
(ctx context.Context)
chasm/lib/nexusoperation/task_handler_helpers.go:66
↓ 2 callersMethodfatals
()
common/testing/await/report_test.go:67
↓ 2 callersFunctionfetchAndAnalyzeWorkflowRuns
fetchAndAnalyzeWorkflowRuns fetches workflow runs between since and until and counts successes. until is zero for an open-ended (up to now) window.
tools/flakereport/flakereport.go:118
↓ 2 callersMethodfetchCAs
( files []string, data []string, duplicateErrorMessage string)
common/rpc/encryption/local_store_cert_provider.go:330
↓ 2 callersMethodfetchCertificate
( certFile string, certData string, keyFile string, keyData string)
common/rpc/encryption/local_store_cert_provider.go:257
↓ 2 callersFunctionfetchPage
fetchPage fetches a new page of workflow executions
service/worker/batcher/activities.go:133
↓ 2 callersFunctionfieldName
(f reflect.StructField)
chasm/fields_iterator.go:149
↓ 2 callersFunctionfile
(name string, suffix string)
common/config/loader.go:316
↓ 2 callersFunctionfile_temporal_server_api_adminservice_v1_request_response_proto_init
()
api/adminservice/v1/request_response.pb.go:6626
↓ 2 callersFunctionfile_temporal_server_api_clock_v1_message_proto_rawDescGZIP
()
api/clock/v1/message.pb.go:175
← previousnext →8,101–8,200 of 43,335, ranked by callers