Add transaction rollback tests for multi-step write operations #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
After #9 (transaction wrapping) is merged, there are no tests that verify rollback actually happens when a mid-operation failure occurs. Without these tests, a future refactor could silently break atomicity.
Required Actions
pytestwith real Postgres (transactional fixture)Acceptance Criteria