Find Flux.blockFirst() calls outside @Test methods
ProprietaryFlux.blockFirst() blocks the calling thread waiting for the first element of a Flux — fine in tests, a thread-pool hazard in production. Bridge with awaitFirst() / awaitFirstOrNull() from kotlinx-coroutines-reactor inside a suspend fun.
org. openrewrite. kotlin. spring. FindFluxBlockFirstInNonTest$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindFluxBlockFirstInNonTest$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.