Skip to content

Remove dual Hermes version outputs from CI workflows (#56739)#56739

Open
cipolleschi wants to merge 5 commits intofacebook:mainfrom
cipolleschi:export-D104381269
Open

Remove dual Hermes version outputs from CI workflows (#56739)#56739
cipolleschi wants to merge 5 commits intofacebook:mainfrom
cipolleschi:export-D104381269

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

@cipolleschi cipolleschi commented May 8, 2026

Summary:

Summary

  • Simplify publish-release.yml: remove HERMES_V1_VERSION output, read only HERMES_VERSION_NAME
  • Simplify create-draft-release.yml: remove hermesV1Version input
  • Simplify createDraftRelease.js: remove hermesV1Version parameter and "Hermes V1 dSYMS" section from release notes
  • Simplify prebuild-ios-core.yml: read HERMES_VERSION_NAME instead of HERMES_V1_VERSION_NAME
  • Delete unused prepare-hermes-v1-app action, hermes-v1.patch, and selectLatestHermesV1Version.js

Changelog:

[Internal]

Test plan

  • JS tests: yarn jest --no-watchman createDraftRelease-test.js — 9/9 tests pass

Differential Revision: D104381269

Riccardo Cipolleschi added 2 commits May 8, 2026 06:57
…oad the correct commit data.

Differential Revision: D104228879
…oad the correct commit data.

Differential Revision: D104244582
@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 May 8, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels May 8, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 8, 2026

@cipolleschi has exported this pull request. If you are a Meta employee, you can view the originating Diff in D104381269.

Riccardo Cipolleschi and others added 3 commits May 8, 2026 09:49
…56735)

Summary:
Pull Request resolved: facebook#56735

  - Remove `RCT_HERMES_V1_ENABLED` environment variable from `react_native_pods.rb`
  - Simplify `jsengine.rb` to always use `.hermesversion` tag file
  - Remove conditional `HERMES_V1_ENABLED=1` preprocessor definition from `utils.rb`
  - Simplify `hermes-engine.podspec`: always read `HERMES_VERSION_NAME`, use V1 source files, remove legacy inspector subspecs
  - Simplify `hermes-utils.rb`: remove `hermes_v1_enabled()` function, always use `250829098.0.0-stable` branch, always use `.hermesversion` tag file

## Changelog:
[iOS][Removed] - Remove the RCT_HERMES_V1_ENABLED from Cocoapods

  ## Test plan
  - [x] iOS: `bundle exec pod install` — success
  - [x] iOS: `xcodebuild` rn-tester on iPhone 16 Pro simulator — BUILD SUCCEEDED

Differential Revision: D104247277

Reviewed By: cortinico
…ebook#56737)

Summary:
Pull Request resolved: facebook#56737

  - Remove `sdks/.hermesv1version` from `package.json` files array — only `.hermesversion` remains
  - Simplify `hermes-utils.js`: remove `readHermesV1Tag()`, `HERMES_V1_TAG_FILE_PATH`; `setHermesTag()` takes single argument
  - Simplify `scripts/releases/utils/hermes-utils.js`: single version in `getLatestHermesNightlyVersion()` and `updateHermesRuntimeDependenciesVersions()`
  - Simplify `bump-hermes-version.js`: remove `--v1-tag` and `--hermes-v1-version` CLI options
  - Simplify `release-hermes-for-branch-cut.js`: remove legacy branch/workflow/PR logic, keep only single Hermes branch

## Changelog:
[General][Changed] - Simplified build JS Hermes infrastructure for the Release

  ## Test plan
  - [x] JS tests: `yarn jest --no-watchman hermes-utils-test.js` — 5/5 tests pass

Differential Revision: D104380961
Summary:
Pull Request resolved: facebook#56739

## Summary
  - Simplify `publish-release.yml`: remove `HERMES_V1_VERSION` output, read only `HERMES_VERSION_NAME`
  - Simplify `create-draft-release.yml`: remove `hermesV1Version` input
  - Simplify `createDraftRelease.js`: remove `hermesV1Version` parameter and "Hermes V1 dSYMS" section from release notes
  - Simplify `prebuild-ios-core.yml`: read `HERMES_VERSION_NAME` instead of `HERMES_V1_VERSION_NAME`
  - Delete unused `prepare-hermes-v1-app` action, `hermes-v1.patch`, and `selectLatestHermesV1Version.js`

## Changelog:
[Internal]

  ## Test plan
  - [x] JS tests: `yarn jest --no-watchman createDraftRelease-test.js` — 9/9 tests pass

Differential Revision: D104381269
@meta-codesync meta-codesync Bot changed the title Remove dual Hermes version outputs from CI workflows Remove dual Hermes version outputs from CI workflows (#56739) May 8, 2026
@cipolleschi cipolleschi force-pushed the export-D104381269 branch from a605b2a to e14a0ab Compare May 8, 2026 17:06
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. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant