* Initial plan * Fix: Remove bogus duplicate activity registry warnings during refresh The ActivityRegistry.RefreshDescriptorsAsync() method was starting with existing descriptors, causing false warnings when intentionally repopulating the registry. Now starts fresh but preserves manual descriptors. Co-authored-by: KnibbsyMan <23156317+KnibbsyMan@users.noreply.github.com> * Add tests for ActivityRegistry refresh behavior Added comprehensive tests to verify: 1. No warnings logged during intentional registry refresh 2. Manual descriptors preserved during refresh 3. True duplicates from different providers still logged Co-authored-by: KnibbsyMan <23156317+KnibbsyMan@users.noreply.github.com> * Apply code review feedback: track manual descriptors in providersDictionary and clarify comments - Track _manualActivityDescriptors in providersDictionary under GetType() key for consistency - Clarify comments to be more specific about GetType() provider and RegisterAsync(Type activityType) method - Avoid duplicate entries in provider list when descriptor already preserved Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> * Minor style improvement: use Count > 0 instead of !Count.Equals(0) Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: KnibbsyMan <23156317+KnibbsyMan@users.noreply.github.com> Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| Extensions/ActivityExecutionContextExtensions | ||
| Flowchart | ||
| Models | ||
| ObjectConversion | ||
| Serialization/Converters | ||
| Services | ||
| Elsa.Workflows.Core.UnitTests.csproj | ||
| ExpressionExecutionContextExtensionsTests.cs | ||