elsa-core/test/integration/Elsa.Workflows.Persistence.ConformanceTests
Sipke Schoorstra 9ee53abdaa
fix(runtime): execution log default order Timestamp+Sequence; GetLastEntry Sequence-aware (#8152)
* fix(runtime): order execution log Find by Timestamp then Sequence

Align Memory and EF default Find/FindMany with Timestamp then Sequence
so same-ms batches are stable across stores. Make Journal/GetLastEntry
order by Sequence descending so the last event is not arbitrary.

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

* fix(runtime): tie default execution-log order with Id

Sequence is per execution context, so distinct instances can share
Timestamp+Sequence. Add Id as the unique default sort key so Memory and
EF offset pages stay deterministic.

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

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-14 14:00:20 +02:00
..
Elsa.Workflows.Persistence.ConformanceTests.csproj test(workflows): share Memory/EF store conformance scenarios (#8115) 2026-09-13 18:07:09 +02:00
WorkflowStoreConformanceTests.cs fix(runtime): execution log default order Timestamp+Sequence; GetLastEntry Sequence-aware (#8152) 2026-09-14 14:00:20 +02:00
WorkflowStoreScenario.cs test(workflows): share Memory/EF store conformance scenarios (#8115) 2026-09-13 18:07:09 +02:00