Skip to content

fix: support remote Android React DevTools tunnel#438

Merged
thymikee merged 2 commits intomainfrom
codex/remote-android-react-devtools-tunnel
Apr 25, 2026
Merged

fix: support remote Android React DevTools tunnel#438
thymikee merged 2 commits intomainfrom
codex/remote-android-react-devtools-tunnel

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

Support remote bridge React DevTools for Android by registering a lease-scoped companion tunnel to the sandbox-local DevTools daemon on port 8097.
Extend companion register/unregister handling, cleanup on command exit/disconnect, tests, and docs/skill guidance.

Touched files: 12. Scope stayed within the React DevTools/companion command family plus docs.

Validation

pnpm format
pnpm check:quick
pnpm check:unit

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-438/

Built to branch gh-pages at 2026-04-25 23:28 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1418633f22

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cli.ts Outdated
const exitCode = await runReactDevtoolsCommand(positionals, {
flags: effectiveFlags,
stateDir: daemonPaths.baseDir,
session: sessionName,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Use resolved session when starting React DevTools companion

runReactDevtoolsCommand is called with sessionName, but sessionName is computed before remote-connection defaults are merged; when users omit --session and rely on an active remote session (often adc-*), this passes default instead of effectiveFlags.session. That registers the companion under the wrong consumer/session key, while disconnect/force cleanup later stops using the real state session (stopReactDevtoolsCleanup), so cleanup can miss the running companion and leave stale bridge state/processes behind for non-default sessions.

Useful? React with 👍 / 👎.

@thymikee thymikee force-pushed the codex/remote-android-react-devtools-tunnel branch 2 times, most recently from 3dbabb9 to 9909c17 Compare April 25, 2026 22:08
@thymikee thymikee force-pushed the codex/remote-android-react-devtools-tunnel branch from 9909c17 to 4606339 Compare April 25, 2026 23:28
@thymikee thymikee merged commit 6c7e832 into main Apr 25, 2026
15 checks passed
@thymikee thymikee deleted the codex/remote-android-react-devtools-tunnel branch April 25, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant