Skip to content

chore: remove Sentry from the entire monorepo#14336

Merged
dylanjeffers merged 1 commit into
mainfrom
claude/lucid-darwin-a77873
May 16, 2026
Merged

chore: remove Sentry from the entire monorepo#14336
dylanjeffers merged 1 commit into
mainfrom
claude/lucid-darwin-a77873

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Summary

  • Drops every Sentry-related dependency (@sentry/browser, @sentry/node, @sentry/cli, redux-sentry-middleware, @types/redux-sentry-middleware, toucan-js) and the redux-sentry-middleware wiring in the web store.
  • Deletes the dedicated Sentry files (packages/web/src/services/sentry.ts, packages/web/src/store/errors/reportToSentry.ts, packages/mobile/src/app/sentry.ts, packages/mobile/src/utils/reportToSentry.ts), the iOS dSYM upload script and sentry.properties for both platforms.
  • Replaces ~100 reportToSentry({...}) call sites with console.error(...) (or removes them entirely when they were the only line in a catch). Removes the sentry / reportToSentry properties from CommonStoreContext and QueryContext, the Feature / ErrorLevel / ReportToSentryArgs types, and the SENTRY_DSN field from Env + the web/mobile env files.
  • Strips Sentry steps from .github/workflows/{web,mobile}.yml and the matching .circleci/src/*.yml sources (the generated .circleci/config.yml was already clean). Removes the sentryDSN convict knob and configureSentry() call from identity-service.

Test plan

  • tsc --noEmit passes clean for packages/common, packages/web, and packages/mobile (2 pre-existing identity-service errors are unrelated to this change).
  • eslint --ext=ts,tsx src passes clean for packages/common, packages/web, and packages/mobile.
  • Smoke test the web app: trigger an error path (e.g. failed comment post) and confirm it surfaces as console.error rather than a Sentry capture, with no runtime errors.
  • Smoke test the mobile error boundary: force a render error and confirm the toast + console.error still fire.
  • CI: confirm the web-deploy-sentry-sourcemaps job no longer runs and that the mobile build no longer attempts to install sentry-cli or upload dSYMs.

🤖 Generated with Claude Code

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2026

⚠️ No Changeset found

Latest commit: ca6119f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Removes the Sentry SDK (web + mobile + identity-service), the
redux-sentry-middleware, the @sentry/cli release-cut job, and every
call site of reportToSentry / ErrorLevel / Feature.

Most reportToSentry({...}) calls become console.error(...) with the
same context payload. The ErrorReporting model and the sentry +
reportToSentry properties on CommonStoreContext / QueryContext are
deleted. SENTRY_DSN is dropped from web and mobile env + the Env type,
toucan-js is removed from the SSR worker, and the iOS dSYM upload
script, sentry.properties files, and CI sentry-cli steps go too.

verify (tsc + eslint) passes clean for common, web, and mobile after
the SDK and harmony are built locally. The two pre-existing
identity-service tsc errors are unrelated to this change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dylanjeffers dylanjeffers force-pushed the claude/lucid-darwin-a77873 branch from e5029bf to ca6119f Compare May 16, 2026 03:02
@dylanjeffers dylanjeffers merged commit 5153b2b into main May 16, 2026
6 checks passed
@dylanjeffers dylanjeffers deleted the claude/lucid-darwin-a77873 branch May 16, 2026 03:03
@github-actions
Copy link
Copy Markdown
Contributor

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-14336.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant