elsa-core/src/modules/Elsa.Workflows.Core/Models
Sipke Schoorstra 66af304364
Optimize activity registry descriptor lookup (#7538)
* Optimize activity registry lookup

Add a latest-version descriptor index per tenant registry so ActivityRegistry.Find(type) can avoid scanning every registered descriptor. Keep the index in sync when descriptors are added, removed, refreshed, or cleared.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Handle provider descriptor removal during refresh

Remove descriptors from registries that a refreshed provider no longer contributes to keep descriptor indexes consistent when a provider drops a tenant group entirely.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address activity registry review feedback

* Clear manual activity descriptors

* Integrate ConsoleLogStreaming.Core and ConsoleLogStreaming.SignalR packages; refine activity registry lookup logic.

* Reduce activity registry refresh allocations

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-31 13:15:42 +02:00
..
ActivityConstructionResult.cs Bugfix: error thrown in ReadSyntheticInputs 2026-01-20 13:27:55 +01:00
ActivityConstructorContext.cs Removing unused variables 2026-01-20 13:36:45 +01:00
ActivityDescriptor.cs Implement null TenantId for tenant-agnostic entities (#7226) 2026-02-02 10:59:01 +01:00
ActivityHandle.cs Add HealActivity alteration and handler with workflow fault recovery support 2025-06-13 20:35:19 +02:00
ActivityIncident.cs Extended the incidents data to include the activityNodeId (#6570) (#6572) 2025-04-10 14:10:56 +02:00
ActivityNode.cs
ActivityOutputRecord.cs
ActivityOutputRegister.cs
ActivityOutputs.cs
ActivityPort.cs
ActivityStateFilterResult.cs
ActivityWorkItem.cs Adds activity execution call stack support (#7271) 2026-02-24 15:23:59 +01:00
Argument.cs Update nullable argument defaults and enhance ForEach tests with additional edge cases. (#6928) 2025-09-27 17:55:40 +02:00
ArgumentDefinition.cs
BackgroundExecutionOutcome.cs
BackgroundExecutionResult.cs
Bookmark.cs Adds activity host registration support (#7172) 2025-12-27 20:52:52 +01:00
BookmarkInfo.cs
ChangeTrackingDictionary.cs
CreateBookmarkArgs.cs
EventGenerator.cs
Input.cs Update nullable argument defaults and enhance ForEach tests with additional edge cases. (#6928) 2025-09-27 17:55:40 +02:00
InputDefinition.cs
InputDescriptor.cs Remove duplicated EvaluatorType property from InputDescriptor. 2025-09-15 18:52:38 +02:00
InvokeWorkflowResult.cs
MissingActivityType.cs
NamedOutput.cs
Output.cs Improves tenant task management with dependencies (#7174) 2025-12-29 20:49:24 +01:00
OutputDefinition.cs
OutputDescriptor.cs
Port.cs
PortType.cs
PropertyDescriptor.cs
ResolvedVariable.cs
RunWorkflowResult.cs Update nullable argument defaults and enhance ForEach tests with additional edge cases. (#6928) 2025-09-27 17:55:40 +02:00
ScheduledActivity.cs
ScheduledActivityOptions.cs Adds activity execution call stack support (#7271) 2026-02-24 15:23:59 +01:00
SignalHandlerRegistration.cs
TenantRegistryData.cs Optimize activity registry descriptor lookup (#7538) 2026-05-31 13:15:42 +02:00
TriggerType.cs
TypeDescriptor.cs
VariableDefinition.cs
VariableModel.cs
VariableUpdateValue.cs
WorkflowDefinitionHandle.cs Implement Activity Testing API (#6719) 2025-06-23 10:03:10 +02:00
WorkflowExecutionLogEntry.cs
WorkflowExecutionLogEventNames.cs
WorkflowExecutionMode.cs
WorkflowExecutionState.cs
WorkflowGraph.cs Implement Activity Testing API (#6719) 2025-06-23 10:03:10 +02:00
WorkflowIdentity.cs
WorkflowInput.cs
WorkflowMetadata.cs
WorkflowOptions.cs
WorkflowPublication.cs