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-json] [ENG-14636] Allow longer submit profile extension chains #2831

Conversation

radoslawkrzemien
Copy link
Contributor

Why

https://linear.app/expo/issue/ENG-14636/allow-longer-profile-extend-chains-in-easjson
Submit profile extension chain limit is smaller than for build profiles so the user has issues when setting up submit and build profiles in the same way

How

Increased the submit profile extension chain to equal that for build profiles - 5 instead of 2.

Test Plan

Added tests for chaining extensions, up to 5 and above, for submit and build profiles

Copy link

linear bot commented Jan 21, 2025

Copy link

Subscribed to pull request

File Patterns Mentions
**/* @szdziedzic, @khamilowicz, @sjchmiela

Generated by CodeMention

Copy link

github-actions bot commented Jan 21, 2025

Size Change: -1.25 kB (0%)

Total Size: 53.4 MB

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

compressed-size-action

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.62%. Comparing base (004caf4) to head (78580b9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2831      +/-   ##
==========================================
+ Coverage   52.59%   52.62%   +0.03%     
==========================================
  Files         584      584              
  Lines       22638    22638              
  Branches     4467     4467              
==========================================
+ Hits        11905    11910       +5     
+ Misses      10699    10694       -5     
  Partials       34       34              

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

Copy link

✅ Thank you for adding the changelog entry!

@radoslawkrzemien radoslawkrzemien merged commit 7d3f4e8 into main Jan 22, 2025
10 checks passed
@radoslawkrzemien radoslawkrzemien deleted the @radoslawkrzemien/ENG-14636_allow_longer_profile_extension_chains branch January 22, 2025 13:23
radoslawkrzemien added a commit to expo/expo that referenced this pull request Jan 22, 2025
# Why


https://linear.app/expo/issue/ENG-14636/allow-longer-profile-extend-chains-in-easjson
expo/eas-cli#2793
A user complained that the max profile extension chain length is
different for build and submit profiles, and for neither the limit is
mentioned in the docs
Companion to: expo/eas-cli#2831

# How

Updated the maximal length of extension chain for submit profile to 5,
which makes it the same as for build profiles.
Updated the docs regarding the max length of the profile extension
chain.

# Test Plan

Tested manually

Build Profile
| Before | After |
| - | - |
| <img width="1104" alt="Screenshot 2025-01-21 at 14 51 35"
src="https://github.com/user-attachments/assets/7a14f4b6-268c-4b39-aea0-7a2b0eff26ce"
/> | <img width="1104" alt="Screenshot 2025-01-21 at 14 50 50"
src="https://github.com/user-attachments/assets/6c784725-2874-4389-ad39-54da0fc399fe"
/> |

Submit Profile
| Before | After |
| - | - |
| <img width="1104" alt="Screenshot 2025-01-21 at 14 51 46"
src="https://github.com/user-attachments/assets/0b03326b-5e35-4bef-b2f7-239285c342b4"
/> | <img width="1104" alt="Screenshot 2025-01-21 at 14 51 16"
src="https://github.com/user-attachments/assets/2c7aa570-1299-40da-aa98-3f57f82f4590"
/> |

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [x] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [x] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
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