MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 4 callersMethodtrimHistoryBranch
( shardID int32, branchToken []byte, nodeID int64, transactionID int64, )
common/persistence/tests/history_store.go:794
↓ 4 callersFunctiontruncateToSlackLimit
truncateToSlackLimit truncates text to stay within Slack's block text limit Slack blocks have a 3000 character limit per text field
tools/flakereport/slack.go:33
↓ 4 callersFunctiontypeDispatch
typeDispatch routes a polled workflow task to a handler keyed by the workflow type name. Returns an error for unexpected types so a test failure pinpo
tests/timeskipping_propagation_test.go:818
↓ 4 callersMethodunloadTaskQueuePartitionByKey
Unloads a task queue partition by id. If unloadPM is given and the loaded partition for queueID does not match unloadPM, then nothing is unloaded from
service/matching/matching_engine.go:2979
↓ 4 callersFunctionunmarshalProto
( dataBlob *commonpb.DataBlob, valueT reflect.Type, )
chasm/tree.go:1342
↓ 4 callersMethodunversionedPollWftAndHandle
( env *testcore.TestEnv, tv *testvars.TestVars, sticky bool, async chan<- struct{}, handler func(task *wo
tests/versioning_3_test.go:4697
↓ 4 callersMethodupdate
called on namespace state change callback, membership change, and dynamic config change
service/worker/pernamespaceworker.go:305
↓ 4 callersMethodupdatePauseInfoSearchAttribute
()
service/history/workflow/mutable_state_impl.go:6985
↓ 4 callersMethodupdateSingleNamespace
updateSingleNamespace updates the cache with a namespace if it's newer than what we have. Returns true if the namespace state changed. When updatedVia
common/namespace/nsregistry/registry.go:820
↓ 4 callersMethodupdateTaskQueue
For use in tests
service/matching/matching_engine.go:574
↓ 4 callersMethoduseScheduledAction
useScheduledAction returns true when the Scheduler should allow scheduled actions to be taken. When decrement is true, the schedule's state's `Remain
chasm/lib/scheduler/scheduler.go:376
↓ 4 callersFunctionvalidBlock
(n int)
service/matching/backlog_manager_test.go:489
↓ 4 callersMethodvalidateAccess
validateAccess performs the access rule check on a node. When the context's intent is OperationIntentProgress, This check validates that all of a nod
chasm/tree.go:486
↓ 4 callersMethodvalidateActivityTaskToken
validateActivityTaskToken validates a task token against the current activity state.
chasm/lib/activity/activity.go:1067
↓ 4 callersMethodvalidateAllTaskQueueStats
( tqName string, expectations taskQueueExpectationsByType, singlePartition bool, )
tests/task_queue_stats_test.go:1318
↓ 4 callersFunctionvalidateAndNormalizeActivityAttributes
ValidateAndNormalizeActivityAttributes validates and normalizes the common activity request attributes. This validation is shared by both standalone a
chasm/lib/activity/validator.go:88
↓ 4 callersMethodvalidateAndResolveArchetypeID
validateAndResolveArchetypeID validates the archetype and archetypeID fields and returns the resolved archetype ID. It performs the following checks:
service/frontend/admin_handler.go:2447
↓ 4 callersMethodvalidateBacklogCount
( env *testcore.TestEnv, tv *testvars.TestVars, tqType enumspb.TaskQueueType, expectedCount int64, )
tests/versioning_3_test.go:5086
↓ 4 callersFunctionvalidateCAs
(cas []string)
common/rpc/encryption/tls_factory.go:149
↓ 4 callersFunctionvalidateCQLClientConfig
(config *CQLClientConfig)
tools/cassandra/handler.go:208
↓ 4 callersFunctionvalidateChasmSideEffectTask
validateChasmSideEffectTask completes validation of a CHASM side effect task after mutable state load/physical task validation. See [chasm.Node.Valid
service/history/chasm_task_util.go:23
↓ 4 callersMethodvalidateCompletion
( ctx context.Context, t *testing.T, activityID string, runID string, workerIdentity string, )
tests/activity_standalone_test.go:6246
↓ 4 callersFunctionvalidateEventsSlice
(eventsSlice ...[]*historypb.HistoryEvent)
service/history/ndc/replication_task.go:470
↓ 4 callersFunctionvalidateExpectedTime
validateExpectedTime returns false if the times are set but aren't equal.
common/nexus/nexusrpc/completion_test.go:21
↓ 4 callersMethodvalidateTask
validateTask runs taskInstance's registered validation handler. This method assumes component value is already hydrated.
chasm/tree.go:2044
↓ 4 callersMethodvalidateVersioningInfo
(nsName string, id buildIdAndFlag, deploymentOptions *deploymentpb.WorkerDeploymentOptions, tq *taskqueuepb.Ta
service/frontend/workflow_handler.go:6357
↓ 4 callersMethodverifySingleReplicationTask
( ctx context.Context, request *verifyReplicationTasksRequest, remotAdminClient adminservice.AdminServiceCl
service/worker/migration/activities.go:863
↓ 4 callersMethodverifyVersionSummary
(expected, actual *deploymentpb.WorkerDeploymentInfo_WorkerDeploymentVersionSummary)
tests/worker_deployment_test.go:3268
↓ 4 callersMethodwaitForNamespaceCacheRefresh
()
tests/xdc/base.go:414
↓ 4 callersMethodwaitForPropagation
waitForPropagation waits for all partitions of tq to mention newBuildID in their versioning data (in any position). Pass 0 for partitionCount to make
tests/versioning_test.go:4952
↓ 4 callersMethodwaitForTimeSkippingInfoSynced
waitForTimeSkippingInfoSynced blocks until the standby cluster's TimeSkippingInfo agrees with the active's on Config and AccumulatedSkippedDuration. L
tests/xdc/timeskipping_replication_test.go:89
↓ 4 callersMethodwaitUntilBlockedInSemaphore
Checks if n number of threads are blocked in semaphore.
common/locks/priority_semaphore_test.go:209
↓ 4 callersFunctionwciValidationStatusToComputeStatus
wciValidationStatusToComputeStatus converts a WCI ValidationStatus to the public ComputeStatus proto. A successful validation results in an empty erro
service/worker/workerdeployment/compute_util.go:111
↓ 4 callersFunctionwithStdin
withStdin redirects os.Stdin to a temp file containing content for the duration of fn. A regular file is not a character device, so the command's pipe
tools/tdbg/schedule_migrate_test.go:410
↓ 3 callersMethodAccept
Accept returns a connection to the server for a client.
common/testing/nettest/pipe.go:36
↓ 3 callersMethodAccumulate
( snapshot *p.WorkflowSnapshot, mutations ...*p.WorkflowMutation, )
common/persistence/tests/execution_mutable_state.go:2768
↓ 3 callersFunctionActivityMatchWorkflowRules
ActivityMatchWorkflowRules checks if the activity matches any of the workflow rules and takes action based on the matched rule. If activity is changed
service/history/workflow/mutable_state_impl.go:9904
↓ 3 callersMethodAddActivityTaskScheduledEvent
( workflowTaskCompletedEventID int64, command *commandpb.ScheduleActivityTaskCommandAttributes, ns namespac
service/history/historybuilder/history_builder.go:316
↓ 3 callersMethodAddContinuedAsNewEvent
( workflowTaskCompletedEventID int64, newRunID string, command *commandpb.ContinueAsNewWorkflowExecutionCom
service/history/historybuilder/history_builder.go:525
↓ 3 callersFunctionAddEmptyVersionHistory
AddEmptyVersionHistory adds an empty VersionHistory to VersionHistories. It reuses an existing empty VersionHistory if one already exists. Returns: -
common/persistence/versionhistory/version_histories.go:46
↓ 3 callersMethodAddTasksTest
(taskType enumspb.TaskQueueType, isForwarded bool)
service/matching/matching_engine_test.go:1246
↓ 3 callersFunctionAddTelemetryContext
(ctx context.Context, metricsHandler metrics.Handler)
common/rpc/interceptor/telemetry.go:203
↓ 3 callersMethodAddWorkerCommandsTasks
(commands []*workerpb.WorkerCommand, controlQueue string)
service/history/interfaces/mutable_state.go:52
↓ 3 callersMethodAddWorkflowExecutionStartedEventWithOptions
(*commonpb.WorkflowExecution, *historyservice.StartWorkflowExecutionRequest, *workflowpb.ResetPoints, string,
service/history/interfaces/mutable_state.go:121
↓ 3 callersMethodAddWorkflowExecutionUnpausedEvent
(identity string, reason string, requestID string)
service/history/interfaces/mutable_state.go:232
↓ 3 callersMethodAlive
Alive returns true if the scavenger is still running
service/worker/scanner/taskqueue/scavenger.go:129
↓ 3 callersMethodAllowN
(now time.Time, token int)
common/quotas/clocked_rate_limiter.go:39
↓ 3 callersMethodApplyActivityTaskScheduledEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:245
↓ 3 callersMethodApplyActivityTaskStartedEvent
(*historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:246
↓ 3 callersMethodApplyDefaults
()
service/worker/deletenamespace/deleteexecutions/config.go:32
↓ 3 callersMethodApplyStartChildWorkflowExecutionInitiatedEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:266
↓ 3 callersMethodApplyWorkflowExecutionCompletedEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:275
↓ 3 callersMethodApplyWorkflowExecutionContinuedAsNewEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:276
↓ 3 callersMethodApplyWorkflowExecutionFailedEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:277
↓ 3 callersMethodApplyWorkflowExecutionTerminatedEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:280
↓ 3 callersMethodApplyWorkflowExecutionTimedoutEvent
(int64, *historypb.HistoryEvent)
service/history/interfaces/mutable_state.go:282
↓ 3 callersMethodApplyWorkflowTaskTimedOutEvent
(enumspb.TimeoutType)
service/history/interfaces/mutable_state.go:258
↓ 3 callersFunctionArchetype
general Archetype returns tag for Archetype
common/log/tag/tags.go:84
↓ 3 callersFunctionArchivalRequestNamespace
ArchivalRequestNamespace returns tag for RequestNamespace
common/log/tag/tags.go:851
↓ 3 callersFunctionArchivalRequestNamespaceID
ArchivalRequestNamespaceID returns tag for RequestNamespaceID
common/log/tag/tags.go:846
↓ 3 callersFunctionArchivalRequestRunID
ArchivalRequestRunID returns tag for RequestRunID
common/log/tag/tags.go:866
↓ 3 callersFunctionArchivalRequestWorkflowID
ArchivalRequestWorkflowID returns tag for RequestWorkflowID
common/log/tag/tags.go:856
↓ 3 callersFunctionAssignedBuildIdSearchAttribute
AssignedBuildIdSearchAttribute returns the search attribute value for the currently assigned build ID
common/worker_versioning/worker_versioning.go:105
↓ 3 callersMethodAuthorize
Authorize uses the policy's authorizer to authorize a request based on provided claims and call target. Logs and emits metrics when unauthorized. Retu
common/authorization/interceptor.go:304
↓ 3 callersMethodBacklogStatsByPriority
()
service/matching/backlog_manager.go:48
↓ 3 callersFunctionBlobSizeViolationOperation
BlobSizeViolationOperation returns tag for BlobSizeViolationOperation
common/log/tag/tags.go:181
↓ 3 callersMethodBuildChasmSearchParameters
( request *visibilityservice.ListChasmExecutionsRequest, getFieldSorter func([]elastic.Sorter) ([]elastic.So
common/persistence/visibility/store/elasticsearch/visibility_store.go:592
↓ 3 callersMethodBuildCountStmt
( queryExpr *query.QueryParams[sqlparser.Expr], )
common/persistence/sql/sqlplugin/visibility_query_converter.go:56
↓ 3 callersFunctionBuildIdFromCapabilities
(capabilities *commonpb.WorkerVersionCapabilities, options *deploymentpb.WorkerDeploymentOptions)
common/worker_versioning/worker_versioning.go:221
↓ 3 callersMethodBuildNotExpr
(expr ExprT)
common/persistence/visibility/store/query/converter.go:36
↓ 3 callersMethodBuildNotExpr
(expr elastic.Query)
common/persistence/visibility/store/elasticsearch/query_converter.go:27
↓ 3 callersMethodBuildOrExpr
(exprs ...ExprT)
common/persistence/visibility/store/query/converter.go:40
↓ 3 callersMethodBuildParenExpr
(expr sqlparser.Expr)
common/persistence/visibility/store/sql/query_converter.go:86
↓ 3 callersMethodBuildParenExpr
(expr ExprT)
common/persistence/visibility/store/query/converter.go:34
↓ 3 callersMethodBuildSelectStmt
( queryExpr *query.QueryParams[sqlparser.Expr], pageSize int, pageToken *VisibilityPageToken, )
common/persistence/sql/sqlplugin/visibility_query_converter.go:50
↓ 3 callersFunctionCAFilePath
(dir string)
tests/testutils/tls.go:27
↓ 3 callersMethodCancel
()
common/quotas/clocked_rate_limiter.go:62
↓ 3 callersMethodCancelation
(node *hsm.Node)
components/nexusoperations/statemachine.go:108
↓ 3 callersMethodCancelationNode
(node *hsm.Node)
components/nexusoperations/statemachine.go:120
↓ 3 callersMethodChasmWorkflowComponentReadOnly
(ctx context.Context)
service/history/interfaces/mutable_state.go:364
↓ 3 callersFunctionCleanSpec
CleanSpec sets default values in ranges.
service/worker/scheduler/spec.go:91
↓ 3 callersFunctionCleanupRuleTombstones
CleanupRuleTombstones clears all deleted rules from versioning data if the rule was deleted more than retentionTime ago. Clones data to avoid mutating
service/matching/version_rule_helpers.go:242
↓ 3 callersFunctionCloneProtoMap
(src map[K]T)
common/util.go:692
↓ 3 callersMethodCloseShardByID
(shardID int32)
service/history/shard/controller.go:19
↓ 3 callersMethodCommandHandler
CommandHandler returns a [CommandHandler] for a given command type and a boolean indicating whether it was found.
chasm/lib/workflow/registry.go:68
↓ 3 callersFunctionCompareVersionHistoryItem
CompareVersionHistoryItem compares 2 version history items
common/persistence/versionhistory/version_history_item.go:42
↓ 3 callersMethodComplete
(_ MutableContext)
chasm/test_component_test.go:116
↓ 3 callersMethodComponent
(fqn string)
chasm/export_test.go:8
↓ 3 callersMethodComputeNextDelay
(elapsedTime time.Duration, numAttempts int, err error)
common/backoff/retrypolicy.go:213
↓ 3 callersMethodConnect
(ctx context.Context)
common/persistence/sql/sqlplugin/connector.go:29
↓ 3 callersFunctionConstructHistoryTaskAPI
TODO: change the value returned so it can also be used by persistence metrics client. For now, it's only used by rate limit client, and we don't reall
common/persistence/persistence_rate_limited_clients.go:1181
↓ 3 callersMethodContains
(task tasks.Task)
service/history/queues/scope.go:27
↓ 3 callersMethodConvertIsExpr
( operator string, col *query.SAColumn, )
common/persistence/visibility/store/sql/query_converter.go:252
↓ 3 callersMethodConvertKeywordComparisonExpr
( operator string, col *query.SAColumn, value any, )
common/persistence/visibility/store/sql/query_converter.go:162
↓ 3 callersMethodConvertKeywordListComparisonExpr
( operator string, col *query.SAColumn, value any, )
common/persistence/visibility/store/sql/query_converter.go:204
↓ 3 callersMethodConvertKeywordListComparisonExpr
(operator string, col *SAColumn, value any)
common/persistence/visibility/store/query/converter.go:46
↓ 3 callersFunctionConvertOverrideToV32
ConvertOverrideToV32 reads from deprecated fields and returns a new object with ONLY the equivalent non-deprecated v0.32 fields. Should be used to rep
common/worker_versioning/worker_versioning.go:1113
↓ 3 callersMethodConvertRangeExpr
( operator string, col *query.SAColumn, from, to any, )
common/persistence/visibility/store/sql/query_converter.go:228
↓ 3 callersMethodConvertRangeExpr
(operator string, col *SAColumn, from, to any)
common/persistence/visibility/store/query/converter.go:50
↓ 3 callersMethodConvertReplicationTask
( ctx context.Context, task tasks.Task, clusterID int32, )
service/history/interfaces/replication_stream.go:16
← previousnext →5,501–5,600 of 43,335, ranked by callers