Add a first-class expoRouterIntegration() with auto-registration (#6156) #6189
@sentry/warden / warden: code-review
completed
May 19, 2026 in 11m 47s
1 issue
code-review: Found 1 issue (1 medium)
Medium
Reliance on private internal expo-router module path may break on version upgrades - `packages/core/src/js/tracing/expoRouterIntegration.ts:90-97`
Accessing expo-router/build/global-state/router-store couples the integration to an undocumented internal module path that can be renamed or restructured in any expo-router release without a semver major bump, silently breaking navigation instrumentation for all users on a new version.
⏱ 11m 31s · 737.8k in / 52.3k out · $1.58
Annotations
Check warning on line 97 in packages/core/src/js/tracing/expoRouterIntegration.ts
sentry-warden / warden: code-review
Reliance on private internal expo-router module path may break on version upgrades
Accessing `expo-router/build/global-state/router-store` couples the integration to an undocumented internal module path that can be renamed or restructured in any expo-router release without a semver major bump, silently breaking navigation instrumentation for all users on a new version.
Loading