elsa-core/src/modules
Sipke Schoorstra fdf3e385b1
Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131)
* Add component tests for concurrent trigger indexing to prevent duplicate trigger registration in multi-engine workflows (#7130)

* Pin `dotnet-ef` version in `.config/dotnet-tools.json` to address migration bug, update EF Core script modules, and enhance `DesignTimeDbContextFactoryBase` with improved option description.

* Add migrations for EF Core SQLite and MySQL to include unique indexing on triggers.

* Update ConcurrentTriggerIndexing test to verify unique constraint enforcement and throw `DbUpdateException` for duplicate triggers

* Update src/modules/Elsa.Persistence.EFCore/Modules/Runtime/TriggerStore.cs

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

* Update src/modules/Elsa.Persistence.EFCore/Modules/Runtime/TriggerStore.cs

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

* Update EF Core script to include `Management` module and restore `Sqlite` provider in migration process

* Rename `SimpleHttpApiWorkflow.cs` to `HttpWorkflow.cs` in ConcurrentTriggerIndexing test.

* Remove 'locks' folder from project

Removed the 'locks' folder from the project structure.

* Clean up migration script by removing redundant column type changes

* Update EF Core Oracle migrations to change NVARCHAR2 fields to NCLOB for larger data storage

* Update EF Core Oracle migrations to use NCLOB for larger data storage

* Remove retry logic and logger dependency from EFCoreTriggerStore in TriggerStore implementation

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-05 09:17:14 +01:00
..
Elsa Remove ReadLine activity from automatic registration 2025-05-20 10:45:55 +02:00
Elsa.Alterations Addresses warnings and enforces null safety (#7050) 2025-11-12 15:53:23 +01:00
Elsa.Alterations.Core Addresses warnings and enforces null safety (#7050) 2025-11-12 15:53:23 +01:00
Elsa.Caching Return Caching to Core. 2025-05-20 12:11:27 +01:00
Elsa.Common Adds Publish Event Activity Tests (#7093) 2025-11-25 19:06:16 +01:00
Elsa.Dsl.ElsaScript Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
Elsa.Expressions Improves workflow deletion and task scheduling (#7088) 2025-11-21 20:58:38 +01:00
Elsa.Expressions.CSharp Allow C# Script to use dot notation with ExpandoObject (JSON variables) (#6689) 2025-05-25 12:26:59 +02:00
Elsa.Expressions.JavaScript Upgrade projects to target .NET 10, add conditional System.Linq.Async dependencies for compatibility with earlier frameworks, and update project files for consistency across the solution. (#7062) 2025-11-21 20:55:30 +01:00
Elsa.Expressions.JavaScript.Libraries Rename Scripts to Expressions. 2025-05-20 12:52:19 +01:00
Elsa.Expressions.Liquid Addresses warnings and enforces null safety (#7051) 2025-11-12 16:56:31 +01:00
Elsa.Expressions.Python Apply changes that will not be resolved by merge conflict resolution. 2025-05-22 00:17:15 +01:00
Elsa.Hosting.Management
Elsa.Http Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
Elsa.Identity Addresses warnings and enforces null safety (#7050) 2025-11-12 15:53:23 +01:00
Elsa.KeyValues
Elsa.Labels Restore EF Core persistence layer (#6931) 2025-09-27 20:39:18 +02:00
Elsa.Persistence.EFCore Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Persistence.EFCore.Common Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Persistence.EFCore.MySql Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Persistence.EFCore.Oracle Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Persistence.EFCore.PostgreSql Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Persistence.EFCore.Sqlite Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Persistence.EFCore.SqlServer Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Resilience Addresses warnings and enforces null safety (#7050) 2025-11-12 15:53:23 +01:00
Elsa.Resilience.Core Merge 3.5.1 into 3.6.0 (#6907) 2025-09-13 13:05:52 +02:00
Elsa.SasTokens Add back SasToken project. 2025-05-23 01:09:59 +01:00
Elsa.Scheduling Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
Elsa.Tenants Update package versions and use new FastEnpoints methods. 2025-08-05 23:50:40 +01:00
Elsa.Tenants.AspNetCore Update all dependencies to new projects. 2025-05-21 00:20:13 +01:00
Elsa.WorkflowProviders.BlobStorage Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
Elsa.WorkflowProviders.BlobStorage.ElsaScript Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
Elsa.Workflows.Api Improves workflow deletion and task scheduling (#7088) 2025-11-21 20:58:38 +01:00
Elsa.Workflows.Core Restore IActivityFactory and its implementation for backwards compatibility with 3.5.x, and register it in the DI container 2025-12-02 19:49:31 +01:00
Elsa.Workflows.Management Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
Elsa.Workflows.Runtime Fix Race Condition Causing Duplicate Trigger Registration in Multi-Engine Environments + Add Concurrency Tests to Prevent Regression (#7131) 2025-12-05 09:17:14 +01:00
Elsa.Workflows.Runtime.Distributed Improves workflow deletion and task scheduling (#7088) 2025-11-21 20:58:38 +01:00