From be9b00adce81b256f2cc241c29002fafb584017d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 21:23:14 +0000 Subject: [PATCH 1/2] Initial plan From d65dbfca21d0d1c431e6f83d04c4bf9dd4549528 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 21:25:53 +0000 Subject: [PATCH 2/2] Fix null StartupType guard in Find() and typo in variable descriptor Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> --- .../Elsa.Features/Services/ShellInstalledFeatureProvider.cs | 5 +++-- .../ShellFeatures/WorkflowManagementFeature.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/Elsa.Features/Services/ShellInstalledFeatureProvider.cs b/src/common/Elsa.Features/Services/ShellInstalledFeatureProvider.cs index 4b27ab1fee..506ce6fff6 100644 --- a/src/common/Elsa.Features/Services/ShellInstalledFeatureProvider.cs +++ b/src/common/Elsa.Features/Services/ShellInstalledFeatureProvider.cs @@ -35,8 +35,9 @@ public IEnumerable List() /// public FeatureDescriptor? Find(string fullName) { - var shellFeature = _shellFeatures.FirstOrDefault(sf => - MapToFullName(sf) == fullName); + var shellFeature = _shellFeatures + .Where(sf => sf.StartupType != null) + .FirstOrDefault(sf => MapToFullName(sf) == fullName); return shellFeature != null ? MapToElsaFeatureDescriptor(shellFeature) : null; } diff --git a/src/modules/Elsa.Workflows.Management/ShellFeatures/WorkflowManagementFeature.cs b/src/modules/Elsa.Workflows.Management/ShellFeatures/WorkflowManagementFeature.cs index 8c81f0e9a1..6f54bfefcf 100644 --- a/src/modules/Elsa.Workflows.Management/ShellFeatures/WorkflowManagementFeature.cs +++ b/src/modules/Elsa.Workflows.Management/ShellFeatures/WorkflowManagementFeature.cs @@ -56,7 +56,7 @@ public class WorkflowManagementFeature : IShellFeature /// public HashSet VariableDescriptors { get; } = [ - new(typeof(object), PrimitivesCategory, "The root class for all object in the CLR System."), + new(typeof(object), PrimitivesCategory, "The root class for all objects in the CLR System."), new(typeof(string), PrimitivesCategory, "Represents a static string of characters."), new(typeof(bool), PrimitivesCategory, "Represents a true or false value."), new(typeof(int), PrimitivesCategory, "A 32 bit integer."),