Skip to content

Fix iOS prebuild cache reuse (#59931) - #59931

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
cipolleschi:export-D131180216
Nov 11, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
cipolleschi:export-D131180216

Conversation

@cipolleschi

@cipolleschi cipolleschi commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Fix iOS prebuild cache reuse within the existing slice and composition jobs. Restore and save identical paths, and save the original cache-primary-key rather than hashing the post-build workspace. Correct the dependency dSYM cache path.

Hash native sources, Codegen and dependency inputs before build setup, without invalidating native caches for ordinary library JavaScript changes. Resolve Hermes before cache lookup and include its exact version in the key. No new jobs, workflows or cross-job outputs are needed.

Keep version-stamped builds out of the unstamped CI caches and bump the affected namespaces. Android jobs are unchanged.

Changelog: [Internal]

Differential Revision: D131180216

@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 Nov 11, 2026
@meta-codesync

meta-codesync Bot commented Nov 11, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot changed the title Fix iOS prebuild cache reuse Fix iOS prebuild cache reuse (#59931) Nov 11, 2026
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Nov 11, 2026
Summary:

Fix iOS prebuild cache reuse within the existing slice and composition jobs. Restore and save identical paths, and save the original cache-primary-key rather than hashing the post-build workspace. Correct the dependency dSYM cache path.

Hash native sources, Codegen and dependency inputs before build setup, without invalidating native caches for ordinary library JavaScript changes. Resolve Hermes before cache lookup and include its exact version in the key. No new jobs, workflows or cross-job outputs are needed.

Keep version-stamped builds out of the unstamped CI caches and bump the affected namespaces. Android jobs are unchanged.

Changelog: [Internal]

Differential Revision: D131180216
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Nov 11, 2026
Summary:

Fix iOS prebuild cache reuse within the existing slice and composition jobs. Restore and save identical paths, and save the original cache-primary-key rather than hashing the post-build workspace. Correct the dependency dSYM cache path.

Hash native sources, Codegen and dependency inputs before build setup, without invalidating native caches for ordinary library JavaScript changes. Resolve Hermes before cache lookup and include its exact version in the key. No new jobs, workflows or cross-job outputs are needed.

Keep version-stamped builds out of the unstamped CI caches and bump the affected namespaces. Android jobs are unchanged.

Changelog: [Internal]

Differential Revision: D131180216
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Nov 11, 2026
Summary:

Fix iOS prebuild cache reuse within the existing slice and composition jobs. Restore and save identical paths, and save the original cache-primary-key rather than hashing the post-build workspace. Correct the dependency dSYM cache path.

Hash native sources, Codegen and dependency inputs before build setup, without invalidating native caches for ordinary library JavaScript changes. Resolve Hermes before cache lookup and include its exact version in the key. No new jobs, workflows or cross-job outputs are needed.

Keep version-stamped builds out of the unstamped CI caches and bump the affected namespaces. Android jobs are unchanged.

Changelog: [Internal]

Differential Revision: D131180216
Summary:

Fix iOS prebuild cache reuse within the existing slice and composition jobs. Restore and save identical paths, and save the original cache-primary-key rather than hashing the post-build workspace. Correct the dependency dSYM cache path.

Hash native sources, Codegen and dependency inputs before build setup, without invalidating native caches for ordinary library JavaScript changes. Resolve Hermes before cache lookup and include its exact version in the key. No new jobs, workflows or cross-job outputs are needed.

Keep version-stamped builds out of the unstamped CI caches and bump the affected namespaces. Android jobs are unchanged.

Changelog: [Internal]

Differential Revision: D131180216
@meta-codesync
meta-codesync Bot merged commit 6125a5d into react:main Nov 11, 2026
53 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in 6125a5d

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 Nov 11, 2026
usama-liaqat pushed a commit to usama-liaqat/react-native that referenced this pull request Nov 14, 2026
Summary:

Fix iOS prebuild cache reuse within the existing slice and composition jobs. Restore and save identical paths, and save the original cache-primary-key rather than hashing the post-build workspace. Correct the dependency dSYM cache path.

Hash native sources, Codegen and dependency inputs before build setup, without invalidating native caches for ordinary library JavaScript changes. Resolve Hermes before cache lookup and include its exact version in the key. No new jobs, workflows or cross-job outputs are needed.

Keep version-stamped builds out of the unstamped CI caches and bump the affected namespaces. Android jobs are unchanged.

Changelog: [Internal]

Differential Revision: D131180216

Pull Request resolved: react#59931
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants