toolkit-self-gates g7/g9 run a backticked word as a command; mirror-release.yml comment stale after #1540 #1555
Labels
No labels
bump
major
bump
minor
bump
patch
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
loop/paused
mirror-drift
priority
critical
priority
high
priority
low
priority
medium
size
L
size
M
size
S
size
XL
status
blocked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
frankenbit/release-toolkit#1555
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two small pre-existing defects, found while reviewing PR #1546 (tracker #1530). Both were out of scope there.
1. g7 and g9 print
check: command not foundIn
.forgejo/workflows/toolkit-self-gates.yml, the closing NOTE lines of g7 (from manifest-check) and g9 (from register-check) put backticks inside a double-quotedecho:Bash runs
checkas a command substitution. Measured on main's own run 19639 (PR #1544, jobtoolkit-self gates (PR's own rt)):The steps still pass, because a failed substitution inside an argument does not change
echo's exit status. But the log has a stray error line, and the NOTE loses the name it was meant to give.That name is stale too. "The
checkjob" meant thecheck:job ofmanifest-check.ymlandregister-check.yml. Both files are gone (0de3876). The real scans now run as themanifestandregistergates ofpr / gates(reusable-pr-gates.yml). Escaping the backticks alone would print a job that no longer exists.Scope check: a quote-aware scan of every
run:block in.forgejo/workflows/*.ymland.gitea/workflows/*.ymlfinds live backticks only in these two steps.go-ci.yml:190andmirror-drift-check.yml:227already escape theirs.2.
mirror-release.ymlcomment names a verdict readme-pin-check.yml no longer posts.forgejo/workflows/mirror-release.yml, at about line 289, in theset-adopter-pinjob (step "set the pin and land it"):Since #1540 (PR #1546),
readme-pin-check.ymlposts only themirrorverdict on a PR. The digest verdict moved to gate g14 oftoolkit-self-gates.yml. The step itself still runs both checks (readme-pin-checkandtag-action-digest-check); only the comment's attribution is stale.The file is twinned to
.gitea/workflows/mirror-release.ymlbut not baked: it is not incanonicalFiles(internal/bake/marker.go). So the twin has to be regenerated withrt gitea-twin, orgitea-twin-checkgoes red.Acceptance criteria
.forgejo/workflows/*.ymlhas a live backtick in a double-quoted string.mirror-release.ymlcomment says where each of the two verdicts runs on a PR.rt gitea-twin --checkpasses.command not foundline.