Skip to content

[LOCAL][0.83] Skip Hermes nightly override on stable branches#56582

Merged
motiz88 merged 1 commit into
facebook:0.83-stablefrom
motiz88:try-fix-hermes-pinned-in-0.83-stable
Apr 23, 2026
Merged

[LOCAL][0.83] Skip Hermes nightly override on stable branches#56582
motiz88 merged 1 commit into
facebook:0.83-stablefrom
motiz88:try-fix-hermes-pinned-in-0.83-stable

Conversation

@motiz88

@motiz88 motiz88 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

The test-ios-rntester, test-ios-helloworld composite actions and the inline test_android_helloworld job in test-all.yml unconditionally run use-hermes-nightly.js, which replaces the pinned Hermes version with the latest nightly from npm. On stable/release branches, this is incorrect — the pinned version from version.properties should be used.

This wasn't a problem before because the Hermes V0 nightlies happened to be ABI-compatible, but as of the April 22 nightly (0.17.0-commitly-202604221946), JSI symbol exports appear to be broken, causing linker failures in test_ios_rntester and downstream jobs.

The prebuild-ios-core workflow already handles this correctly via a use-hermes-nightly input gated by !endsWith(github.ref_name, '-stable'). This PR applies the same pattern to the three remaining places.

Changelog

Changelog: [Internal]

Test Plan

CI — the test_ios_rntester and test_ios_helloworld jobs should now use the pinned Hermes 0.14.1 on 0.83-stable instead of the broken 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
@motiz88 motiz88 requested a review from cipolleschi April 23, 2026 15:17
@github-actions

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: BREAKING

@motiz88 motiz88 changed the title [0.83] Skip Hermes nightly override on stable branches [LOCAL][0.83] Skip Hermes nightly override on stable branches Apr 23, 2026
@motiz88

motiz88 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

Talked to @cipolleschi, landing in the branch only and we will probably need a more elaborate solution to land in main in support of new branch cuts.

@motiz88 motiz88 merged commit d81b786 into facebook:0.83-stable Apr 23, 2026
32 of 39 checks passed
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 Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant