Skip to content

breaking: Remove /open-stack-frame and /open-url from cli-server-api - #2875

Draft
huntie wants to merge 1 commit into
mainfrom
pr2875
Draft

huntie wants to merge 1 commit into
mainfrom
pr2875

Conversation

@huntie

@huntie huntie commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Context

Migration of the remaining core dev server endpoints from @react-native-community/cli-server-api into core (community-cli-plugin).

See https://github.com/react/react-native/stack/59664.

This diff

Clean up intended to pair with react/react-native#59316, migrating these endpoints into core. Must land in the same React Native version, and is breaking on the CLI side.

Test Plan

yarn build
yarn lint
yarn test packages/cli-server-api

✅ Clean; the one lint warning is in a file this change does not touch.

With this cli-server-api linked into RNTester's Metro running react/react-native#59316:

  • ✅ curl -X POST /open-stack-frame for a file in the repo answered 200 with core's OK body and launched $REACT_EDITOR with the file.
  • ✅ curl -X POST /open-url with a file: URL answered 400 with core's body, and with an http://localhost URL answered 200 and opened the browser.

Checklist

  • Documentation is up to date.
  • Follows commit message convention described in CONTRIBUTING.md.
  • For functional changes, my test plan has linked these CLI changes into a local react-native checkout (instructions).

@huntie huntie changed the title breaking: Remove /open-stack-frame from cli-server-api breaking: Remove /open-stack-frame and /open-url from cli-server-api Oct 29, 2026
@huntie
huntie added this pull request to stack #2878 October 30, 2026 11:12
@huntie huntie mentioned this pull request Oct 30, 2026
3 tasks done
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