Repository navigation
fix: downgrade go-fuse to v2.11.0 and add linux/386 build check - #2704
Merged
Merged
Conversation
Downgrades github.com/hanwen/go-fuse/v2 to v2.11.0 to resolve a 32-bit Linux compilation error introduced in v2.12.0 (hanwen/go-fuse#628), which broke Kokoro continuous builds for cloud-sql-proxy.linux.386. Also adds CGO_ENABLED=0 GOOS=linux GOARCH=386 go build to the cross-platform compilation check in .github/workflows/tests.yaml to prevent 32-bit compilation regressions in CI.
panavenue
approved these changes
Oct 14, 2026
hessjcg
approved these changes
Oct 14, 2026
1 task
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.
Description
Downgrades
github.com/hanwen/go-fuse/v2back tov2.11.0and adds a 32-bit Linux (GOOS=linux GOARCH=386) compilation check in GitHub Actions.Root Cause
In
go-fusev2.12.0 (commit d177ec7),splice/pair_linux.goexplicitly typed variables receivingsyscall.Splicereturn values asint64. In Go's standard library on Linux:amd64,arm64):syscall.Splicereturns(int64, error)386,arm):syscall.Splicereturns(int, error)This broke compilation on 32-bit Linux with:
which failed the Kokoro
continuousandcontinuous-testrelease binary builds forcloud-sql-proxy.linux.386.Upstream issue filed: hanwen/go-fuse#628.
Changes
go.mod: Downgradegithub.com/hanwen/go-fuse/v2tov2.11.0..github/workflows/tests.yaml: AddCGO_ENABLED=0 GOOS=linux GOARCH=386 go buildunder the compilation check so 32-bit build breakages are detected in PR CI.Verification
CGO_ENABLED=0 GOOS=linux GOARCH=386 go buildpasses locally.CGO_ENABLED=0 GOOS=freebsd go buildandopenbsdpass locally.go test -short ./...passes.