Skip to content

Fix buf install on Linux arm#22

Merged
jleibs merged 1 commit into
mainfrom
jleibs/fix-buf-linux-arm
Jul 25, 2026
Merged

Fix buf install on Linux arm#22
jleibs merged 1 commit into
mainfrom
jleibs/fix-buf-linux-arm

Conversation

@jleibs

@jleibs jleibs commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

buf spells the arm architecture differently per OS: Darwin and Windows assets say
arm64, Linux ones say aarch64. The plugin renamed aarch64 -> arm64 globally, so a
Linux arm host asked for the nonexistent buf-Linux-arm64.tar.gz and proto install
404'd. Scope the rename to macOS and Windows with [platform.<os>.arch], leaving Linux
on proto's own aarch64.

Surfaced by a praxis-core release build on an ubuntu-24.04-arm runner, the first Linux
arm target to install this plugin. No other pinned plugin is affected — their Linux arm
asset names all resolve.

Verified buf-Linux-aarch64.tar.gz exists for the pinned 1.71.0, and that install,
checksum verification, and proto bin buf still succeed on Linux x86_64.

🤖 Generated with Claude Code

buf spells the arm architecture differently per OS: Darwin and Windows
assets say `arm64`, Linux ones say `aarch64`. The plugin renamed
`aarch64 -> arm64` globally, so a Linux arm host asked for the
nonexistent `buf-Linux-arm64.tar.gz` and the install 404'd. Scope the
rename to macOS and Windows with `[platform.<os>.arch]`, leaving Linux
on proto's own `aarch64`.

Surfaced by a praxis-core release build on an `ubuntu-24.04-arm` runner,
the first Linux arm target to install this plugin.

Verified `buf-Linux-aarch64.tar.gz` exists for the pinned 1.71.0 and
that install plus checksum verification still succeed on Linux x86_64.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@jleibs
jleibs requested a review from a team as a code owner July 25, 2026 02:17
@jleibs
jleibs merged commit f7f63ae into main Jul 25, 2026
5 checks passed
@jleibs
jleibs deleted the jleibs/fix-buf-linux-arm branch July 25, 2026 20:08
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