Skip to content

feat(cli): Ship a linux-arm64-musl binary - #2814

Merged
BYK merged 3 commits into
mainfrom
feat/cli-linux-arm64-musl
Dec 3, 2026
Merged

BYK merged 3 commits into
mainfrom
feat/cli-linux-arm64-musl

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Adds a linux-arm64-musl CLI binary (release asset sentry-linux-arm64-musl) so Alpine on arm64 can install v4.

via @BYK.

--

View Session [Sentry]

sentry-junior Bot and others added 3 commits December 2, 2026 22:28
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>
@vercel

vercel Bot commented Dec 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cli Ready Ready Preview Dec 2, 2026 10:38pm UTC
sentry-local Ready Ready Preview Dec 2, 2026 10:38pm UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Dec 2, 2026
const NODE_VERSION = "lts";

/** Releases of the Node.js unofficial builds, with the platforms each has. */
const UNOFFICIAL_NODE_INDEX_URL =

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this here where fossilize already has it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@BYK
BYK added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 16e194d Dec 3, 2026
77 checks passed
@BYK
BYK deleted the feat/cli-linux-arm64-musl branch December 3, 2026 05:08

This branch was successfully deployed

2 active deployments
Preview – sentry-local — ade81f36 Deployed Dec 2, 2026 by vercel[bot]
Preview – cli — ade81f36 Deployed Dec 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant