Repository navigation
[0.89] Backport CI cost reductions - #60264
Merged
Merged
Conversation
Backport prebuild cache reuse, standard macOS runners, selective template app build/test retries, Fantom path filtering, LICENSE exclusions and removal of the unused release-type job from main. Retain the stable CocoaPods/Ruby and standalone SwiftPM configurations. Save CI caches on 0.89-stable pushes and use the PR base branch when selecting the template and pinned Hermes.
cortinico
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Backport the CI cost reductions from
mainto0.89-stableand move the remaining Android app jobs from4-core-ubuntutoubuntu-latest. The stable branch already has the earlier RNTester E2E retry, simulator setup, Apple Silicon and superseded-run cancellation improvements.The remaining differences addressed here are:
0.89-stablemacos-15andmacos-26runners; verify the template executable supports arm64 and select the RNTester simulator for template E2E4-core-ubuntuubuntu-latestdry-runbuild behavior directlyStable-branch adaptations:
0.89-stablepushes so the branch can populate reusable caches. PRs only restore them.github.base_ref || github.ref_nameto select the stable template and pinned Hermes for PRs targeting0.89-stable, as well as branch pushes.Changelog:
[INTERNAL] [CHANGED] - Backport CI cost reductions to 0.89: reuse iOS prebuild caches and template app builds, run app checks on standard macOS and Ubuntu runners, and skip unnecessary Fantom work.
Test Plan:
Passed locally:
yarn test .github/workflow-scripts/__tests__/template-app-ci-state-test.js .github/workflow-scripts/__tests__/maestro-ios-test.js .github/workflow-scripts/__tests__/report-test-results-test.js --runInBand3 suites, 64 tests passed, including partial configuration success, lost results, exhausted retries, cancellation, missing/corrupt state and completed-flow reuse.
Actionlint 1.7.12 passed; only the repository's existing custom Ubuntu runner labels and missing reusable-workflow input descriptions were excluded. Shellcheck was disabled for this workflow validation.
An additional local YAML comparison verified that existing CocoaPods/Ruby and standalone SwiftPM matrices/action inputs are preserved, cache restore/save paths and primary keys match, stamped core builds bypass CI caches, representative platform-only changes skip Fantom while shared/RNTester changes retain it, and template retries retain cancellation and stable-branch selection.
The runner audit checked all 112 tracked CI files and found no remaining large macOS runner or
4-core-ubuntulabels. A YAML comparison confirmed that the four Android workflow changes only affect runner selection.The additional Android runner changes passed:
Hosted native builds and simulator E2E validation are pending the PR's CI checks.