Publish sentry-v3-to-v4 codemod to the Codemod registry
@BYK is already working on this.
Since Jul 15, 2026.
Assessment
This issue has not been assessed yet.
Description
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.
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·