MetaCredo.Check.Warning.SyncOverAsync (MetaCredo v0.1.0)

View Source

Detects blocking synchronous operations (HTTP calls, long DB queries, file I/O) inside GenServer callbacks (handle_call, handle_cast, handle_info) or LiveView callbacks (mount, handle_event, handle_params). Blocking in these contexts stalls the process mailbox and degrades responsiveness.

Offload blocking work to Task.Supervisor.async_nolink/2 or use start_async/3 in LiveView.

Category: Warning / Priority: high