Skip to content

Bind multiple audited saves to one UserContext transaction - #293

Merged
philipgreat merged 2 commits into
mainfrom
codex/user-context-transactions-write
Nov 24, 2026
Merged

philipgreat merged 2 commits into
mainfrom
codex/user-context-transactions-write

Conversation

@philipgreat

Copy link
Copy Markdown
Contributor

Summary

  • Run several audited saves through the transaction-bound UserContext in one database transaction.
  • Keep the existing business method signature and per-save audit reason. A failed save makes the whole transaction roll back even when the callback handles the error.
  • Preserve existing provider-specific transaction completion and graph replay behavior.

Validation

The isolated Java 21 reactor passed 46 SQLite graph tests, 9 JDBC completion tests, and 27 Spring completion tests.

@philipgreat
philipgreat merged commit 043c488 into main Nov 24, 2026
7 of 8 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.

1 participant