Publish sentry-v3-to-v4 codemod to the Codemod registry
@BYK がすでに取り組んでいます。
2026年7月15日 から。
評価
この issue はまだ評価されていません。
説明
Background
PR #1201 (merge commit 9fa96f6d47f9fe2d7eacc5f7244d9d14c27e5696) shipped the v3→v4 migration guide and the sentry-v3-to-v4 codemod (codemods/sentry-v3-to-v4/). The codemod is fully built, tested (21 jssg fixtures), and CI-gated (codemod-test job), but it is not yet published to the Codemod registry.
Until it's published, the migration guide instructs users to run it from source (clone + npx codemod jssg run …). The shorter published form is documented but gated behind a "once published" note:
npx codemod@latest @sentry/cli-v3-to-v4
What needs to happen
- Create the
@sentryscope on codemod.com (if it doesn't already exist). - Register
getsentry/clias a trusted publisher for that scope (OIDC), so.github/workflows/publish-codemod.ymlcan publish without a long-lived token. - Push a
codemod-v*tag to triggerpublish-codemod.yml(the workflow fires onpush: tags: codemod-v*and also supportsworkflow_dispatch). - Verify
npx codemod @sentry/cli-v3-to-v4resolves and runs.
Follow-up once published
- Update
docs/src/content/docs/migrating-from-v3.md— promote thenpx codemod @sentry/cli-v3-to-v4command out of the "once published":::noteand make it the primary invocation (the run-from-source path can stay as an alternative).
Notes
- Nothing here blocks anything already merged — the CLI doesn't depend on the codemod package,
codemod-testrunsjssg testlocally (no registry needed), andpublish-codemod.ymlonly fires on the tag. - Package name is
@sentry/cli-v3-to-v4; config lives incodemods/sentry-v3-to-v4/codemod.yaml+workflow.yaml.
- 主要言語
- TypeScript
- スター
- 121
- フォーク
- 14
- 平均マージ
- 22時間 3分
- マージ済み PR(30日)
- 94
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
bug jared
-
jared
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
似ている issue
-
S: triage
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
snapshot-labs/stamp#666 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
GauravKarakoti/SecureFlow#1070 · コメント 1 件 ·
-
comp/desktop P3 type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
NousResearch/hermes-agent#118866 ·