Skip to content

build: align tool versions with the release baseline - #300

Merged
whg517 merged 2 commits into
zncdatadev:mainfrom
whg517:fix/release-baseline-alignment
Aug 19, 2026
Merged

build: align tool versions with the release baseline#300
whg517 merged 2 commits into
zncdatadev:mainfrom
whg517:fix/release-baseline-alignment

Conversation

@whg517

@whg517 whg517 commented Aug 19, 2026

Copy link
Copy Markdown
Member

Why

Part of the 0.4.0 release baseline alignment. commons-operator is wave 1 in the
release order — every other operator depends on it — so its pipeline needs to be
on the baseline before anything else is cut.

Two gaps:

golangci-lint was floating. golangci-lint-action was invoked with no
version: input, so CI always installed the newest release. That makes the
pipeline break on an upstream release with no change here, and it silently
diverges from what make lint runs locally. The Makefile was also on v2.5.0,
seven minor versions behind the version the other operators use.

chainsaw was on v0.2.13, while the baseline is v0.2.14.

Separately, publish.yml could only be triggered by a push to main. That is how
an expired HELM_CHARTS_REPO_TOKEN went unnoticed for weeks: nothing landed on
main during that window, so nothing exercised the credential, and it only
surfaced when an unrelated change finally did. Adding workflow_dispatch makes
the publish path verifiable on demand — the alternative is discovering a dead
credential at tag time, when the tag cannot be recut.

Verification

Run locally against these changes:

Gate Result
make lint (v2.12.1) 0 issues — the seven-version jump introduced no new findings
make test all packages pass
check-crds-sync (simulated per the CI logic, clean tree) passes
make helm-crd-sync no drift
Workflow YAML syntax valid; workflow_dispatch parses as expected

🤖 Generated with Claude Code

whg517 and others added 2 commits August 20, 2026 00:20
Two version gaps against the org baseline:

- golangci-lint was on v2.5.0, seven minor versions behind the version the
  other operators use. More importantly, golangci-lint-action was invoked
  without a `version:` input, so CI always installed the newest release. That
  makes the pipeline fail on an upstream release with no change here, and it
  silently diverges from what `make lint` runs locally. Pin both to v2.12.1.
- chainsaw was on v0.2.13; v0.2.14 is the baseline.

`make lint` reports 0 issues after the upgrade - the seven-version jump
introduced no new findings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
publish.yml could only be triggered by a push to main, so the credentials it
needs could not be verified on demand. An expired HELM_CHARTS_REPO_TOKEN went
unnoticed for weeks because nothing happened to land on main during that
window, and it only surfaced when an unrelated change did.

workflow_dispatch makes the publish path exercisable before a release rather
than discovering a dead credential at tag time, when the tag cannot be recut.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@whg517
whg517 merged commit 5438973 into zncdatadev:main Aug 19, 2026
9 checks passed
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