Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RN][iOS] Improve Codegen Cleanup #35642

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

Summary

This PR adds a safety check in case the Cocoapod build script is not able to clean the build folder.
We had evidences where this process failed, and in this way the user has a clear and actionable message to fix its situation.

Changelog

[iOS][Added] - Add message with instructions about what to do if the cleanup of the build folder fails.

Test Plan

I was not able to reproduce the issue locally.
The fix is not destructive, let's see if the amount of issues decreases.

@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. p: Facebook Partner: Facebook Partner labels Dec 14, 2022
@react-native-bot react-native-bot added Platform: iOS iOS applications. Type: Enhancement A new feature or enhancement of an existing feature. labels Dec 14, 2022
@analysis-bot
Copy link

analysis-bot commented Dec 14, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,468,287 +0
android hermes armeabi-v7a 7,787,988 +0
android hermes x86 8,943,399 +0
android hermes x86_64 8,800,531 +0
android jsc arm64-v8a 9,659,502 +0
android jsc armeabi-v7a 8,392,616 +0
android jsc x86 9,723,515 +0
android jsc x86_64 10,201,030 +0

Base commit: 03b17d9
Branch: main

@cipolleschi cipolleschi force-pushed the fix/improve_codegen_cleanup branch 2 times, most recently from 74fad69 to 5c48530 Compare December 15, 2022 11:47
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot
Copy link

analysis-bot commented Dec 15, 2022

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

Base commit: 03b17d9
Branch: main

@cipolleschi
Copy link
Contributor Author

/rebase

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 16, 2022
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in 1b7127b.

@kelset kelset deleted the fix/improve_codegen_cleanup branch December 16, 2022 15:15
cipolleschi pushed a commit that referenced this pull request Dec 19, 2022
Summary:
This PR adds a safety check in case the Cocoapod build script is not able to clean the build folder.
We had evidences where this process failed, and in this way the user has a clear and actionable message to fix its situation.

## Changelog

[iOS][Added] - Add message with instructions about what to do if the cleanup of the build folder fails.

Pull Request resolved: #35642

Test Plan:
I was not able to reproduce the issue locally.
The fix is not destructive, let's see if the amount of issues decreases.

Reviewed By: dmytrorykun

Differential Revision: D42067939

Pulled By: cipolleschi

fbshipit-source-id: 433dbfaec42a1bf460dc9a48051aa51ec6e12d16
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
This PR adds a safety check in case the Cocoapod build script is not able to clean the build folder.
We had evidences where this process failed, and in this way the user has a clear and actionable message to fix its situation.

## Changelog

[iOS][Added] - Add message with instructions about what to do if the cleanup of the build folder fails.

Pull Request resolved: facebook#35642

Test Plan:
I was not able to reproduce the issue locally.
The fix is not destructive, let's see if the amount of issues decreases.

Reviewed By: dmytrorykun

Differential Revision: D42067939

Pulled By: cipolleschi

fbshipit-source-id: 433dbfaec42a1bf460dc9a48051aa51ec6e12d16
@cipolleschi cipolleschi mentioned this pull request Oct 11, 2023
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. Merged This PR has been merged. p: Facebook Partner: Facebook Partner Platform: iOS iOS applications. Type: Enhancement A new feature or enhancement of an existing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants