Skip to content

Skip Hermes nightly override on stable branches - #56583

Draft
motiz88 wants to merge 1 commit into
react:mainfrom
motiz88:try-fix-hermes-pinned-on-main
Draft

motiz88 wants to merge 1 commit into
react:mainfrom
motiz88:try-fix-hermes-pinned-on-main

Conversation

@motiz88

@motiz88 motiz88 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Same fix as #56582, rebased onto main.

The test-ios-rntester, test-ios-helloworld composite actions and the inline test_android_helloworld job unconditionally run use-hermes-nightly.js, overriding the pinned Hermes version with the latest npm nightly. On -stable branches, this causes linker failures when the nightly Hermes has ABI-incompatible changes (as happened with 0.17.0-commitly-202604221946).

The prebuild-ios-core workflow already correctly gates this behind a use-hermes-nightly input. This PR applies the same pattern everywhere else.

Also adds the guard to test_ios_rntester_dynamic_frameworks which exists on main but not on 0.83.

Changelog

[Internal]

Test Plan

CI on a -stable branch should use the pinned Hermes version from version.properties instead of the nightly.

The test-ios-rntester, test-ios-helloworld actions and the
test_android_helloworld job unconditionally run use-hermes-nightly.js,
which replaces the pinned Hermes version with the latest nightly from
npm. On stable/release branches this is wrong: the pinned version from
version.properties should be used instead.

Add a `use-hermes-nightly` input (default true for backward compat) to
both composite actions, and guard the nightly override steps behind it.
In test-all.yml, pass `!endsWith(github.ref_name, '-stable')` so that
pushes to *-stable branches use the pinned Hermes version.
@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 23, 2026
@github-actions

Copy link
Copy Markdown

Caution

Missing Changelog

Please add a Changelog to your PR description. See Changelog format

@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.

@react-native-bot react-native-bot added Stale There has been a lack of activity on this issue and it may be closed soon. and removed Stale There has been a lack of activity on this issue and it may be closed soon. labels Oct 21, 2026

This branch has not been deployed

No deployments
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. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants