Release artifacts

From projectbluefin/bluefin · View interactive version

Release artifacts is an AI agent skill from the GitHub repository projectbluefin/bluefin. Covers the release and testing-to-main promotion workflows, digest and tag verification, and signing gates. Use when running a release or diagnosing a failed promotion.

How to use this skill

Skill file

Release artifacts

Procedure

  1. Read the affected release workflow and reusable workflow inputs.
  2. Verify the exact image digest, tag, artifact name, and trigger.
  3. Confirm signing and end-to-end gates completed.
  4. Never bypass a failed trust or verification gate.
  5. Report the run ID and exact verification commands.

Weekly stable promotion window

.github/workflows/promote-testing-to-main.yml refreshes its promotion PR on

every testing push and successful Post-Testing E2E completion. Every testing

push builds candidates, including documentation-only changes, so the exact

branch HEAD can always earn release evidence.

Successful E2E completions on Tuesday UTC enable enqueue_promotion; an hourly

Tuesday schedule retries the same decision if GitHub replaced a pending run

behind an in-progress refresh. Pushes remain refresh-only because their E2E

status cannot exist yet. A workflow_dispatch run remains the explicit hotfix

escape hatch. All triggers share one mutation lock for the generated promotion

branch. On other weekdays, automatic events refresh the PR without running the

release gate, posting validate, or enrolling it.

The caller always selects the main merge queue with use_merge_queue: true.

Do not overload that transport choice as the release-window switch. The

reusable workflow's enqueue job must depend on release-gate success, and the

caller must keep run_e2e: true, a non-empty e2e_image, and

e2e_status_context: e2e/post-testing. post-testing-e2e.yml publishes that

status on the exact testing SHA only after both bluefin and

bluefin-nvidia pass smoke/common coverage and those tested digests replace

:testing. The lifecycle suite is not a release gate: it currently fails its

own migration preconditions before exercising an upgrade.

Recovery dispatches require an explicit successful Testing Images run ID.

The workflow resolves and verifies that run as a testing-branch push, tests

the digests from its artifacts, promotes those same digests, and attaches the

status to the run's source SHA. It never falls back to an unrelated latest run.

On automatic push releases, execute-release.yml passes

source_branch: testing. The reusable release workflow compares the release

commit tree with current testing before it resolves mutable source tags. If

testing advances between promotion and release, execution fails closed instead

of promoting an unqualified digest. Manual recovery omits source_branch after

the operator selects the intended already-verified source.

The live main/stable release ruleset does not require approving reviews.

Automation is constrained instead by the required validate status, squash-only

merge policy, non-fast-forward and deletion protection, and the merge queue.

Adding a review requirement without a bot-capable bypass silently turns Tuesday

automation back into a manual release.

gh run list --repo projectbluefin/bluefin --limit 20
gh run view RUN_ID --repo projectbluefin/bluefin --log-failed
gh run watch RUN_ID --repo projectbluefin/bluefin --exit-status

Verify a stream tag against its gate

A stream tag (:testing, :stable) is a claim that a digest passed its gate.

Verify the claim rather than trusting the tag: resolve what the tag points at,

then confirm that digest actually passed.

skopeo inspect docker://ghcr.io/projectbluefin/bluefin:testing --format '{{.Digest}}'
gh api repos/projectbluefin/bluefin/commits/$(git rev-parse projectbluefin/testing)/status \
  --jq '.statuses[] | select(.context == "e2e/post-testing")'

Without skopeo, the GHCR package API resolves the same mapping and also shows

which tags share one package version — co-located version and stream tags mean

the build pushed the stream tag, not a promotion:

gh api "/orgs/projectbluefin/packages/container/bluefin/versions?per_page=100" \
  --jq '.[] | select(.metadata.container.tags | index("testing"))
        | [.name, .created_at, (.metadata.container.tags | join(","))] | @tsv'

Then confirm the gate actually passed for that digest: a post-testing-e2e run

whose promote-to-testing job is skipped did not promote, whatever the

tag now points at. See

ci failure modes for reading those runs.

A promotion job reported as skipped while the stream tag still advanced means

something outside the gate is publishing it. Build-time tag computation is the

usual source: the bare stream tag can sit in the tag list that the push step

consumes, so excluding it from a conditional does not remove it from the push.

Filter the stream tag out of the list itself.

Never re-point or delete a published stream tag to "repair" this — that is

user-visible and belongs to a human.

Release consumes :testing as its input: the release job resolves the

digest behind that tag rather than re-running end-to-end validation. The

post-testing-e2e gate is therefore the primary producer-side gate, and a

failure there must stop :testing from advancing. The producer publishes an

e2e/post-testing commit status on the exact testing SHA after the tag moves;

the Tuesday promotion gate requires that status before enqueueing the promotion

PR. execute-release.yml does not run a duplicate E2E suite; it promotes only

after the E2E-qualified promotion lands on main and re-verifies the signed

digests. When auditing an older promotion, inspect that run's job list and

inputs rather than assuming the current gate applied retroactively. A gate step

that reports skipped is not a pass.

Only :stable is a promotion target. git grep -n target_tag .github/workflows

returns execute-release.yml alone, so :latest has no writer in this

repository — it is a stale pointer, not a tag that release moves. Do not treat

it as a release output.

While the :testing gate is red, :testing is expected to stop advancing.

A frozen stream tag is the gate working; re-pointing or deleting it to unfreeze

users is a human decision, not an agent action.

Red flags

When to Use

Use for Release, promotion, digest, SBOM, or artifact work.

When NOT to Use

Do not use for Local build-only changes.

Core Process

Read the workflow, verify the exact digest and artifact, then inspect the run.

Common Rationalizations

Red Flags

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.