Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eas-cli] fix expo-updates fingerprinting during update #2231

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

wschurman
Copy link
Member

Why

Successor to #2225 (previous attempt at this).

This PR calls in to the new expo-updates CLI command to generate the fingerprint: expo/expo#27119. This ensures that the version of the fingerprint package being used is consistent between builds and this eas update command when calculating the runtime version.

How

In test bare app in expo/expo repo with all the modules installed locally (checked out to expo/expo#27119), run neas update -p ios and ensure the fingerprint matches.

Test Plan

Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

@wschurman wschurman marked this pull request as ready for review February 15, 2024 20:30
@wschurman wschurman requested review from Kudo and quinlanj and removed request for sjchmiela, khamilowicz, EvanBacon and szdziedzic February 15, 2024 20:30
Copy link

github-actions bot commented Feb 15, 2024

Size Change: +1.8 kB (0%)

Total Size: 51.3 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 51.3 MB +1.8 kB (0%)

compressed-size-action

Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (efd9213) 54.09% compared to head (8388d85) 54.04%.
Report is 1 commits behind head on main.

❗ Current head 8388d85 differs from pull request most recent head 4c404ce. Consider uploading reports for the commit 4c404ce to get more accurate results

Files Patch % Lines
packages/eas-cli/src/utils/expoUpdatesCli.ts 23.81% 16 Missing ⚠️
packages/eas-cli/src/project/publish.ts 52.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2231      +/-   ##
==========================================
- Coverage   54.09%   54.04%   -0.04%     
==========================================
  Files         518      519       +1     
  Lines       18890    18922      +32     
  Branches     3784     3789       +5     
==========================================
+ Hits        10216    10225       +9     
- Misses       8653     8676      +23     
  Partials       21       21              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

packages/eas-cli/src/project/publish.ts Outdated Show resolved Hide resolved
@wschurman wschurman force-pushed the @wschurman/fix-fingerprint branch from 8388d85 to 8432cc4 Compare February 16, 2024 22:08
@wschurman
Copy link
Member Author

/changelog-entry new-feature Fix expo-updates fingerprinting during update

@wschurman wschurman merged commit e157473 into main Feb 16, 2024
2 checks passed
@wschurman wschurman deleted the @wschurman/fix-fingerprint branch February 16, 2024 22:09
Copy link

✅ Thank you for adding the changelog entry!

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.

3 participants