Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
6 of 7 tasks
dannyhw
added this pull request to stack #1511
October 22, 2026 13:24
Wrap the tester-app, MF v1/v2 host and tester-expo configs with withRozenite, gated behind WITH_ROZENITE=true, and wire up the network activity plugin, plus React Navigation and AsyncStorage (ScriptManager cache) plugins in the Module Federation hosts.
dannyhw
force-pushed
the
feat/rozenite-tester-apps
branch
from
October 23, 2026 08:59
db32e4b to
425ac31
Compare
This branch was successfully deployed
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
Adds Rozenite to the tester apps so we get extra React Native DevTools panels while debugging Re.Pack. It is opt-in: start a tester's dev server with
WITH_ROZENITE=true. Without the flag,withRozenitereturns the config unchanged (/rozenite404s).tester-apprspack.config.mjs,webpack.config.mjstester-federationconfig.host-app.mts(rspack + webpack)tester-federation-v2config.host-app.mts(rspack + webpack)tester-exporspack.config.mjsScriptManageruses for its cache, so cached remote scripts can be inspected in the MF hosts.withOnBootNetworkActivityRecording()runs in each entry so early requests (e.g. MF v2 manifest/preload fetches) are captured.tester-expopassesprojectType: 'react-native-cli'. Rozenite otherwise guesses "Expo" and patches the dev-middleware copy resolved through Expo's CLI, but Re.Pack serves DevTools through React Native's copy. They happen to be the same file in this workspace today, but that isn't guaranteed.tester-expodoesn't get the React Navigation plugin. expo-router 57 vendors React Navigation, souseNavigationContainerRef()from expo-router doesn't typecheck against the plugin's@react-navigation/coretypes, and I didn't want a cast. (Upstream issue: the Rozenite docs show exactly this usage.)NODE_ENV === 'production', so release bundles aren't affected.testerscatalog (2.5.0).Test plan
WITH_ROZENITE=truedev servers for all four apps report the expected plugins at/rozenite/app/config. With the flag off,/rozenitereturns 404./json/listreturnsdevtoolsFrontendUrl: /rozenite/rn_fusebox.html…, DevTools shows the Rozenite tab with the Network Activity panel, and a boot-time request was recordedtester-appvitest (17/17),@callstack/repack-expotests (125/125), biome,tscfortester-expo(other testers have only pre-existing errors)