Repository navigation
Description
Problem
A tag minted by tag-on-merge does not start a workflow that listens on on: push: tags: ['v*']. The first repo to depend on that chain — opencharly/pod-crabbox — merged and tagged, and its image publish never ran.
This is the W5 publish path for all twelve pod-crabbox* repos.
Measured
opencharly/pod-crabbox#2 merged 2026-11-03T17:59:39Z at 1b9a9c061755f69f3d98310b3f3896b8184ecd49; tag-on-merge minted v2026.307.1759, verified to point at exactly that commit:
$ git ls-remote --tags https://github.com/opencharly/pod-crabbox | grep v2026.307.1759
1b9a9c061755f69f3d98310b3f3896b8184ecd49 refs/tags/v2026.307.1759
The caller is present on main and declares the trigger (pod-crabbox/.github/workflows/image.yml):
on:
push:
tags: ['v*']Yet no run was created for it:
$ gh api repos/opencharly/pod-crabbox/actions/runs?per_page=15 \
--jq '.workflow_runs[] | "\(.name) | \(.event) | \(.head_branch // "null")"'
tag-on-merge | push | main
tag-on-merge | workflow_run | main
charly/pr-validator | pull_request | feat/base-image-v2
image | pull_request | feat/base-image-v2
…
Every image run is pull_request. Zero runs carry the tag event.
RCA — three fields measured, the fourth a hypothesis, stated as one
- Mechanism (hypothesis, not established).
tag-on-mergepushes the tag with an App installation token (actions/create-github-app-token,tag-on-merge.yml:27). GitHub's documented suppression applies to the repository'sGITHUB_TOKEN; an installation token is supposed to fire events. The observed absence says otherwise for this org — but the trigger definition is also correct, so one of the two is not doing what it is documented to do. - Missed control. Nothing asserts that a minted tag produced a run.
tag-on-mergereports success when the tag exists, and the caller's absence is invisible because no workflow is expected to run in order to notice it missing. The control the chain needs: after minting, assert a run was created for that ref (and fail, or dispatch it) — the same "assert the side effect happened" shape as theCloses #Ncontrol in.github#223. - Blast radius. Every repo that adopts the image caller: the
pod-crabbox*family cannot publish an image at all, so W5.5's "a tag publishesghcr.io/opencharly/<repo>:<tag>" is unachievable as wired.layer-krun#2merged in the same minute and is in the same position for any tag-triggered workflow. - Root fix (two candidates, one test). Either (a)
tag-on-mergedispatches the downstream workflow explicitly withworkflow_dispatch+ the tag as input — deterministic, needs no reliance on event propagation; or (b) the caller additionally listens onworkflow_run/ arepository_dispatchthe tag step sends. The discriminating test for which is true: create a tag on a scratch repo with a user token and see whether thepush: tagsworkflow runs. If it does, this is token-specific and (a) is the fix; if it does not, the caller's trigger itself is wrong.
Why this is filed rather than fixed here
.github is this repo's own workflow surface and the fix is a workflow change with a gate of its own. Filed so the W5 publish path is not silently dead while pod-crabbox looks "done" because it merged.
Agent: containerd-crabbox-program · session 8b1c01cf-7f79-4a75-bff8-240415a06208
Assisted-by: Claude Code DeepSeek V4.1 Flash (analysed on a live system)
Activity
aitrawog commentedon Nov 3, 2026
Mechanism CONFIRMED — and the org already documents it. My 'two candidates' collapses to one, with the working pattern named.
charly/.github/workflows/release-binary.ymlsays it in its own header:Measured support, from the runs themselves:
charlyrelease-binaryworkflow_run— neverpushcharlytag-on-mergepush(branch main)pod-crabboximagepull_requestonly — zero tag eventsSo this is not a token problem (the docs are explicit that an App/PAT token fires events), it is
git.createRefnot emitting a push event at all.release-binaryalready works around it; the image caller does not.Root fix, in the org's own proven shape: the image caller must chain off
tag-on-mergecompletion viaworkflow_run— the same triggerrelease-binaryuses — and derive the tag the wayrelease-binarydoes (the newestv*tag whose release/artifact does not yet exist), rather than waiting for apush: tagsthat will never arrive.This is a real W5.4 defect, not an operator gate: as wired, no
pod-crabbox*repo can publish an image.pod-crabboxhas merged and tagged (v2026.307.1759at1b9a9c06) and nothing published.Blast radius: every repo adopting the image caller — the twelve W5 repos plus any distro repo using it.
Agent:
containerd-crabbox-program· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code DeepSeek V4.1 Flash (analysed on a live system)
fix(ci): chain the image build off tag-on-merge, not push:tags (#3)
aitrawog commentedon Nov 3, 2026
CLAIM — taking
#277ascontainerd-crabbox-program: the caller fix landed in one repo, the canonical template still teaches the broken trigger.pod-crabbox#3proved the mechanism and shipped the working shape, and the publish is now real (image | event=workflow_run | completed/success;ghcr.io/opencharly/pod-crabbox:2026.307.1828exists). Butimage-build.yml's INVOCATION block — the block the next elevenpod-crabbox*repos copy — still prescribedon: push: tags: ['v*'], which is exactly the trigger that never fires. So the defect is fixed in one caller and still published as guidance to eleven more.Scope:
image-build.yml's INVOCATION block only (comment-only; triggers, inputs, permissions and jobs unchanged). Tracking inopencharly/.github, one PR.Agent:
containerd-crabbox-program· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
docs(ci): the image-build caller triggers on workflow_run, not push:t…
aitrawog commentedon Nov 3, 2026
RESOLVED — the mechanism is documented, the canonical template no longer teaches the broken trigger, and the publish path is proven end to end.
Merged PR:
opencharly/.github#278— squashbf198a03b94d556e3b180790eebeb04be94503beat 2026-11-03T20:07:56Z.Tag:
v2026.307.2007, verified to point at exactly that commit:What was actually wrong.
tag-on-mergemints the CalVer tag through the REST API (git.createRef), which emits no push event, so a caller listening onon: push: tags: ['v*']can never see a tag this org creates. That was not a hypothesis:pod-crabboxmerged and was taggedv2026.307.1759at1b9a9c06, its caller declaredpush: tags, and zeroimageruns were created — everyimagerun on record waspull_request.What is now true, measured — not inferred:
opencharly/pod-crabboxchains its caller offtag-on-mergecompletion, and the publish ran:image | event=workflow_run | completed/success.skopeo inspect docker://ghcr.io/opencharly/pod-crabbox:2026.307.1828→ digestsha256:8b19506a…, created2026-11-03T18:36:56Z.image-build.yml's INVOCATION block — the template the remaining elevenpod-crabbox*repos copy — now prescribes theworkflow_runshape, states thegit.createRefmechanism inline, cites this issue, and keepssort -Vwith its reason. The wrong block was replaced, not left beside the right one (R5).The defect this issue names is now cured at both levels: in the one caller that needed it, and in the guidance that would have reproduced the zero-run failure in the next eleven repos.
The remaining
pod-crabbox*repos are uncreated, which is a separate, operator-gated item — not part of this issue.Agent:
containerd-crabbox-program· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
feat(image): add the systemd-init lease image pod-crabbox-systemd (#1)