14141f2f72265a16d2c8016e601a39792643273d
Capture lastGlobalSequence() before any projection read to anchor the buffer-drain window; capture lastSequence(sessionId) before each session's projection read. SessionSnapshot.lastSequence now carries the global cursor shared across all sessions in the batch. pendingApprovals populated from filtered approval state and sorted by (timestamp, requestId) for deterministic ordering. SnapshotComplete emitted unconditionally including the zero-sessions case. Four new tests: zero-sessions, SnapshotComplete-last ordering, global cursor isolation, and per-session cursor value.
Description
No description provided
Languages
Kotlin
88.4%
Go
11.4%
Python
0.2%