Skip to content

fix: update CircleCI config to use the RN version in tarball caching - #35471

Closed
cipolleschi wants to merge 1 commit into
mainfrom
cipolleschi/fix_hermes_tarball_name
Closed

fix: update CircleCI config to use the RN version in tarball caching#35471
cipolleschi wants to merge 1 commit into
mainfrom
cipolleschi/fix_hermes_tarball_name

Conversation

@cipolleschi

Copy link
Copy Markdown
Contributor

Summary

This PR updates the Cache strategy for the tarballs to include the React Native version we are building. In this way, when we publish a new Release/RC we are sure that we are going to rebuild a nmew
tarball. This should fix caching problems like:

  • we have misconfigured the build script for the Hermes tarball, we then fix it, but we distribute the wrong cached artifacts
  • the cached artifact has the wrong version

Changelog

[Internal] - Fixed Hermes Tarball Cache Logic

Test Plan

  1. CircleCI
    The real way to check this is in the next RC cycle or in the next nightly.

@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 Nov 25, 2022
@cipolleschi
cipolleschiforce-pushed the cipolleschi/fix_hermes_tarball_name branch 2 times, most recently from aa5cff6 to 70fb416CompareNovember 25, 2022 09:37
@analysis-bot

analysis-bot commented Nov 25, 2022

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

Base commit: c4959b9
Branch: main

@analysis-bot

analysis-bot commented Nov 25, 2022

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a7,103,561+0
androidhermesarmeabi-v7a6,471,886+0
androidhermesx867,521,203+0
androidhermesx86_647,380,081+0
androidjscarm64-v8a8,968,399+0
androidjscarmeabi-v7a7,699,505+0
androidjscx869,030,706+0
androidjscx86_649,508,749+0

Base commit: c4959b9
Branch: main

@cipolleschi
cipolleschi marked this pull request as ready for review November 25, 2022 11:29
@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.

@cipolleschi
cipolleschiforce-pushed the cipolleschi/fix_hermes_tarball_name branch from 70fb416 to e146aedCompareNovember 25, 2022 11:45
@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.

@kelsetkelset left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I guess we'll only be able to verify it actually works when we release the next RC 😅

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in 319631f.

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

@react-native-botreact-native-bot added the Merged This PR has been merged. label Nov 25, 2022
@kelset
kelset deleted the cipolleschi/fix_hermes_tarball_name branch November 25, 2022 14:38
kelset pushed a commit that referenced this pull request Nov 30, 2022
…35471)
Summary:
This PR updates the Cache strategy for the tarballs to include the React Native version we are building. In this way, when we publish a new Release/RC we are sure that we are going to rebuild a nmew
tarball. This should fix caching problems like:
- we have misconfigured the build script for the Hermes tarball, we then fix it, but we distribute the wrong cached artifacts
- the cached artifact has the wrong version
## Changelog
[Internal] - Fixed Hermes Tarball Cache Logic
Pull Request resolved: #35471
Test Plan:
1. CircleCI
The real way to check this is in the next RC cycle or in the next nightly.
Reviewed By: cortinico
Differential Revision: D41530651
Pulled By: cipolleschi
fbshipit-source-id: 45e8fd3b62c8e108d393d9463ff6762dfc6d3ec8
@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: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

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