Repository navigation
fix: repin the builder base to Go 1.26.6 and build images in CI - #70
Merged
Merged
Conversation
go.mod has required Go 1.26.6 since #64, but all three Dockerfiles pinned a golang:1.26 digest holding 1.26.5, and the images set GOTOOLCHAIN=local so they cannot fetch a newer toolchain than they ship: go: go.mod requires go >= 1.26.6 (running go 1.26.5; GOTOOLCHAIN=local) Nothing caught it because the release workflow's image job only runs on a tag push. The broken build sat on main through two green merges and failed at the worst moment — after v1.12.1's tag, with the binaries and the Helm chart already published, leaving a chart whose appVersion names an image that does not exist. The tag now names the patch rather than the minor, so a go.mod bump makes this line visibly stale instead of silently wrong, and CI builds all three images without pushing so the skew fails on the PR. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
blakebauman
added a commit
that referenced
this pull request
Aug 14, 2026
v1.12.1's image job failed on a builder base pinned below the Go version go.mod requires, after the binaries and chart had already published. The Dockerfile fix landed in #70; this dates the changelog entry and bumps the chart to 0.2.3 / appVersion v1.12.2, so the published chart names an image that exists. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bug
go.modhas required Go 1.26.6 since #64. All three Dockerfiles pinnedgolang:1.26@sha256:7caba52…, a digest holding 1.26.5, and the images setGOTOOLCHAIN=local— so they cannot fetch a newer toolchain than they ship:Why nothing caught it
The release workflow's
imagejob isif: github.event_name == 'push'on tags. CI never builds an image, so a Dockerfile that cannot build sat onmainthrough two green merges and failed at the single most expensive moment — after v1.12.1's tag was pushed, withbinariesandchartalready published. That left a published Helm chart (0.2.2) whoseappVersionnamesghcr.io/fold-run/fold:v1.12.1, an image that does not exist, so a freshhelm installgets ImagePullBackOff.The fix
golang:1.26.6@sha256:640a234…. Pinned asgolang:1.26the line read as current while the digest held an older patch; naming the patch means ago.modbump makes it visibly stale instead of silently wrong. The rationale is a comment infold.Dockerfile, referenced from the other two.Verification
All three images built locally against the new pin, and the stamped version threads through:
The new CI
imagejob is itself the check on this PR — it is green here and would have been red on #64.🤖 Generated with Claude Code