u/user000123444

Coverage you'll actually read
▲ 9 r/elixir

Coverage you'll actually read

Hi,

I've enhanced the check tool with dense coverage.

Problem:

Coverage output is too noisy. On large projects, it prints percentages for thousands of modules, even if I only changed a handful of files. The information I care about gets lost in the noise.

Solution:

al_check now diffs against the base branch and reports coverage only for new and modified files, grouped by change type with per-group average coverage.

Try it

{:al_check, "~> 0.1.24"}

mix deps.get

mix check.install # or: mix check.build && ./deps/al_check/scripts/check

check # run everything, get the change-scoped coverage report

more details -> Coverage you'll actually read

u/user000123444 — 7 days ago
▲ 12 r/elixir

When :kill doesn’t kill the process

One of the first things you learn about signals is that :kill isn’t trappable, even when trap_exit is on. So I was surprised to catch {:EXIT, pid, :kill} in handle_info with the process still very much alive :D

check out examples here trappable-kill-signal

klemens.blog
u/user000123444 — 14 days ago