Skip to content

v1.2.2

Choose a tag to compare

@damson damson released this 05 Sep 01:30
f81f98a

Coverage reporting tells the truth about what it measured

The delta names the branch it was measured against. The coverage comment
captioned every delta "vs develop" as fixed text. A consumer whose release pull
request targets main gets a figure measured against main and a caption
claiming develop: the number right and the sentence around it wrong, which is
the harder failure to spot because the sentence is the part people read. The
label now comes from GITHUB_BASE_REF, and says "the base branch" when there
is no pull request. No new flag and no caller change.

kcov no longer counts awk and jq source as uncovered bash. kcov's bash
parser treats the body of a multi-line awk or jq program as bash lines,
which nothing can ever mark hit, because another interpreter runs them. They
reported as permanently uncovered code no test could reach. The three quoted
programs in bin/post-coverage-comment.sh are marked as kcov-ignore regions
and the workflow honours them: 13 phantom lines gone, coverage 82.99% to
83.85%, with hits unchanged, which is the signature of removing unreachable
lines rather than gaming the figure.

Consumers pinning v1 move with this automatically. Anything pinning an exact
tag needs a bump to see either change.