Skip to content

fix(release): create the GitHub release when the image jobs were skipped - #278

Merged
earakely-scale merged 1 commit into
mainfrom
fix/release-job-runs-after-skipped-image-jobs
Oct 21, 2026
Merged

earakely-scale merged 1 commit into
mainfrom
fix/release-job-runs-after-skipped-image-jobs

Conversation

@earakely-scale

@earakely-scale earakely-scale commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

v0.9.1337 to v0.9.1340 reached PyPI but have no GitHub release; the newest is v0.9.1336. In each of those runs, framework succeeded and release was skipped.

release had the default condition, success(), which skips a job whenever any job upstream of it was skipped. Since the image jobs joined the workflow, they're skipped on every release that publishes no new image. That's every release before PUBLISH_INFRA_IMAGES was set, and v0.9.1340 because its images were already published. framework already has an explicit condition that tolerates skipped image jobs, so PyPI publishing was never affected.

release now runs whenever framework succeeded (!cancelled() && needs.framework.result == 'success'). A run by hand still skips it, because framework doesn't run then. A new test pins the condition.

The notes step starts from the newest earlier tag that has a release, v0.9.1336. So the next release's notes list the pull requests of v0.9.1337 to v0.9.1340 too.

This PR carries bump-version, so its own release checks the fix. Creating release pages for v0.9.1337 to v0.9.1340 by hand would be a separate step.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

The release job can now run after skipped image jobs, provided framework succeeded and the run was not cancelled.

  • The GitHub release job runs when framework succeeds.

Reviews (1) · Last reviewed commit: "fix(release): create the GitHub release ..." · Reviewed by Greptile

The release job had the default condition, which skips a job whenever any job upstream of it was skipped. Since the
image jobs joined the workflow, they are skipped on every release that publishes no new image, so v0.9.1337 to
v0.9.1340 reached PyPI with no GitHub release. It now runs whenever the framework job published, as the framework job
already does after skipped image jobs. The next release's notes start from v0.9.1336, the newest tag with a release,
so they list the pull requests of the releases that got none.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@earakely-scale
earakely-scale requested a review from a team as a code owner October 21, 2026 15:40
@earakely-scale
earakely-scale merged commit 75b0c12 into main Oct 21, 2026
9 checks passed
@earakely-scale
earakely-scale deleted the fix/release-job-runs-after-skipped-image-jobs branch October 21, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant