You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: set the coverage floor across the support range, not one version
The 88.58 floor was the pinned toolchain exact reading with no slack,
and cover line attribution is not constant across the versions
elixir: "~> 1.18" invites in. Elixir 1.20 counts the head of
defp forward_standard_error do (peer.ex:981) as executable where 1.19
does not, so the denominator goes from 473 to 474 and the same 419
covered lines report 88.40% instead of 88.58%. That failed the
mandatory mix precommit on a clean tree for anyone on a current
Elixir - and CI never saw it, because the test matrix runs a plain
mix test while the single precommit job is pinned to 1.19.
Measured, one cell per toolchain with isolated MIX_HOME and
MIX_BUILD_ROOT:
1.18.4/27 81.22% 88.58% exit 0
1.19.5/28 81.22% 88.58% exit 0
1.20.3/28 80.84% 88.40% exit 0
1.20.3/29 80.84% 88.40% exit 0
The floor is now 88 - the lowest reading, rounded down so it absorbs a
line of drift rather than sitting on one version figure. Negative
control on 1.20.3, the least slack of the range: +1 line 88.21% exit 0,
+2 88.03% exit 0, +3 87.84% exit 3. On 1.19.5 it absorbs three and
fails on the fourth. Both ladders were run, not inferred.
That is looser than a floor ideally is, and deliberately so: a floor
that fires on a clean tree teaches people to bypass the gate. The
previous comment had already said attribution varies by version while
the number ignored it, so both comments are corrected too - including
the one on the precommit alias, which now says plainly that this runs
on whatever Elixir the contributor has.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments