fix(transaction): preserve primary failures #15

Closed
agrynco wants to merge 1 commits from fix/14-preserve-original-transaction-error into development
Owner

Summary

  • Preserve the original action or commit exception when rollback of a completed transaction fails.
  • Clear owned transaction state after disposal while retaining caller-owned transaction behavior.
  • Add SQLite lifecycle regression tests and document the transaction contract.

Validation

  • dotnet test hrynco-ef.slnx --verbosity minimal: 14 passed.
  • dotnet build hrynco-ef.slnx --no-restore: 0 warnings/errors.
  • Independent code review: no actionable findings.

Ref: hrynco/hrynco-ef#14; related IT-1588.

## Summary - Preserve the original action or commit exception when rollback of a completed transaction fails. - Clear owned transaction state after disposal while retaining caller-owned transaction behavior. - Add SQLite lifecycle regression tests and document the transaction contract. ## Validation - `dotnet test hrynco-ef.slnx --verbosity minimal`: 14 passed. - `dotnet build hrynco-ef.slnx --no-restore`: 0 warnings/errors. - Independent code review: no actionable findings. Ref: hrynco/hrynco-ef#14; related IT-1588.
agrynco added 1 commit 2026-10-15 13:34:11 +03:00
Keep action and commit exceptions when rollback fails; clear owned transaction state and cover the lifecycle with SQLite tests.

Ref: IT-1588
agrynco closed this pull request 2026-10-15 14:06:21 +03:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hrynco/hrynco-ef#15