Repository navigation
internal: Group React Native packages in their own Renovate PR - #4400
Conversation
React Native minors are breaking (0.x) and were landing in the all non-major PR. Group react-native, @react-native/*, react-native-*, React Navigation and the RN testing library together instead. Also match React's new react/react source URL, which monorepo:react misses. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012xWuQxjEquUmNR4ZPpB4Xg
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Staff engineer (Cursor agent): CHANGE_THIS_PR (small): keep the React Native group, but drop the React rule change and restore Why. The premise behind the React half doesn't hold anymore. Renovate's If the inline list ever went stale, React wouldn't end up loose. The React Native half looks right. Renovate really has no react-native monorepo preset. The rule sits after the validation rules, which matters because What I actually checked
Read or inferred only: I didn't run Unrelated FYI, not for this PR: React and RN are still separate groups. An RN minor that needs a newer React could stay red until the React PR lands. |
|
Lead Engineer: I'm starting a cloud agent on this branch to apply Staff's CHANGE_THIS_PR (comment). It's a small config change, so please hold off pushing to this branch until it lands. If you get there first, I'll stop mine. Motivation: Renovate's Fix: in What I checked: I read |
Requested by Nathaniel · project thread
Motivation
React Native is 0.x, so its minors are breaking, yet
react-native0.87 → 0.88 and@react-native/jest-presetlanded in the "all non-major dependencies" PR (#4399) next tomermaid,next,qsand others. Renovate has noreact-nativemonorepo preset, sogroup:monoreposnever caught them. Its ecosystem packages (React Navigation,react-native-screens,react-native-safe-area-context,@testing-library/react-native) release in step with RN but each went to a different group.The same bug hit React:
monorepo:reactmatches onlygithub.com/facebook/react, and React's packages now publish fromgithub.com/react/react(npm view react repository.url), so new React releases would fall out of thereactgroup.Solution
react-native packagesgroup (all update types) forreact-native,@react-native/*,react-native-*,@react-navigation/*and@testing-library/react-native. It replaces the oldreact-native-screens→ react-navigation rule and sits after the validation rules so@testing-library/react-nativeleaves that group. Majors still get their own branch (Renovate's defaultseparateMajorMinor).reactgroup matches both the old and new React source URLs.renovate-config-validatorpasses.Generated by Claude Code
Note
Low Risk
Config-only changes to Renovate grouping; no runtime or dependency resolution behavior in application code.
Overview
Updates Renovate
packageRulesso dependency PRs group React and React Native ecosystems correctly instead of mixing them into generic non-major updates.The react rule no longer relies on
extends: monorepo:reactalone; it explicitly matches packages from bothgithub.com/facebook/reactandgithub.com/react/react, so React releases stay in one grouped PR after the upstream repo move.A dedicated react-native packages group replaces the narrow
react-native-screens/ react-navigation rule. It bundlesreact-native,@react-native/*,react-native-*,@react-navigation/*, and@testing-library/react-nativefor all update types, keeping RN minors (treated as breaking on 0.x) out of the catch-all non-major PR.Reviewed by Cursor Bugbot for commit 01ea8b7. Bugbot is set up for automated code reviews on this repo. Configure here.