elsa-core/src/modules/Elsa.Workflows.Api
lukhipolito-nexxbiz 689f19f2f2
Distributed locks to prevent multiple pods executing Reload and Refresh (#7311)
* Distributed locks to prevent multiple pods executing Reload and Refresh

* Update src/modules/Elsa.Workflows.Runtime/Services/WorkflowDefinitionsRefresherDistributedLocking.cs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update src/modules/Elsa.Workflows.Runtime/Services/WorkflowDefinitionsReloaderDistributedLocking.cs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update src/modules/Elsa.Workflows.Runtime/Services/WorkflowDefinitionsRefresherDistributedLocking.cs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Moving distributed lock decorators to proper folder

* Adding logging for missing lock

* Fixing logger use in distributed classes

* Update src/modules/Elsa.Workflows.Runtime/Distributed/WorkflowDefinitionsReloaderDistributedLocking.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Update src/modules/Elsa.Workflows.Runtime/Distributed/WorkflowDefinitionsRefresherDistributedLocking.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Update src/modules/Elsa.Workflows.Runtime/Distributed/WorkflowDefinitionsRefresherDistributedLocking.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Update src/modules/Elsa.Workflows.Runtime/Distributed/WorkflowDefinitionsReloaderDistributedLocking.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Update src/modules/Elsa.Workflows.Runtime/Distributed/WorkflowDefinitionsRefresherDistributedLocking.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Update src/modules/Elsa.Workflows.Runtime/Distributed/WorkflowDefinitionsReloaderDistributedLocking.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Moving and renaming for clearer purpose

* Fixing build after file moves

* Addressing workflow refresher empty query leaking distributed lock logic

* Add status to WorkflowRefresherResponse model for in progress operation

* Removing typo, fixing build

* Update src/modules/Elsa.Workflows.Runtime.Distributed/Services/DistributedWorkflowDefinitionsRefresher.cs

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>

* Refactor `RefreshWorkflowDefinitionsAsync` for lock acquisition logic simplification.

---------

Co-authored-by: lucas.hipolito <lukhipolito@yahoo.com.br>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2026-02-23 20:56:15 +01:00
..
Constants Global read-only and read-only workflows (#5406) 2024-05-27 10:06:39 +02:00
Contracts adjusted with copilor review findings 2025-12-17 08:23:46 +01:00
Endpoints Distributed locks to prevent multiple pods executing Reload and Refresh (#7311) 2026-02-23 20:56:15 +01:00
Extensions Implement real time workflow update broadcasting using SignalR 2023-07-25 15:12:27 +02:00
Features add work flow instance 2025-12-15 10:57:10 +01:00
Middleware Global read-only and read-only workflows (#5406) 2024-05-27 10:06:39 +02:00
Models Addresses warnings and enforces null safety (#7050) 2025-11-12 15:53:23 +01:00
Options Add ApiEndpointOptions and refactor imports 2024-07-07 16:09:50 +02:00
Providers adjusted with copilor review findings 2025-12-17 08:23:46 +01:00
RealTime Disable SignalR and add authorization to WorkflowInstanceHub 2024-10-31 20:10:06 +01:00
Requirements Addresses warnings and enforces null safety (#7051) 2025-11-12 16:56:31 +01:00
Serialization Addresses warnings and enforces null safety (#7051) 2025-11-12 16:56:31 +01:00
Services Rework Workflow Context Feature (#5861) 2024-08-06 22:36:24 +02:00
AssemblyInfo.cs Fix WorkflowExecutionContext bug (#4919) 2024-02-09 19:37:37 +01:00
Elsa.Workflows.Api.csproj Refactor workflow services and update project references 2025-08-01 22:44:15 +02:00
Elsa.Workflows.Api.csproj.DotSettings Add ApiEndpointOptions and refactor imports 2024-07-07 16:09:50 +02:00
FodyWeavers.xml Prepare projects for packaging 2022-11-03 21:40:23 +01:00