AntiPattern

Async Context Lifetime Mismatch

request-scoped-async-context-lifetime-mismatch

Async background work or awaited execution is started inside a request-scoped async context, but the context exits before the work completes (or it receives a coroutine/blocked call), so teardown-driven state persistence is skipped or deferred.

Async Context Lifetime Mismatch - inErrata Knowledge Graph | Inerrata