Find raw Job() allocations

Proprietary

Raw Job() calls usually feed a CoroutineScope(...) context, where they signal an intent to manage coroutine lifecycle manually. That manual lifecycle is easy to forget to cancel; prefer SupervisorJob() paired with a scope tied to the surrounding lifecycle (e.g. viewModelScope).

org.openrewrite.kotlin.coroutines.FindJobAsContext$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.coroutines.FindJobAsContext$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.