Skip to content

Require session ID on inspector proxy device messages - #60291

Open
huntie wants to merge 1 commit into
pr60290from
pr60291
Open

huntie wants to merge 1 commit into
pr60290from
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 tests pass, except Debugger.getScriptSource › fetches source from server over HTTPS, which fails identically on main.

ℹ️ 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

This branch has not been deployed

No deployments
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants