Repository navigation
feat(cli): Ship linux-x64-musl and windows-arm64 binaries - #2518
Open
sentry-junior[bot] wants to merge 2 commits into
Open
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
Node.js publishes official linux-x64-musl and win-arm64 builds, so the standalone binary can cover Alpine on x64 and Windows on ARM. Every other platform (musl on arm64, 32-bit x86, armv7, other OSes) has no official Node.js build and keeps using `npm install -g sentry`. - build.ts builds both targets. Targets carry an optional libc, and `--single` picks the musl target on a musl host. - The bash installer installs sentry-linux-x64-musl on musl x64, after checking for libstdc++, libgcc, and libatomic, which Node's musl build links and Alpine leaves out. It installs sentry-windows-arm64.exe from Git Bash on ARM64. install.ps1 picks the arm64 asset on ARM64. - Every installer refusal now names the npm fallback with Node.js 20+. - CI builds both targets, runs them on Alpine and windows-11-arm before the nightly publishes, and checks the GHCR manifest against the built files instead of a fixed list. The smoke and manifest checks move into tested scripts. - The getting-started platform table lists the new binaries and the npm fallback. `sentry cli upgrade` already picks `-musl` and `windows-arm64` assets, and the Craft targets match the new files by pattern. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📊 MCP Server Token Cost ReportSummary
Per-Tool Breakdown
Note: This measures the static overhead of tool definitions sent to LLM clients with every request. Lower is better. MCP Apps viewsEach
The budget applies to raw bytes, and the view's generator fails over it. |
This was referenced Nov 26, 2026
BYK
approved these changes
Nov 26, 2026
BYK
left a comment
Member
There was a problem hiding this comment.
Don't we need to bump up fossilize version?
BYK
marked this pull request as ready for review
November 26, 2026 13:09
…64-binaries # Conflicts: # package.json
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1965.
Node.js publishes official
linux-x64-muslandwin-arm64builds, so the standalone binary now covers Alpine on x64 and Windows on ARM. Platforms with no official Node.js build (musl on arm64, 32-bit x86, armv7) keep using the npm package on Node.js 20+.Build.
script/build.tsadds both targets. Fossilize already downloads any nodejs.org platform archive, so it only needs a-muslsuffix. Targets carry an optionallibc, and--targetmatches the full name, solinux-x64andlinux-x64-muslstay separate.Alpine needs three libraries. Node's musl build links libstdc++, libgcc, and libatomic, which a bare Alpine image lacks. The installer checks for them before downloading and names the Alpine packages to add, or the npm package. The docs platform table says the same.
Installers and upgrade.
sentry-linux-x64-muslon musl x64 andsentry-windows-arm64.exeon ARM64 Git Bash/MSYS. musl arm64 still stops before downloading. Every refusal now ends with the same npm fallback line.install.ps1picks the arm64 asset on ARM64. Other architectures get the npm fallback.sentry cli upgradeand.craft.ymlare unchanged. They already match the new asset names by pattern. Homebrew stays glibc/macOS only.Release pipeline.
cli-build.ymlbuilds, runs, and publishes both new binaries with the others. A broken musl or ARM binary now blocks the nightly. The workflow's inline bash steps move intoscripts/*.mjs, and the nightly manifest's expected files now come from the build instead of a fixed list.Until a release ships these assets, the installer and
sentry cli upgradeon musl x64 or Windows ARM64 report the missing build and point to npm.via @BYK.
--
View Session [Sentry]