Repository navigation
feat(cli): Ship a linux-arm64-musl binary - #2814
Conversation
Alpine on arm64 now gets a standalone binary, sentry-linux-arm64-musl. nodejs.org has no linux-arm64-musl build, so fossilize 0.12.0 downloads it from the Node.js unofficial builds. They often lag nodejs.org by days and skip some releases on some platforms (26.14.0 has no arm64 musl build), so that target embeds the newest LTS release the unofficial builds have for it. The installer installs it on musl arm64 once libstdc++ and libatomic are present, as on x64. The musl smoke tests now run in an Alpine container through `docker run`, because the runner can't run JavaScript actions in an Alpine container on arm64. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
The runner context is not available in job-level env. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
The linux-libc job runs each image with docker run, so it can add an Alpine row on ubuntu-24.04-arm, where the runner can't run JavaScript actions in an Alpine container. check-installer-libc.sh expects the musl asset for the machine's architecture. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| const NODE_VERSION = "lts"; | ||
|
|
||
| /** Releases of the Node.js unofficial builds, with the platforms each has. */ | ||
| const UNOFFICIAL_NODE_INDEX_URL = |
There was a problem hiding this comment.
Why do we need this here where fossilize already has it?
There was a problem hiding this comment.
fossilize only resolves lts/latest against nodejs.org's official index. The unofficial builds are just a download fallback at that exact version. The newest LTS there (26.14.0) has no linux-arm64-musl unofficial build yet, so the build failed with No Node.js v26.14.0 build found for node-v26.14.0-linux-arm64-musl.tar.xz. getNodeVersion picks the newest LTS that the unofficial index.json actually lists for that target (currently 26.13.1). That's a version-resolution gap in fossilize, not something toolkit should own.
The fossilize change is ready at BYK/fossilize@main...getsentry:fossilize:feat/resolve-unofficial-platforms. Once it's released, a follow-up toolkit PR drops getNodeVersion and UNOFFICIAL_NODE_INDEX_URL and bumps the pin.
via @BYK.
Adds a
linux-arm64-muslCLI binary (release assetsentry-linux-arm64-musl) so Alpine on arm64 can install v4.^0.12.0, which can build arm64 musl (feat: fall back to Node.js unofficial builds for platforms like linuxarm64-musl BYK/fossilize#40).unofficialNodeinbuild.ts). It can trail the other binaries by a patch release.via @BYK.
--
View Session [Sentry]