Skip to content

Require session ID on inspector proxy device messages - #60291

Merged
huntie merged 1 commit into
mainfrom
pr60291
Nov 26, 2026
Merged

huntie merged 1 commit into
mainfrom
pr60291

Conversation

@huntie

@huntie huntie commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Context

Removing inspector proxy support for targets from React Native versions before 0.87.

This diff

Require sessionId on wrappedEvent and disconnect messages from the device. Every supported version sends one, since multi-session support landed in 0.85.

  • Remove fallback routing for session-less messages, which sent wrappedEvent to the first connected debugger and disconnect to every session on the page.
  • Test device mock sends under the page's latest session by default.

Changelog: [Internal]

Test Plan

yarn jest packages/dev-middleware

✅ All 143 tests pass.

ℹ️ End-to-end smoke test with a device and React Native DevTools: see #60292.

@huntie
huntie changed the base branch from main to pr60290 November 25, 2026 16:25
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 25, 2026
@huntie
huntie added this pull request to stack #60293 November 25, 2026 16:26
Base automatically changed from pr60290 to main November 26, 2026 12:39
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Nov 26, 2026
@huntie
huntie enabled stacked auto-merge (squash) November 26, 2026 12:53
@huntie
huntie merged commit 2fed45c into main Nov 26, 2026
74 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants