Skip to content

fix(ci): use mapped upstream version for Hermes version marker#2933

Merged
Saadnajmi merged 1 commit intomicrosoft:mainfrom
Saadnajmi:fix/hermes-version-marker
Apr 18, 2026
Merged

fix(ci): use mapped upstream version for Hermes version marker#2933
Saadnajmi merged 1 commit intomicrosoft:mainfrom
Saadnajmi:fix/hermes-version-marker

Conversation

@Saadnajmi
Copy link
Copy Markdown
Collaborator

Summary

  • The Hermes version marker was using package.json version (e.g. 0.81.7) but prepareHermesArtifactsAsync resolves via peerDependencies (e.g. 0.81.6).
  • The mismatch caused the setup step to delete our prebuilt Hermes artifacts and re-download from Maven, which lacks macOS slices in the universal xcframework — breaking the macOS SPM build.
  • Now uses the same version resolution logic as prepareHermesArtifactsAsync.

Test plan

  • Verify SPM macOS build passes in CI (the version marker should match and the prebuilt Hermes artifact is preserved)

🤖 Generated with Claude Code

@Saadnajmi Saadnajmi requested a review from a team as a code owner April 17, 2026 23:14
@Saadnajmi Saadnajmi force-pushed the fix/hermes-version-marker branch 2 times, most recently from 6d0a1a1 to 98179d4 Compare April 17, 2026 23:20
The version marker was using package.json version (e.g. 0.81.7) but
prepareHermesArtifactsAsync resolves via peerDependencies (e.g. 0.81.6).
The mismatch caused the setup step to delete our prebuilt Hermes
artifacts and re-download from Maven, which lacks macOS slices in the
universal xcframework.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Saadnajmi Saadnajmi force-pushed the fix/hermes-version-marker branch from 98179d4 to 983d546 Compare April 17, 2026 23:27
@Saadnajmi Saadnajmi merged commit 2135a5c into microsoft:main Apr 18, 2026
28 checks passed
@Saadnajmi Saadnajmi deleted the fix/hermes-version-marker branch April 18, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants