Add a first-class expoRouterIntegration() with auto-registration (#6156) #6189
@sentry/warden / warden
completed
May 20, 2026 in 14m 55s
2 issues
Low
ExpoRouterIntegrationOptions not exported from the public API - `packages/core/etc/sentry-react-native.api.md:287-290`
The ExpoRouterIntegrationOptions type is used in the public signature of expoRouterIntegration but is not exported, so TypeScript consumers cannot reference this type explicitly when constructing options objects outside an inline call.
No test for expoRouterIntegration on web (notWeb = false) - `packages/core/test/integrations/defaultExpoRouter.test.ts:19-21`
The test always mocks notWeb to true but never tests the web scenario — consider adding a case to document whether the integration should be included on web, since the production code in default.ts (line 143) adds expoRouterIntegration() without a notWeb() guard unlike mobileReplayIntegration and debugSymbolicatorIntegration.
4 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 16.9s | $0.25 |
| code-review | 2 | 7m 4s | $1.92 |
| find-bugs | 0 | 14m 53s | $3.41 |
| gha-security-review | 0 | 9m 40s | $0.08 |
⏱ 31m 53s · 4.3M in / 185.2k out · $5.66
Loading