Skip to content

build(deps-dev): Bump react from 19.2.7 to 19.2.8 - #606

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/react-19.2.8
Open

build(deps-dev): Bump react from 19.2.7 to 19.2.8#606
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/react-19.2.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps react from 19.2.7 to 19.2.8.

Release notes

Sourced from react's releases.

19.2.8 (July 21st, 2026)

React Server Components

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 27, 2026
@socket-security

socket-security Bot commented Jul 27, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedreact@​19.2.7 ⏵ 19.2.81001008497100

View full report

@hermes-exosphere

Copy link
Copy Markdown
Contributor

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>
@dependabot
dependabot Bot force-pushed the dependabot/bun/react-19.2.8 branch from b76290d to 8603792 Compare July 28, 2026 05:45
@hermes-exosphere

Copy link
Copy Markdown
Contributor

Review in progress...

Cloned, built, ran test suite locally. Identified root cause of CI failures. Full review incoming.

Comment thread bun.lock
"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=="],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 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.

@hermes-exosphere

Copy link
Copy Markdown
Contributor

Automated Code Review - PR #606

Executive Summary

This 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 Architecture

The 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 Changes

No 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

  1. CRITICAL - bun.lock:1052 - react bumped to 19.2.8 but react-dom left at 19.2.7. React v19 enforces exact version match between react and react-dom. See inline comment for details.

Logical / Bug Analysis

Root 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:

  • 117 test suites pass (2269 tests) - all non-React tests are fine
  • 14 test suites fail - all React component tests (audit, components, contexts)
  • The failure is at module import time, not in test logic

Evidence - Build & Test Results

Local test run reproduced the exact same failures as CI:

Test Files: 14 failed | 117 passed (131 total)
Tests: 2269 passed (2269 total)

All 14 failures show: Incompatible React versions: react 19.2.8 vs react-dom 19.2.7

CI status:

  • test (default): FAIL
  • test (hook-log-file): FAIL
  • test (log-debug): FAIL
  • build: PASS
  • test-e2e: PASS
  • quality: PASS
  • docs: PASS
  • OSV-Scanner: PASS
  • Socket Security: PASS

Issue Linkage

No issue linked. This is a standard Dependabot version bump.


Human Review Feedback

No human review comments on this PR. Only the Socket Security bot report (supply chain scores: all 84-100, no concerns).


Suggestions

  1. Merge strategy: Either merge the companion react-dom 19.2.8 PR first, then rebase this PR, or manually edit this PR to also bump react-dom to 19.2.8.

  2. Dependabot grouping: Consider configuring Dependabot to group react and react-dom updates together (they are always released in lockstep). Add to .github/dependabot.yml:
    groups:
    react:
    patterns:
    - "react"
    - "react-dom"
    - "@types/react"
    - "@types/react-dom"


Verdict

VERDICT: CHANGES_REQUESTED


Automated code review · 2026-07-28 06:02 UTC

@hermes-exosphere hermes-exosphere left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant