From 9a391adfe5b8d6d2b3e67da62195ab59723c8441 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 11 Mar 2026 15:20:23 -0600 Subject: [PATCH] =?UTF-8?q?fix(legacy):=20remove=20go=20armv6=E2=86=92arm?= =?UTF-8?q?=20backport;=20Node=20classifier=20expects=20armv6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Node classifier maps armv6l filenames → armv6, so the cache should emit armv6 not arm. The previous backport predates the armv6l→armv6 normalizeGoArch fix and is no longer needed. --- internal/storage/legacy.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/storage/legacy.go b/internal/storage/legacy.go index a468451..5f0ece2 100644 --- a/internal/storage/legacy.go +++ b/internal/storage/legacy.go @@ -75,7 +75,6 @@ func (a Asset) toLegacy() LegacyAsset { // - solaris/illumos → sunos (Node.js only knows "sunos") // // Package-specific rules replicate per-package overrides in production's releases.js: -// - go: armv6 → arm (Go dist API uses bare "arm"; prod keeps it as-is) // - ffmpeg: Windows .gz → .exe (prod releases.js: rel.ext = 'exe') func legacyFieldBackport(pkg string, a Asset) Asset { // Global OS normalization: Node.js uses "sunos" for both Solaris and Illumos. @@ -84,10 +83,6 @@ func legacyFieldBackport(pkg string, a Asset) Asset { } switch pkg { - case "go": - if a.Arch == "armv6" { - a.Arch = "arm" - } case "ffmpeg": if a.OS == "windows" { switch a.Format {