repro: Android harness Metro module loading failure on RN nightly#102
Draft
hannojg wants to merge 1 commit intocallstackincubator:mainfrom
Draft
repro: Android harness Metro module loading failure on RN nightly#102hannojg wants to merge 1 commit intocallstackincubator:mainfrom
hannojg wants to merge 1 commit intocallstackincubator:mainfrom
Conversation
|
@hannojg is attempting to deploy a commit to the Callstack Team on Vercel. A member of the Team first needs to authorize it. |
1dedb94 to
1d436c6
Compare
1d436c6 to
0a6d5f4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR creates a focused reproduction for the Android harness runtime failure seen after upgrading the playground app to
react-native@0.86.0-nightly-20260409-b1d12f535.It also updates the matching
@react-native/*toolchain packages to the same nightly version and keeps the runtime overlay buildable on RN 0.85+ so the repro stays isolated to the Metro module-loading path.Context from investigation: this now looks specific to the RN nightly/Hermes nightly path. A clean
react-native@0.85.0install was reported to work, while this nightly still fails after reinstalling and rebuilding from a clean Android build.What changed
react-nativeinapps/playgroundto0.86.0-nightly-20260409-b1d12f535@react-native/babel-preset,@react-native/eslint-config,@react-native/jest-preset,@react-native/metro-config, and@react-native/typescript-configto the same nightly versionStyleSheet.absoluteFillso the runtime package still builds against RN 0.85+Reproduction
Cleaned and rebuilt before running the Android smoke test:
I also reran locally with the harness Metro cache disabled and still saw the same failure. The local-only runner config was temporarily pointed at the already booted
Pixel_7_Pro_API_33emulator, then reverted before pushing.Observed failure
The failure happens at runtime when the harness asks Metro to load the setup/test module, not during the Android build.
Validation
pnpm install --forcepnpm nx resetpnpm nx run-many -t build --projects="packages/*"cd apps/playground/android && ./gradlew cleanpnpm nx run @react-native-harness/playground:build-android --tasks=assembleDebug0.86.0-nightly-20260409-b1d12f535