Skip to content

[RN][iOS] Improve Codegen Cleanup - #35642

Closed
cipolleschi wants to merge 1 commit into
mainfrom
fix/improve_codegen_cleanup
Closed

[RN][iOS] Improve Codegen Cleanup#35642
cipolleschi wants to merge 1 commit into
mainfrom
fix/improve_codegen_cleanup

Conversation

@cipolleschi

Copy link
Copy Markdown
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-botfacebook-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-botreact-native-bot added Platform: iOS iOS applications. Type: Enhancement A new feature or enhancement of an existing feature. labels Dec 14, 2022
@cipolleschi
cipolleschiforce-pushed the fix/improve_codegen_cleanup branch from 29a6a53 to a1c1eccCompareDecember 14, 2022 18:51
@analysis-bot

analysis-bot commented Dec 14, 2022

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a8,468,287+0
androidhermesarmeabi-v7a7,787,988+0
androidhermesx868,943,399+0
androidhermesx86_648,800,531+0
androidjscarm64-v8a9,659,502+0
androidjscarmeabi-v7a8,392,616+0
androidjscx869,723,515+0
androidjscx86_6410,201,030+0

Base commit: 03b17d9
Branch: main

@cipolleschi
cipolleschiforce-pushed the fix/improve_codegen_cleanup branch 2 times, most recently from 74fad69 to 5c48530CompareDecember 15, 2022 11:47
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@analysis-bot

analysis-bot commented Dec 15, 2022

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
ios-universaln/a--

Base commit: 03b17d9
Branch: main

@cipolleschi

Copy link
Copy Markdown
ContributorAuthor

/rebase

@github-actions
github-actionsBotforce-pushed the fix/improve_codegen_cleanup branch from 5c48530 to c30ec92CompareDecember 16, 2022 10:09
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown
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
@cipolleschicipolleschi mentioned this pull request Oct 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.p: FacebookPartner: FacebookPartnerPlatform: iOSiOS applications.Type: EnhancementA new feature or enhancement of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@cipolleschi@analysis-bot@facebook-github-bot@react-native-bot