Skip to content

ci: revert e2e Go pin to stable now that chainsaw/kuttl support Go 1.26#4488

Merged
ValClarkson merged 1 commit into
CrunchyData:mainfrom
ValClarkson:ci/e2e-go-stable
May 14, 2026
Merged

ci: revert e2e Go pin to stable now that chainsaw/kuttl support Go 1.26#4488
ValClarkson merged 1 commit into
CrunchyData:mainfrom
ValClarkson:ci/e2e-go-stable

Conversation

@ValClarkson
Copy link
Copy Markdown
Contributor

Summary

The e2e-k3d-chainsaw and e2e-k3d-kuttl jobs were pinned to Go 1.25.x with a TODO noting that chainsaw/kuttl were missing testDeps.ModulePath (added in Go 1.26). Both upstreams have since shipped releases that require go >= 1.26.0:

  • github.com/kudobuilder/kuttl@v0.26.0 -> go 1.26.0
  • github.com/kyverno/chainsaw (main) -> go 1.26.0
    actions/setup-go@v6 sets GOTOOLCHAIN=local when an explicit version is requested, so a 1.25 runner cannot auto-upgrade to build them.

The e2e-k3d-chainsaw and e2e-k3d-kuttl jobs were pinned to Go 1.25.x with
a TODO noting that chainsaw/kuttl were missing the new testDeps.ModulePath
introduced by Go 1.26. Both projects have since shipped releases that
require go >= 1.26.0:
  * github.com/kudobuilder/kuttl v0.26.0  -> go 1.26.0
  * github.com/kyverno/chainsaw  (main)   -> go 1.26.0
actions/setup-go@v6 sets GOTOOLCHAIN=local when an explicit version is
requested, so the pinned 1.25.x runner cannot auto-upgrade to satisfy
those modules and the e2e jobs fail with:
  go: github.com/kudobuilder/kuttl/cmd/kubectl-kuttl@latest:
      github.com/kudobuilder/kuttl@v0.26.0 requires go >= 1.26.0
      (running go 1.25.9; GOTOOLCHAIN=local)
Switch both e2e jobs to 'go-version: stable', matching every other Go job
in the same workflow (go-test, kubernetes-api, kubernetes-k3d,
coverage-report). This unblocks the e2e checks that have been red on main
since the Go 1.26 bump landed in CrunchyData#4479.
@ValClarkson ValClarkson enabled auto-merge (rebase) May 13, 2026 21:37
@ValClarkson ValClarkson merged commit c60857c into CrunchyData:main May 14, 2026
20 of 21 checks passed
@ValClarkson ValClarkson deleted the ci/e2e-go-stable branch May 14, 2026 14:52
ValClarkson added a commit that referenced this pull request May 14, 2026
The setup-go pin to 1.25.x in the e2e-k3d-kuttl job, combined with
GOTOOLCHAIN=local in CI, prevented Go from auto-upgrading to 1.26 when
go run-ing kuttl@latest. Recent kuttl releases require Go >= 1.26
(testDeps.ModulePath, etc.), causing both v1.30 and v1.34 e2e jobs to
fail when downloading and building the kubectl-kuttl binary.

Switch the job back to go-version: stable so the runner installs the
current toolchain, matching what we already do on main (PR #4488).

The operator binary itself is built inside Docker against the project's
go directive (1.25.0), so this only affects the host toolchain used to
fetch and run kuttl from source.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants