Skip to content

fix(ci): chart releases must not masquerade as product releases - #128

Merged
cevheri merged 1 commit into
mainfrom
fix/chart-release-not-latest
Jul 4, 2026
Merged

fix(ci): chart releases must not masquerade as product releases#128
cevheri merged 1 commit into
mainfrom
fix/chart-release-not-latest

Conversation

@cevheri

@cevheri cevheri commented Jul 4, 2026

Copy link
Copy Markdown
Member

The Helm chart release for 0.1.1 (first chart-releaser run, triggered by the #122 merge) created GitHub release libredb-studio-0.1.1 and took the repo's Latest marker from the 0.9.41 product release (already restored manually: gh release edit 0.9.41 --latest).

Verified blast radius before fixing: no release-triggered workflow ran for the chart release (chart-releaser publishes with GITHUB_TOKEN, whose events do not trigger workflows), so npm still has 0.9.41, GHCR tags are intact, and no standalone artifacts were produced. Artifact Hub showing chart 0.1.1 is correct and intended.

Fixes:

  • helm-release.yml: mark_as_latest: false on chart-releaser
  • docker-build-push.yml, release-artifacts.yml, npm-publish.yml: release-triggered jobs skip libredb-studio-* tags explicitly (defense in depth for a future PAT switch)

The first chart-releaser run (chart 0.1.1, triggered by the PR #122 merge)
created the GitHub release libredb-studio-0.1.1 and, via chart-releaser's
mark_as_latest default, took the repository's Latest marker away from the
0.9.41 product release (restored manually).

- helm-release.yml: mark_as_latest: false - chart releases never claim
  the Latest marker.
- docker-build-push, release-artifacts, npm-publish: release-triggered
  jobs now skip libredb-studio-* tags explicitly. Today GITHUB_TOKEN
  events do not trigger these workflows at all, but that protection is
  implicit; this guard keeps product pipelines closed to chart releases
  even if the publishing token ever changes.
@cevheri
cevheri merged commit 6904767 into main Jul 4, 2026
10 checks passed
@cevheri
cevheri deleted the fix/chart-release-not-latest branch July 4, 2026 15:59
@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant