release automation: bump-formula fails every run and push did not trigger a new run #137
Loading…
Add table
Add a link
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?
Problem Two release-automation issues observed while shipping the cli-guard v0.1.0 bump (#135).
1. bump-formula fails on every recent release.
actions task listshowsbump-formulain thefailurestate for run#42, run#43, and run#45, whilereleaseandwindows-assetssucceed in the same runs. Net effect: tags + releases get cut, butFormula/coily.rbis not bumped, so the brew install path lags the actual release. This is the likely reason a kai-server checkout was pinned at v2.29.1 while v2.43.0 was current. Could not read the job log to root-cause:coily ops forgejo actions task logsdoes an in-pod read over SSH to kai-server, which failed from this session withssh: no authentication method available.2. Push to main did not visibly trigger a run. Commit
c076c0a(chore(deps): bump cli-guard to v0.1.0) is confirmed at the tip of forgejomain, but no new Actions run appeared within ~2 min of the push (latest remained run#45, from the earlier workflow-editing commitfeb7a45e). Either the docker runner was offline/cold, or the push event did not enqueue a run. Needs a check of runner health and whether pushes sincefeb7a45ehave been triggering at all.Both block the goal of
brew upgrade coilypulling the lockdown newline fix: even a successful tag won't reach the formula while bump-formula fails.Root-causing the bump-formula failure here was blocked because
coily ops forgejo actions task logsreads the task log in-pod over SSH to kai-server, which fails inany session without an SSH key loaded. Converting all forgejo verbs to HTTPS is
tracked in #139, and is a prerequisite for diagnosing this from a keyless session.
Root cause confirmed: HTTP 401 on the formula bump PUT
Pulled the bump-formula log for run#45 (task 130) over HTTPS while building the
#139 fix. The failing step is the
coilysiren/agentic-os/actions/bump-formula@mainaction, and the error is:
So the job runs fine up to the Contents API PUT, which comes back 401
Unauthorized. The action authenticates that PUT with
secrets.FORGEJO_PAT(see
.forgejo/workflows/release.ymljobbump-formula, inputforgejo_token).A 401 means that secret is unset, empty, or lacks
write:repositoryscope on theforgejo instance.
Fix
Set / re-scope the
FORGEJO_PATrepo (or org) secret on forgejo with Contentswrite permission, then re-run a release. No code change in this repo is needed.
This is independent of #139 (that issue is about coily reading these logs over
HTTPS instead of SSH, which is how this log was retrieved).
Merged into #103 in the 2026-05-29 backlog burn-down. Duplicate bump-formula fails every release Reopen if it should stand alone.