Repository navigation
build: drop 32-bit Linux; v0.17.1 was the last release built for it - #631
Merged
Merged
Conversation
32-bit Linux is unsupported (the maintainer's decision, 2026-10-19). It was promised in five places, so it is removed from all five together: - .goreleaser.yml: the archives, packages and mount-helper builds are amd64 and arm64 only. No more linux-armv7 tarball, armhf .deb or armv7hl .rpm. - release.yml: its artifact checks loop over the 64-bit names only, and the publish floor goes from 11 assets to 8. Left alone, both would have failed the first release that didn't build armv7. - ci.yml: the linux/arm and linux/386 cross-build cells, and the dead GOARM env, are gone. - install.sh refuses 32-bit machines (armv7l, armv6l, armhf, i386..i686) by name, pointing at v0.17.1's own installer, which can still install the last 32-bit release. Verified with a fake uname on armv7l. - requiredChecks drops the two cross-build contexts. Branch protection must drop them too before this merges. TestThirtyTwoBitIsStillInTheCrossBuildMatrix required a 32-bit CI cell as #198's word-width canary. It is replaced by TestNoThirtyTwoBitLinuxIsBuiltOrShipped, which fails if any goreleaser build, the cross-build matrix, or install.sh brings 32-bit back. Each of those mutations fails it by name; the floor is 6 expanded targets. This unblocks go-fuse v2.12.0 (#606), whose only failure was a 32-bit compile error inside the module. CHANGELOG has a Removed entry, and its Unreleased sections are back in Keep a Changelog order.
The packaging job failed on #631: it required exactly 5 tarballs from the snapshot build, and there are now 4. The first pass searched for armv7, armhf, 386 and 32-bit, and a bare count names none of them. Searching by number found the rest: - ci.yml packaging: expects 4 tarballs. - Makefile: package-linux's help says 4 tarballs, 2 debs, 2 rpms, and the 'eleven artifacts' comment says eight. - DEVELOPMENT.md: four published platforms, the armv7 build recipe removed, and the 32-bit policy stated with the test that holds it. - OBJECTFS.md: ARMv7 is marked unsupported, last built by v0.17.1. - Two test comments that used armv7 as an example of a current asset. Verified with a real goreleaser snapshot (make package-linux): 4 tarballs, 2 debs and 2 rpms, all amd64/arm64. That matches the packaging job's 4, the Makefile, and release.yml's floor of 8.
This was referenced Oct 20, 2026
scttfrdmn
added a commit
that referenced
this pull request
Oct 21, 2026
…ls (#633) (#635) Go does not retry a module fetch. A single HTTP/2 stream error from proxy.golang.org or sum.golang.org failed five correct PRs in October (#582, #631, #622, #614, #632) before anything compiled. Each module that failed had just been bumped on main, and the Security Scan failures came from uncached @latest tool installs. .github/scripts/go-retry.sh runs a go command and splits failures three ways. A transient answer (stream INTERNAL_ERROR, 5xx, timeout, reset) is retried with backoff, and each retry is printed. A missing module, or any other error, fails on the first attempt. A checksum mismatch / SECURITY ERROR is checked first and never retried, even beside a transient-looking line, so a corrupted download can't be retried until a lucky attempt hides it. Still transient after three attempts is a failure: a build can't proceed without its modules. Every job that sets up Go (18 across ci.yml, security.yml, release.yml and live-aws.yml) fetches modules through it as the step after setup-go. security.yml's existing bare 'go mod download' is replaced. gosec, govulncheck and go-licenses are pinned (v2.29.0, v1.9.0, v1.6.0) rather than @latest and installed through it; govulncheck had already moved from v1.8.0 under @latest with no commit. The MinIO and substrate installs go through it too. Tests: - TestGoRetryScriptRetriesOnlyTransientModuleServerErrors runs the real script against a stub go, asserting the number of attempts as well as the exit status. Removing the checksum guard, retrying everything, and never retrying each fail the cases they should. - TestEveryGoJobFetchesModulesThroughTheRetry walks every workflow: a retry download after setup-go with no go before it, no bare go install, no @latest. Floor of 15 Go jobs. Deleting a job's download step, adding @latest back, a bare go install, and a go build before the download each fail naming the job and step. Against real go, with a local proxy that 502s the first two requests into an empty GOMODCACHE: two visible retries, then success. A nonexistent version 404s and fails in 2s with no retry. Pinned govulncheck v1.9.0 reports no vulnerabilities, and go-licenses v1.6.0 passes.
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.
32-bit Linux is unsupported, per your decision. It was promised in five places, and this removes it from all five together. A half-removal (built but not compiled, or offered by
install.shwith no asset behind it) is the state #198 was in.What changes for users
objectfs-linux-armv7.tar.gz,*_armhf.debor*.armv7hl.rpmfrom v0.18.0 on. v0.17.1 was the last 32-bit release.install.shrefuses 32-bit machines by name (armv7l,armv6l,armhf,i386…i686), and points at v0.17.1's own installer, which still supports armv7. Run with a fakeunameonarmv7l, it prints:### Removedentry. Unreleased's sections are also back in Keep a Changelog order; I'd put Security before Fixed in fix(deps): build with go1.26.9 and golang.org/x/net v0.60.0 for eight govulncheck findings #597.Where it was removed
.goreleaser.ymlarchives,packagesandmount-helperbuilds areamd64+arm64onlyrelease.ymlci.ymlcross-build (linux, arm, 7)and(linux, 386)removed, plus the now-deadGOARMenvinstall.shrequiredChecksThe guard, inverted
TestThirtyTwoBitIsStillInTheCrossBuildMatrixrequired a 32-bit CI cell, as #198's word-width canary for overflow bugs that only compile-fail on a 32-bitint. That made sense while a 32-bit binary shipped. It's replaced byTestNoThirtyTwoBitLinuxIsBuiltOrShipped, which fails if any goreleaser build, the cross-build matrix, orinstall.shbrings 32-bit back. Floor: 6 expanded targets.arm+goarm: 7back in thearchivesbuildlinux/armlinux/386cell back incross-buildarmv7l) arch="armv7"back ininstall.shlinux-armv7What's given up, deliberately: the word-width canary. That's a fair trade only because no shipped binary has a 32-bit
intany more.Unblocks #606
go-fuse v2.12.0's only failure was a 32-bit compile error inside the module (
splice/pair_linux.go).cross-build (linux, 386)andcross-build (linux, arm, 7)are required checks, and they can no longer report. This PR is blocked until they're removed from branch protection, which needs your go-ahead, like #572's three did.🤖 Generated with Claude Code