Skip to content

Fix broken template tests due to missing boost headers#34829

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D39968622
Closed

Fix broken template tests due to missing boost headers#34829
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D39968622

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
This unblocks the Android Template CI jobs which are currently red.
The reason is that the way how the exclude is computed is different
between RN Tester and the template (relative/absolute paths).

By adding ** to the exclude regexes, this will make it work for both scenarios.

Changelog:
[Internal] [Changed] - Fix broken template tests due to missing boost headers

Reviewed By: cipolleschi

Differential Revision: D39968622

@cortinico cortinico requested a review from hramos as a code owner September 30, 2022 13:41
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Sep 30, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D39968622

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 30, 2022

Warnings
⚠️ 🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against 07255d6

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,736,904 +0
android hermes armeabi-v7a 7,141,724 +0
android hermes x86 8,046,297 +0
android hermes x86_64 8,018,521 +0
android jsc arm64-v8a 9,605,443 +0
android jsc armeabi-v7a 8,373,044 +0
android jsc x86 9,551,383 +0
android jsc x86_64 10,144,396 +0

Base commit: f164556
Branch: main

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: f164556
Branch: main

Summary:
Pull Request resolved: facebook#34829

I realized there is a race condition in how prefab headers are prepared and bundled. If the download of boost is not 'fast enough' the headers will be missing during prefab preparation.
This fixes it.

Changelog:
[Internal] [Changed] - Fix broken template tests due to missing boost headers

Reviewed By: cipolleschi

Differential Revision: D39968622

fbshipit-source-id: 8b6a669e68f6257985151b90b088d2eb37f0ddcf
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D39968622

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in 98aa66a.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Sep 30, 2022
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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants