Add CI workflow for validating C++ API snapshot (#56042)#56042
Open
coado wants to merge 2 commits intofacebook:mainfrom
Open
Add CI workflow for validating C++ API snapshot (#56042)#56042coado wants to merge 2 commits intofacebook:mainfrom
coado wants to merge 2 commits intofacebook:mainfrom
Conversation
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 11, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 11, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 11, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 11, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 11, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Pull Request resolved: facebook#56042 Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Pull Request resolved: facebook#56042 Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
coado
pushed a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Pull Request resolved: facebook#56042 Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
cortinico
approved these changes
Mar 20, 2026
Contributor
cortinico
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 25, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 25, 2026
Summary: Pull Request resolved: facebook#56042 Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 25, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 25, 2026
Summary: Pull Request resolved: facebook#56042 Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D95963515
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D95963515
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 25, 2026
Summary: Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D95963515
coado
pushed a commit
to coado/react-native
that referenced
this pull request
Mar 25, 2026
Summary: Pull Request resolved: facebook#56042 Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one. Changelog: [Internal] Differential Revision: D95963515
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Adds CI workflow for validating whether the current C++ API snapshot is equivalent with the generated one.
Changelog:
[Internal]
Reviewed By: cortinico
Differential Revision: D95963515