Skip to content

support Durable Entities for extended sessions - #332

Merged
sophiatev merged 4 commits into
microsoft:mainfrom
usemam:sessions-entities-support
Oct 19, 2026
Merged

sophiatev merged 4 commits into
microsoft:mainfrom
usemam:sessions-entities-support

Conversation

@usemam

Copy link
Copy Markdown
Contributor

Follows up on #309 to add Durable Entities support for extended sessions.

Fixes following issues:

  • EventPayloadMap.Clear() reset the payload sequence after each session checkpoint.
  • Keep the sequence monotonic and advance the timestamp on wrap.
  • The Payloads PK violation left new events pointing at stale payloads, hanging entity calls.
  • Also abort the session on a duplicate checkpoint.

@usemam

Copy link
Copy Markdown
Contributor Author

sophiatev andystaples could you please review this follow-up PR ?
Thank you!

@sophiatev
sophiatev enabled auto-merge (squash) October 19, 2026 19:30
@sophiatev
sophiatev merged commit 91e3014 into microsoft:main Oct 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants