Repository navigation
Description
Summary
A commit merged to main can end up with no published chart and no published images, silently. It happened today to f332061 (the cosign PR #875).
Evidence
The publish run for f332061 reports cancelled, and it never started a single job:
$ gh run view <id> --json status,conclusion,jobs
{"conclusion":"cancelled","jobs":[],"status":"completed"}
GHCR confirms nothing was pushed for it (463 tags on charts/aether, queried with ?n=1000):
8d0d5da 0.93.1-8d0d5da683f7055acebf5f9d3318f10b82ce81e0
c6b7198 0.93.2-c6b7198d3f0cbaf4affc3353302e6e62e2bd7a2c
ba43258 0.93.2-ba43258a26b9214e7e0550e0216db61a2d28dcff
bf2acf7 0.93.2-bf2acf76394b271780bce20de525aa263e9515b5
f332061 *** MISSING ***
Timeline (all 2026-09-20, from gh run list --workflow=publish.yaml):
19:20:35 6ac9a6c in_progress <- holds the concurrency group
19:26:15 f332061 queued <- cancelled when the next run queued
19:41:47 e3b58e6 queued <- superseded it
Cause
.github/workflows/publish.yaml:
concurrency:
group: publish-main
cancel-in-progress: falsecancel-in-progress: false protects the running run. It does not make the queue a queue: GitHub holds at most one pending run per concurrency group, and a newly queued run cancels the older pending one. So supersession still happens — at queue time rather than at run time.
That is precisely the outcome the comment above the block says it is preventing:
cancel-in-progress: falsebecause a publish is not a redundant check to be
superseded: cancelling one mid-push would leave the images pushed and the chart
not (or the chart pushed against a half-published image set).
The reasoning is right about the mid-push hazard. It just does not deliver "every commit gets published", which is what #692 needs and what a reader of the comment would conclude.
Why it matters
- The commit-suffixed tag stops being a reliable deploy coordinate. Per publish: concurrent runs race on the same chart version tag — older build overwrote newer (77a7d45 over 95b158e), deploy silently lacked #689 #692 the
charts/aether:<version>-<full sha>tag exists because the bare<version>tag "does not change per commit, so it alone cannot tell you which commit is deployed". If the tag can silently not exist,helm upgradeagainst a specific main commit fails with a registry 404 and the operator has to go work out why. - It is silent. The run's conclusion is
cancelled, notfailure, so it does not read as a broken build in the Actions UI and raises nothing. - Unsigned by omission. Now that ci(publish): sign every published image with cosign, keyless #875 signs images in this workflow, a superseded commit produces no images and no signatures. Nothing distinguishes "this commit was never published" from "this commit was published but not signed" without querying the registry.
- This is the No shell script in the root workspace is linted: the shellcheck aspect has no sh_* target to visit #853 family: a control that is configured, looks correct, and does not do the thing its comment claims.
Suggested direction
Not proposing a specific fix; options worth weighing:
- Give each commit its own concurrency group (
publish-${{ github.sha }}) and serialise the mutable-tag pushes by another means — this keeps publish: concurrent runs race on the same chart version tag — older build overwrote newer (77a7d45 over 95b158e), deploy silently lacked #689 #692's ordering guarantee where it is actually needed (thecharts/aether:<version>tag) without dropping whole commits. - Keep the shared group but make the skip loud: a scheduled or post-merge check that asserts a commit-suffixed chart tag exists for
origin/main, and fails if not. - At minimum, correct the comment so it does not assert a property the config does not have.
Whichever way it goes, the acceptance criterion should be demonstrable: merge two commits inside one publish window and show that both end up with a commit-suffixed chart tag (or that the gap is reported). A fix that cannot be seen to fail is not a fix (#853).
Not affected
bf2acf7(fix(agent): say out loud what the UDP capture listener discards (#873) #874, the UDP change being soaked tonight) published successfully and is on GHCR.- No deploy has used a missing tag; rev230 is on
8d0d5da, which exists.
Activity
build(ci): upgrade cosign to v3, and hold the signature layout while …
fix(publish-verify): sweep only push heads; stack-merge intermediates…