Skip to content

Skip use-hermes-nightly when hermes-compiler is already pinned#56505

Closed
alanjhughes wants to merge 2 commits intomainfrom
alanhughes/pin-hermes-compiler
Closed

Skip use-hermes-nightly when hermes-compiler is already pinned#56505
alanjhughes wants to merge 2 commits intomainfrom
alanhughes/pin-hermes-compiler

Conversation

@alanjhughes
Copy link
Copy Markdown
Collaborator

Summary:

use-hermes-nightly unconditionally overwrites the hermes-compiler with whatever the latest-v1 tag currently points to. On release branches, where hermes-compiler is pinned to a specific version, it replaces the pin. This doesn't cause an issue until the latest-v1 tag moves off the pinned version.

Looks to have been introduced by #53837.

Changelog:

[INTERNAL] [FIXED] - Preserve pinned hermes-compiler version when running use-hermes-nightly on release branches.

Test Plan:

With hermes-compiler manually set to a real version, the script returns early without modifying package.json or hermes-engine/version.properties.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 20, 2026
@alanjhughes alanjhughes requested a review from cipolleschi April 20, 2026 13:41
Copy link
Copy Markdown
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it!

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 20, 2026

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D101633376.

Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync Bot closed this in 70281d6 Apr 21, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @alanjhughes in 70281d6

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Apr 21, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 21, 2026

@cipolleschi merged this pull request in 70281d6.

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: Expo Partner: Expo Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants