Repository navigation
v1.3.2
A patch release. action.yml is untouched, so the interface is unchanged for
anyone pinned to @v1, and the fix below is the reason to take it.
The benchmark report no longer disappears on one bad file (#76)
benchmarks/report.sh read every score file through a single jq invocation.
jq aborts at the first file it cannot parse, and find hands files over in
directory order, so one corrupt record silently swallowed every valid record
positioned behind it. Under set -e the same failure killed the script at the
assignment, so the command exited 1 having printed nothing at all, and the
report's own "No valid score files found" message could never be reached.
It now reads one file per invocation and tolerates the failure, which confines
the damage to the file that earned it. Both halves were seen failing against the
unfixed script before the fix went in.
The same release covers six untested paths in bin/marketplaces.sh, one of
which reported success after scoring nothing.
Coverage measures bash, not the awk embedded in it (#75)
kcov counts every line of a multi-line literal as a statement, so an embedded
awk program or a long array of regexes was recorded as untested for as long as
it existed, and no test could move it. lib/common.sh read 57.9% with all 75 of
its missed lines inside awk programs, which sent a reader looking for gaps
that were not there.
Those regions now carry the ignore markers the coverage job already honours:
Lines 1309 → 1208 -101
Hits 1104 → 1101 -3
Misses 205 → 107 -98
101 lines left the denominator and 3 of them were lines a test had ever reached.
Project coverage reads 91.14% rather than 84.33%, for the same suite.
What an automated PR's empty failed runs actually are (#74)
The documentation said such a run is held for approval and that approving
releases it. It is not, and approving does nothing. Every one of the seventeen
automated release and back-merge pull requests this repository has opened
received its pull_request runs, so the GITHUB_TOKEN suppression rule never
applied here; eight of the runs failed at startup with zero jobs, and none
reported action_required at any point.
The docs now say that, name the status field as the check to run first, and
state what is still unknown: four runs carrying the same bot actor started and
passed, with no configuration difference from the eight that did not. The claim
was also asserted in a test and in the back-merge PR's own body, both corrected.
Pull request summaries are two or three sentences (#78)
The template asked for three to five and reliably got a paragraph. It now asks
for two or three, says where the detail belongs, and rules out adding a second
shorter summary above the first.
Where per-file coverage comes from (#73)
kcov traces no bash on macOS, so there is no local number to read and the stored
baseline artifact can be weeks stale while reading as current. The instruction
file names Codecov's public API for the branch instead.