elsa-core/test/integration/Elsa.Workflows.IntegrationTests
Sipke Schoorstra 68a5aa6bd7
fix(runtime): honor transactional outbox for in-workflow PublishEvent (#8177)
* fix(runtime): route PublishEvent through transactional workflow-dispatch outbox

In-workflow async PublishEvent and IEventPublisher now dispatch via
IWorkflowDispatcher so TransactionalWorkflowDispatcher applies when
UseTransactionalOutbox is enabled. Fixes #8150.

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

* test(runtime): fix PublishEvent outbox conformance tests

Register KeyValueFeature so the dispatch outbox store can persist
TriggerWorkflows items, and avoid expression-tree pattern matching in
the EventPublisher unit tests.

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

* test(runtime): assert PublishEvent outbox delivery creates consumer

ProcessAsync only queues the trigger; start the background command
processor and wait until ConsumeOrderShippedEventWorkflow is created.

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

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-15 22:10:29 +02:00
..
Activities test: refactor with WorkflowTestFixture (#7394) 2026-04-15 14:04:49 +02:00
Api/Bookmarks [codex] Harden initial security remediation slice (#7495) 2026-05-22 00:45:47 +02:00
Core fix: stop two silent serialization and test-isolation traps (#7969) 2026-08-21 00:36:11 +02:00
Evaluation Add Elsa Script DSL (#7076) 2025-11-25 19:57:50 +01:00
GracefulShutdown fix: do not resume interrupted workflows that are already finished (#7435) 2026-05-18 21:19:23 +02:00
Scenarios fix(runtime): honor transactional outbox for in-workflow PublishEvent (#8177) 2026-09-15 22:10:29 +02:00
Security refactor(auth): remove the vestigial per-author script permission plumbing (#7990) 2026-08-25 22:58:16 +02:00
Serialization Add named WithVariable overload (#7701) 2026-06-08 10:42:59 +02:00
SharedHelpers Refactor commit strategy resolution for improved clarity and efficiency; remove unused example files and add a new CommitTracker helper for testing. 2025-12-16 08:01:49 -05:00
Elsa.Workflows.IntegrationTests.csproj Harden Python expression execution (#7507) 2026-05-20 14:19:47 +02:00
Elsa.Workflows.IntegrationTests.csproj.DotSettings Fix WorkflowExecutionContext bug (#4919) 2024-02-09 19:37:37 +01:00
JintHostContractVerification.cs Adopt the Jint 4.15 host-integration surface: lazy type globals, enum names, and register-what-is-referenced (#7895) 2026-08-17 01:44:03 +02:00
Usings.cs Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00