Skip to content

fix(release): publish a release only after its images - #7463

Merged
dan-petty merged 2 commits into
mainfrom
fix/7444-release-publish-after-images
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7444-release-publish-after-images

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A release was public before its images existed. The job Upload Release
Assets needed only Release Please, so it published the draft about 50
seconds after its creation, while the image jobs tagged their images
up to 6 minutes later. A consumer that pins a release, such as the
Renovate update of the devops-cli git pins in dan-petty/homelab, could
then pin a version whose images were not in GHCR yet.

The job now also needs image, devcontainer-image and
devcontainer, so it publishes the release only after each image has
its release tag. A failed image job skips it, the release stays a
draft, and Re-run failed jobs publishes it when the failed jobs pass.
RELEASE_CYCLE.md, docs/SDLC.md and the workflow comments state the new
order.

Closes #7444

Change: openspec/changes/archive/2026-11-27-7444-release-publish-after-images/

The job Upload Release Assets now needs each image job of the Release
run, so it publishes the draft only after every image has its release
tag. A failed image job leaves the release a draft, and Re-run failed
jobs publishes it. RELEASE_CYCLE.md, docs/SDLC.md and the workflow
comments state the new order.

Refs #7444
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/release The release-please workflow, the changelog and the published artifacts labels Nov 27, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: 089598129cd3cad0694090ab8429cc2ffd737a09

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Plan Check skipped run
CodeQL success run
Changed-Test Independence success run
Dependency Freshness skipped run
Tests on Main skipped run
Test Job Duration skipped run
Tests & Coverage (shard 3 of 5) success run
Tests & Coverage (shard 2 of 5) success run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 5 of 5) success run
Changed-Test Independence (run 1 of 3) success run
Changed-Test Independence (run 3 of 3) success run
Tests & Coverage (shard 1 of 5) success run
Runner Image success run
Static Analysis success run
Design Tokens success run
Changed-Test Independence (run 2 of 3) success run
Service Image success run
Docs Site Build success run
Semantic PR title success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 27, 2026 19:51
@dan-petty
dan-petty merged commit 8873087 into main Nov 27, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/7444-release-publish-after-images branch November 27, 2026 19:52
dan-petty-release Bot added a commit that referenced this pull request Nov 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.229.1](v0.229.0...v0.229.1)
(2026-11-27)


### Bug Fixes

* **release:** publish a release only after its images
([#7463](#7463))
([8873087](8873087))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/release The release-please workflow, the changelog and the published artifacts type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(release): publish a release only after its images

1 participant