Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
src/db/connection.ts exports a withTransaction with transient-error retry and exponential backoff, while src/db/transaction.ts exports a separate withTransaction with no retries; importing the wrong one silently drops deadlock/serialization retry behavior on money-moving transactions.
Acceptance criteria
Files to touch
- src/db/connection.ts
- src/db/transaction.ts
Out of scope
- Changing isolation levels
- Adding savepoint support
Why this matters
src/db/connection.ts exports a withTransaction with transient-error retry and exponential backoff, while src/db/transaction.ts exports a separate withTransaction with no retries; importing the wrong one silently drops deadlock/serialization retry behavior on money-moving transactions.
Acceptance criteria
Files to touch
Out of scope