From 1d9359f7dcb317384f2b1052dbc3ae7eed8ad39d Mon Sep 17 00:00:00 2001 From: Eli Schleifer Date: Wed, 9 Sep 2026 22:50:18 +0000 Subject: [PATCH] fix(yq): download the 64-bit binary on x86_64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The yq download mapped `x86_64: 386` on every platform, which was there from the tool's original commit (#655) and looks like an oversight rather than a choice — yq publishes amd64 for linux, darwin and windows at every version, including this definition's own `known_good_version`. Two consequences today: - **Linux x86_64** silently gets `yq_linux_386`, a 32-bit binary. It runs on hosts with ia32 emulation, so this has gone unnoticed, but a host built without `CONFIG_IA32_EMULATION` cannot exec it and the install fails at the health check with a bare `Process failure` on `yq --version` (the underlying error is `exec format error`). - **macOS x86_64** points at `yq_darwin_386`, which yq has never published — so an Intel Mac 404s and cannot install yq at all. Verified on linux x86_64 that both `4.53.3` and the `known_good_version` `4.44.1` now install, pass the health check, and evaluate: ELF 64-bit LSB executable, x86-64 yq (https://github.com/mikefarah/yq/) version v4.53.3 Co-Authored-By: Claude Opus 5 (1M context) --- tools/yq/plugin.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/yq/plugin.yaml b/tools/yq/plugin.yaml index f3519367a..44ccccaf4 100644 --- a/tools/yq/plugin.yaml +++ b/tools/yq/plugin.yaml @@ -6,13 +6,13 @@ downloads: linux: linux macos: darwin cpu: - x86_64: 386 + x86_64: amd64 arm_64: arm64 url: https://github.com/mikefarah/yq/releases/download/v${version}/yq_${os}_${cpu} - os: windows: windows cpu: - x86_64: 386 + x86_64: amd64 arm_64: arm64 url: https://github.com/mikefarah/yq/releases/download/v${version}/yq_${os}_${cpu}.exe tools: