Skip to content

chore: bump Go to 1.26.4#194

Merged
zeroshade merged 1 commit into
mainfrom
chore/bump-go-1.26.4
Jun 11, 2026
Merged

chore: bump Go to 1.26.4#194
zeroshade merged 1 commit into
mainfrom
chore/bump-go-1.26.4

Conversation

@zeroshade

Copy link
Copy Markdown
Contributor

Summary

Bumps the manylinux builder image's Go toolchain from 1.26.1 to 1.26.4 in adbc_drivers_dev/.env.

The Docker Compose Build workflow tags images as ghcr.io/adbc-drivers/dev:${MANYLINUX}-go${GO}, so merging this (and running the build with push=true) publishes a new manylinux2014-go1.26.4 image alongside the existing go1.26.1 one.

Why

adbc-drivers/snowflake#149 bumps the Snowflake driver's go/go.mod to go 1.26.4 to clear stdlib CVEs. The shipped .so is compiled inside the manylinux container, whose Go is pinned here. With the container still on 1.26.1, the in-container build runs as --user 1001, sees the go 1.26.4 directive, and (under the default GOTOOLCHAIN=auto) tries to auto-download the 1.26.4 toolchain into GOPATH=/go — which it cannot create:

go: could not create module cache: mkdir /go: permission denied

Bumping the baked-in toolchain to 1.26.4 makes GOTOOLCHAIN=auto resolve to the local toolchain (no download), so the build succeeds and the artifact is genuinely compiled on 1.26.4.

Follow-up

After this merges and the manylinux2014-go1.26.4 image is pushed, the consuming driver repos pick it up when their pixi.lock is re-pinned to this commit.

Bump the manylinux builder image's Go toolchain from 1.26.1 to 1.26.4 so driver artifacts are compiled against a CVE-patched stdlib. The Docker Compose Build workflow tags images as ghcr.io/adbc-drivers/dev:${MANYLINUX}-go${GO}, so this produces a new manylinux2014-go1.26.4 image once published.

Needed by adbc-drivers/snowflake#149, which bumps the driver go.mod to 1.26.4. Without a matching toolchain image the in-container build fails with 'mkdir /go: permission denied' because the older 1.26.1 toolchain tries to auto-download 1.26.4 into a non-writable GOPATH.
@zeroshade zeroshade requested a review from lidavidm as a code owner June 11, 2026 20:43
@zeroshade zeroshade merged commit f5aa769 into main Jun 11, 2026
4 checks passed
@zeroshade zeroshade deleted the chore/bump-go-1.26.4 branch June 11, 2026 21:20
zeroshade added a commit to adbc-drivers/snowflake that referenced this pull request Jun 11, 2026
Updates go/pixi.lock to pin adbc-drivers-dev at adbc-drivers/dev@f5aa769 (chore: bump Go to 1.26.4, adbc-drivers/dev#194), which selects the ghcr.io/adbc-drivers/dev:manylinux2014-go1.26.4 builder image.

Without this, the in-container build keeps using the go1.26.1 image; the 'go 1.26.4' directive in go.mod then triggers a toolchain auto-download into the non-writable GOPATH=/go (mkdir /go: permission denied). Pinning the 1.26.4 builder makes the container toolchain match go.mod, so the c-shared library compiles on 1.26.4 with no toolchain download.
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