Skip to content

fix(ci): Handle @sentry-internal/* package renames in JS updater - #6295

Merged
antonis merged 8 commits into
mainfrom
antonis/fix-updater-package-renames
Jun 16, 2026
Merged

fix(ci): Handle @sentry-internal/* package renames in JS updater#6295
antonis merged 8 commits into
mainfrom
antonis/fix-updater-package-renames

Conversation

@antonis

@antonisantonis commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

The previous fix updated the package names in the updater's packages list, but packages/core/package.json still references the old @sentry-internal/* names. When yarn up runs with the new @sentry/* names, it fails because those patterns don't match any packages in the workspace.

The rename was introduced upstream in getsentry/sentry-javascript#21371.

💡 Motivation and Context

The JS updater workflow continues to fail on main with:

Usage Error: Patterns @sentry/typescript@10.58.0, @sentry/eslint-plugin-sdk@10.58.0 don't match any packages referenced by any workspace

💚 How did you test it?

Triggered the check on the current branch with 814a4fb

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

The previous fix updated the package names in the updater list but
the workspace package.json still references the old @sentry-internal/*
names, so yarn up can't find them. This adds a renames mechanism that
rewrites package.json entries before running yarn up.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actionsBot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • fix(ci): Handle @sentry-internal/* package renames in JS updater by antonis in #6295
  • chore(deps): bump tar from 7.5.11 to 7.5.16 by dependabot in #6293
  • fix(ci): Update renamed @sentry-internal/* packages in JS updater script by antonis in #6294
  • chore(deps): bump launch-editor from 2.11.1 to 2.14.1 by dependabot in #6291
  • chore(deps-dev): bump @babel/core from 7.26.7 to 7.29.6 by dependabot in #6292
  • fix(deps): Resolve shell-quote to >=1.8.4 (Dependabot RNSentryModule.captureEvent is ignoring environment #547) by antonis in #6286
  • fix(ci): Support version catalog in android SDK version check by antonis in #6280
  • test(e2e): Bump E2E tests to React Native 0.86.0 by antonis in #6268
  • feat(android): Add nativeStackAndroid support to NativeLinkedErrors by lucas-zimerman in #6278
  • chore(deps): bump ruby/setup-ruby from 1.310.0 to 1.313.0 by dependabot in #6282
  • chore(deps): update Maestro to v2.6.1 by github-actions in #6277
  • chore(deps): bump gradle/actions from 6.1.0 to 6.2.0 by dependabot in #6284
  • chore(deps): bump getsentry/craft from 2.26.8 to 2.26.10 by dependabot in #6283
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.26.8 to 2.26.10 by dependabot in #6281
  • chore(deps): update Sentry Android Gradle Plugin to v6.11.0 by github-actions in #6275
  • chore(deps): update Android SDK to v8.43.2 by github-actions in #6273
  • chore(deps): bump joi from 17.13.3 to 17.13.4 by dependabot in #6279
  • chore(deps): update Cocoa SDK to v9.17.1 by github-actions in #6272
  • docs(replay): clarify fast renderer option docs by leohara in #6276
  • feat(core): Warn when multiple versions of Sentry JS SDK are detected by antonis in #6269

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actionsBot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor
Fails
🚫Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against e6e21af

antonisand others added 3 commits June 16, 2026 09:35
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename the dependencies directly instead of adding rename logic to
the updater script. The packages were renamed upstream in
sentry-javascript 10.58.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment threadscripts/update-javascript.sh Outdated
antonisand others added 3 commits June 16, 2026 09:42
….json
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
….tools.json
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread.github/workflows/update-deps.yml Outdated
@antonis
antonis marked this pull request as ready for review June 16, 2026 07:55
Comment threadpackages/core/package.json

@lucas-zimermanlucas-zimerman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@antonis
antonis merged commit 2e82032 into mainJun 16, 2026
60 of 66 checks passed
@antonis
antonis deleted the antonis/fix-updater-package-renames branch June 16, 2026 12:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@antonis@alwx@lucas-zimerman