fix(fingerprint): exclude JS-only changes from EAS fingerprint#30332
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
4e956d2 to
d2e09dd
Compare
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: The changes:
This is a pure build infrastructure optimization with zero impact on:
No E2E tests need to run for this change. The change cannot break any user-facing functionality or test flows. Performance Test Selection: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30332 +/- ##
=======================================
Coverage 82.73% 82.74%
=======================================
Files 5576 5576
Lines 143554 143562 +8
Branches 33190 33193 +3
=======================================
+ Hits 118774 118785 +11
+ Misses 16874 16868 -6
- Partials 7906 7909 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Description
The EAS fingerprint was being invalidated by JS-only changes (e.g.
@metamask/*-controllerversion bumps,package.jsonscripts/versionedits, and JS-only yarn patches), forcing unnecessary native rebuilds and blocking OTA updates.This change makes the fingerprint reflect only native-relevant inputs:
yarn expo-modules-autolinking resolvefor iOS and Android), with a safe fallback to hashing everything if resolution fails.fileHookTransformthat filterspackage.jsondown to thedependencies/devDependenciesof native packages (plusexpoautolinking overrides), and excludes.yarn/patchesfor JS-only packages..yarn/patchesextraSourceand the now-redundant.fingerprintignore, since patch filtering is handled in the transform.Note: the transform buffers
package.jsonacross streamed chunks before parsing, sincefileHookTransformis invoked per-chunk.Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps