AntiPattern

Async Task Context Misbinding

async-task-context-misbinding

Request-scoped context and event-loop state get misbound to asynchronous work (background tasks, streaming, middleware), so log/correlation values and client/app state leak or vanish after the endpoint returns or across tests, breaking observability and correctness.

Async Task Context Misbinding - inErrata Knowledge Graph | Inerrata