Skip to content

Coordinate user record saves - #2631

Draft
niemyjski wants to merge 3 commits into
issue/external-account-statefrom
issue/user-record-concurrency
Draft

niemyjski wants to merge 3 commits into
issue/external-account-statefrom
issue/user-record-concurrency

Conversation

@niemyjski

@niemyjski niemyjski commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

This draft adds IVersioned user saves, legacy-cache handling, and recovery for organization membership and external-login transfers when a write fails. These concurrency changes are isolated from the session-lifecycle change in #2627.

Not ready to merge: the repository overrides, API serialization handling, compensation and logging still need review. The previous combined revision also has an OpenAPI snapshot mismatch to resolve.

Validation: the split preserves the complete previously combined implementation and tests. Repository/patch and organization regression cases passed on that combined revision after test corrections; verification of this branch is running in CI.

Late cache publication remains separate in Foundatio.Repositories #323; versioned saves do not guarantee immediate revocation through stale cached snapshots.

@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 5bc84d1 to 179c281 Compare October 2, 2026 04:10
@niemyjski
niemyjski added this pull request to stack #2642 October 5, 2026 02:11
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 179c281 to 032664f Compare October 13, 2026 02:39
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 032664f to 57f409f Compare October 13, 2026 02:41
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 57f409f to 975b25e Compare October 13, 2026 02:58
@niemyjski
niemyjski removed this pull request from stack #2642 October 13, 2026 03:05
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 975b25e to 793b7c9 Compare October 13, 2026 03:05
@niemyjski
niemyjski added this pull request to stack #2659 October 13, 2026 03:05
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 23% 23% 128 ❌
Exceptionless.Core 77% 69% 10958 ✔
Exceptionless.Insulation 51% 43% 370 ➖
Exceptionless.Web 86% 71% 9222 ✔
Summary 80% (28289 / 35254) 69% (14018 / 20262) 20678 ✔

@niemyjski
niemyjski removed this pull request from stack #2659 October 13, 2026 12:26
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 793b7c9 to 2c36ec1 Compare October 13, 2026 12:26
@niemyjski
niemyjski added this pull request to stack #2660 October 13, 2026 12:27
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 2c36ec1 to a0d6b0e Compare October 13, 2026 12:40
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from a0d6b0e to aa27175 Compare October 13, 2026 13:33
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from aa27175 to c2ffd53 Compare October 13, 2026 13:55
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from c2ffd53 to d307b6a Compare October 14, 2026 03:03
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch 2 times, most recently from 8e94661 to 10bebe1 Compare October 14, 2026 03:38
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from 10bebe1 to cacf95a Compare October 14, 2026 03:48
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch 2 times, most recently from 9681d63 to a39d40a Compare October 14, 2026 14:29
@niemyjski
niemyjski force-pushed the issue/user-record-concurrency branch from a39d40a to d209e34 Compare October 15, 2026 01:44

This branch has not been deployed

No deployments
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.

1 participant