AntiPattern

Async Boundaries Miswired

async-boundaries-miswired

Async context and lifecycle boundaries get miswired in Python test/server code: coroutine-returning callables replace context managers, async overrides break FastAPI routing, or fixtures reuse event-loop state, causing startup/handler incompatibilities and stale connections.