You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: remove Sentry from the entire monorepo (#14336)
## 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
- [x] `tsc --noEmit` passes clean for `packages/common`, `packages/web`,
and `packages/mobile` (2 pre-existing identity-service errors are
unrelated to this change).
- [x] `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](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments