Skip to content

v1.3.1

Choose a tag to compare

@damson damson released this 07 Sep 15:04
a09adb7

A patch release: action.yml is untouched, so nothing changes for consumers
pinned to @v1. One behaviour does change for anyone sourcing lib/common.sh
directly, and it is the point of the release.

The registry readers stop answering from a file they never read (#69)

Every reader in the shared library is guard | awk, and a pipeline reports the
status of its last command. The guard therefore printed its message from the
left-hand subshell while the reader exited 0 with no output: a caller looping
over the result iterated nothing, and nothing said so. Six functions were
affected in two shapes, the ones that pipe directly and three wrappers that
pipe again around an already-guarded reader, where head -1 and grep -qx
turned the failure back into a success or into "no such domain" from a registry
that was never opened. A missing registry is now an error at the call site.

list_skill_dirs also emitted a grouped skill as group//first, a path that
resolves but never string-matches the same tree walked with find, which is how
the test helper walks it while telling the reader to keep the two in step.

Both were run red against the unfixed code first, and a control test asserts the
readers still answer correctly when the registry is present, so a guard that
rejected everything could not have passed.

The release PR is prepared on a merge, not a timer (#70, #72)

The Monday schedule that opens the standing release PR fired five and a half
hours late, and four hours past due the repository had recorded no scheduled run
of any workflow at all. A delay that size is a loss for a standing PR, so the
workflow now runs on every push to develop; the cron stays as a net for a week
with no merges, at :17 rather than :00.

Refreshing that often is safe only because a refresh no longer regenerates the
description. It replaces the block below ## 📦 What is in this batch and
carries everything above it across, so the summary and the before/after diagram
survive. A description hand-rewritten with no such heading is kept whole and the
block appended.

The PR is opened with a fine-grained token rather than GITHUB_TOKEN, and a
step asserts the secret is present before the script runs so an expired token
fails loudly. The reason is review rather than CI: the release PR the delayed
timer opened had its CI and coverage runs execute normally and Codecov measure
it, while the review tool skipped it for being bot-authored and said nothing
about skipping, leaving a full row of green checks and no review at all.

The deploy-key audit pages, and says what the bypass covers (#67, #68)

The develop ruleset names a deploy key as a bypass actor and GitHub stores
that entry with actor_id: null, so it reads as any write-capable deploy key
on the repository. The command written to check that set did not paginate: a
writable key past the first thirty would have been invisible to the audit meant
to find it.

Also

The library's untested surface is now tested, including the two roots, the ~
expansion in a probe path, and the agreement between list_skill_dirs and the
walk the test helper does by hand. 288 tests at the last release, 312 now.

Full inventory: #71.