build(deps-dev): Bump react from 19.2.7 to 19.2.8 - #606
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Automated code review started - full review. Results will be posted here. |
Bumps [react](https://github.com/react/react/tree/HEAD/packages/react) from 19.2.7 to 19.2.8. - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.2.8/packages/react) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
b76290d to
8603792
Compare
|
⏳ Review in progress... Cloned, built, ran test suite locally. Identified root cause of CI failures. Full review incoming. |
| "queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="], | ||
|
|
||
| "react": ["react@19.2.7", "", {}, "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ=="], | ||
| "react": ["react@19.2.8", "", {}, "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw=="], |
There was a problem hiding this comment.
🔴 CRITICAL: React version mismatch — react@19.2.8 vs react-dom@19.2.7
This PR bumps only react from 19.2.7 to 19.2.8, but leaves react-dom at 19.2.7. React v19 enforces that react and react-dom MUST be the exact same version. The mismatch causes:
- 14 test suites fail with Incompatible React versions error
- 3 CI check jobs fail (test default, test hook-log-file, test log-debug)
- All React component tests crash at import time
Fix: Dependabot should also bump react-dom to 19.2.8 in the same PR (or merge the companion react-dom PR first, then rebase this one).
Evidence:
- CI logs: react: 19.2.8, react-dom: 19.2.7
- Local reproduction: 14 test suites fail, 117 pass, 2269 tests pass
- Companion PR bumping react-dom to 19.2.8 is already open
React 19.2.8 release notes: Performance improvements when decoding RSC payloads. Non-breaking patch release.
Automated Code Review - PR #606Executive SummaryThis is a Dependabot patch bump: react 19.2.7 to 19.2.8. The change itself is trivial (1 line in bun.lock) and the React release is a non-breaking patch with RSC performance improvements. However, the PR is incomplete - it bumps only react without bumping react-dom to match, which causes React v19 runtime version mismatch errors and 14 test suites to fail. Change ArchitectureThe PR bumps react in bun.lock from version 19.2.7 to 19.2.8. However, react-dom remains at 19.2.7. React v19 enforces that both packages must have identical versions at runtime. This mismatch causes all 14 React component test suites to crash at module import time with: Incompatible React versions: react 19.2.8 vs react-dom 19.2.7. Breaking ChangesNo breaking changes in react 19.2.8 itself. However, the incomplete dependency bump creates a runtime break: react and react-dom must be the exact same version in React v19. Issues Found
Logical / Bug AnalysisRoot cause: Dependabot opened this PR for the react package only. React v19 requires react and react-dom to have identical versions at runtime. Since the PR only bumps one of the two packages, all 14 React component test suites crash before running any tests. The companion PR: There is already a Dependabot PR bumping react-dom to 19.2.8. These two should be merged together, or this PR should be rebased after the react-dom bump lands. Test impact:
Evidence - Build & Test ResultsLocal test run reproduced the exact same failures as CI: Test Files: 14 failed | 117 passed (131 total) All 14 failures show: Incompatible React versions: react 19.2.8 vs react-dom 19.2.7 CI status:
Issue LinkageNo issue linked. This is a standard Dependabot version bump. Human Review FeedbackNo human review comments on this PR. Only the Socket Security bot report (supply chain scores: all 84-100, no concerns). Suggestions
VerdictVERDICT: CHANGES_REQUESTED Automated code review · 2026-07-28 06:02 UTC |
hermes-exosphere
left a comment
There was a problem hiding this comment.
Automated review found issues: react-dom must be bumped to 19.2.8 alongside react to avoid version mismatch. 14 test suites fail. See inline comment and summary for details.
Bumps react from 19.2.7 to 19.2.8.
Release notes
Sourced from react's releases.
Commits
1dd4ecb[FlightReply] Performance improvements when decoding (#37087)b0d2fdb[19.2.x] Update required references to GitHub repo (#36753)