Release v4 as the Sentry CLI, replacing sentry-cli
维护者通常 1 天内回复
@BYK 已经在做这个了。
开始于 2026年11月4日。
评估
这个 Issue 还没有评估数据。
描述
Tracking issue for cutting sentry v4 as the Sentry CLI. Every v3 sentry-cli distribution channel moves to v4 rather than staying frozen, so nobody gets stranded on v3.
Decided scope
Each legacy channel serves v4 after the cutover:
- npm
@sentry/clipublishes the same package assentry. The@sentry/cli-<platform>optional-dependency packages need a decision too: retire or keep them. Current consumers use the v3SentryCliJS class, and v4 drops it (migration guide). These consumers are@sentry/bundler-plugins,@sentry/nextjs,action-release, and the wizard. Their caret ranges protect them until they opt in. -
curl -sL https://sentry.io/get-cli/ | bashserves the v4 installer. It lives in getsentry/sentrysrc/sentry/web/frontend/cli.py.SENTRY_CLI_VERSION,INSTALL_DIR/INSTALL_PATH, and| shkeep working. -
sentry.io/get-cli/<platform>/<arch>/anddownloads.sentry-cdn.com/sentry-cli/latest/serve v4 binaries. v4 asset names (sentry-linux-x64) differ from v3 (sentry-cli-Linux-x86_64), so this needs a name mapping. - PyPI
sentry-cli(plussentry-pypi) ships wheels wrapping the v4 binary. - Homebrew
sentry-cliand Docker Hubgetsentry/sentry-climove to v4. The legacy getsentry/sentry-cli.craft.ymlpublishes both. - Release registry: the CLI already publishes to
apps/sentry. v3sentry-cli updateand its update nagger readapps/sentry-cli/latest, so decide how that app reaches v4. -
sentry-clicommand name: installs keep working for scripts that callsentry-cli. - Sentry-hosted binaries: v4 assets currently only live on GitHub Releases. The legacy CLI uploads to the
sentry-sdk-assetsGCS bucket (downloads.sentry-cdn.com) through a craftgcstarget. - Codemod: publish
@getsentry/cli-v3-to-v4(#1481). #1968 ports it from the archived getsentry/cli intopackages/cli-codemod-v3-to-v4and publishes it with Codemod's OIDC action. Before the first publish, the@getsentryscope must be verified against this repo (.codemod/verification).
Platform gaps vs v3
v4 builds darwin-arm64, darwin-x64, linux-arm64, linux-x64, and windows-x64 (packages/cli/script/build.ts). v3 also shipped linux-armv7, linux-i686, win32-i686, and win32-arm64, and it ran on musl.
- musl / Alpine: the installer currently refuses musl (
packages/cli/install,detect_musl).- x64: nodejs.org/dist ships an official
linux-x64-muslbuild as of v26.13.0. A fossilize 0.10.1 SEA built with platformlinux-x64-muslruns onalpine:3oncelibstdc++andlibatomicare installed. Without them it fails with relocation errors. - arm64: musl is only on unofficial-builds.nodejs.org, and fossilize hardcodes
https://nodejs.org/dist.
- x64: nodejs.org/dist ships an official
- win32-arm64: an official Node build exists (
win-arm64). - linux-armv7 and i686 have no official Node v26 LTS builds.
Tracked work
Issues and PRs that block or belong to the v4 cutover:
- #1481: publish the v3→v4 codemod
- #1968: port the codemod into this repo
- #1472:
debug-files uploadhas no progress output (v3 had it) - #1473:
debug-files uploadsummary shows numeric IDs instead of slugs - getsentry/sentry-cocoa#9169: move the Cocoa test-app scripts to the new CLI
- getsentry/sentry-fastlane-plugin#536: move the Fastlane plugin to the new CLI
- getsentry/sentry-maven-plugin#292: plan the Maven plugin migration to the new CLI
- #1962: install script checksums on GitHub Releases and the release registry
Related: #1357 tracks the broader CLI + MCP unification after the toolkit merge.
via @BYK.
--
- 主要语言
- TypeScript
- 星标
- 957
- 派生
- 174
- 平均合并
- 22 小时 56 分钟
- 30 天内合并 PR
- 345
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/toolkit 的其他 Issue
-
CLI enhancement MCP
难度 2/5 1-3 小时 新手友好度 63/100
getsentry/toolkit#1908 · 1 条评论 ·
维护者通常 1 天内回复
-
Docs MCP URL normalization retains query strings and fragments可能已有人在做 @pcbeingused333 于 5 天前认领。 未关闭bug MCP
难度 2/5 1-3 小时 新手友好度 73/100
getsentry/toolkit#1618 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
getsentry/toolkit#1471 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 55/100
getsentry/toolkit#1975 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
getsentry/toolkit#1956 · 1 条评论 ·
维护者通常 1 天内回复
查看 getsentry/toolkit 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 73/100
hugomrdias/playwright-test#753 ·
维护者通常 1 天内回复
-
Review view: Daily/Weekly Review header buttons use the app-wide toolbar control style可能已有人在做 @colherdesopa 今天认领。 未关闭
难度 1/5 1-3 小时 新手友好度 90/100
dongdongbh/Mindwtr#1515 ·
维护者通常 1 天内回复
-
pending-triage
难度 2/5 1-3 小时 新手友好度 70/100
kirodotdev/Kiro#12301 ·
-
难度 2/5 1-3 小时 新手友好度 83/100