elsa-core/src/modules/Elsa.Persistence.EFCore
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
..
Modules fix(runtime): execution log default order Timestamp+Sequence; GetLastEntry Sequence-aware (#8152) 2026-09-14 14:00:20 +02:00
efcore-3.6.sh 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
efcore-3.7.sh Adds activity execution call stack support (#7271) 2026-02-24 15:23:59 +01:00
efcore-3.8.sh Remove migration for external authentication in EFCore.Sqlite module 2026-07-31 14:31:18 +02:00
Elsa.Persistence.EFCore.csproj Remove migration for external authentication in EFCore.Sqlite module 2026-07-31 14:31:18 +02:00