test: add regression test for @Transactional absence on applyAutoApprovalRetrospectively #690

Open
opened 2026-07-21 23:18:10 +02:00 by chris · 0 comments
Owner

Context\nPR #689 removed @Transactional from ClassInstanceService.applyAutoApprovalRetrospectively() to fix connection leak. Test Engineer flagged: no regression test preventing re-addition.\n\n## Acceptance criteria\n- Add test (unit or ArchUnit) that asserts applyAutoApprovalRetrospectively() does NOT have @Transactional annotation\n- Covers both overloads\n- CI green\n\n## Priority\nLow — prevention guard, not urgent

## Context\nPR #689 removed @Transactional from ClassInstanceService.applyAutoApprovalRetrospectively() to fix connection leak. Test Engineer flagged: no regression test preventing re-addition.\n\n## Acceptance criteria\n- Add test (unit or ArchUnit) that asserts applyAutoApprovalRetrospectively() does NOT have @Transactional annotation\n- Covers both overloads\n- CI green\n\n## Priority\nLow — prevention guard, not urgent
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories#690
No description provided.