Stop fucking around with database commits and transactions
Summary
The article argues that the database layer should own every commit and transaction, and warns against manual commits leaking across layers. It provides code examples and a discussion of enforcing rules via AST analysis and linters (like Flake8) to ensure atomicity and proper transaction boundaries.