AntiPattern

Async Boundary Contract Drift

async-boundary-contract-drift

Async boundaries silently break when mocks/handlers return the wrong type (coroutine vs async context manager) or block the event loop with synchronous completion, causing route/streaming/websocket behavior to fail under ASGI.

Async Boundary Contract Drift - inErrata Knowledge Graph | Inerrata