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

chore: Stop suppressing pod install failures #12485

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Nov 28, 2024

Description

Pod install failures were suppressed originally to make cross-platform development easier, as they would fail on Windows and Linux (where you would presumably be developing with Android which does not require this step). However, since the introduction of the new setup script, this step will not run on non-macOS machines by default so this error suppression is no longer needed.

This will make install errors easier to discover, saving developer time.

Related issues

N/A

Manual testing steps

To test that there is no regression, simply run yarn setup.

I'm not entirely sure how to induce a pod install error. But if you're in a state where pod install fails, then yarn setup should now fail as well, where previously it would succeed.

I simulated a failure by updating pod:install to say bundle exec po install (i.e. delete the d from pod so that it's an unrecognized command). This failure showed on the CLI as expected on this branch. On main it silently failed.

Screenshots/Recordings

N/A

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Gudahtt Gudahtt force-pushed the stop-suppressing-pod-install-failures branch from 205def9 to eecd3d3 Compare November 28, 2024 21:38
@Gudahtt Gudahtt added No E2E Smoke Needed If the PR does not need E2E smoke test run No QA Needed Apply this label when your PR does not need any QA effort. labels Nov 28, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.04%. Comparing base (22a4989) to head (c2be77a).
Report is 70 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12485      +/-   ##
==========================================
+ Coverage   56.41%   57.04%   +0.63%     
==========================================
  Files        1797     1817      +20     
  Lines       40586    40875     +289     
  Branches     5097     5166      +69     
==========================================
+ Hits        22896    23318     +422     
+ Misses      16134    15974     -160     
- Partials     1556     1583      +27     

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

@Gudahtt Gudahtt force-pushed the stop-suppressing-pod-install-failures branch from c2be77a to f5589dd Compare December 5, 2024 23:46
@Gudahtt
Copy link
Member Author

Gudahtt commented Dec 5, 2024

Depends upon #12574

Pod install failures were suppressed originally to make cross-platform
development easier, as they would fail on Windows and Linux (where you
would presumably be developing with Android which does not require this
step). However, since the introduction of the new setup script, this
step will not run on non-macOS machines by default so this error
suppression is no longer needed.

This will make install errors easier to discover, saving developer
time.
@Gudahtt Gudahtt force-pushed the stop-suppressing-pod-install-failures branch from f5589dd to be8f618 Compare December 6, 2024 19:00
Copy link

sonarcloud bot commented Dec 6, 2024

@Gudahtt Gudahtt marked this pull request as ready for review December 6, 2024 19:52
@Gudahtt Gudahtt requested a review from a team as a code owner December 6, 2024 19:52
@Gudahtt Gudahtt enabled auto-merge December 6, 2024 19:53
@Gudahtt Gudahtt added this pull request to the merge queue Dec 6, 2024
Merged via the queue into main with commit f4f2e15 Dec 6, 2024
36 checks passed
@Gudahtt Gudahtt deleted the stop-suppressing-pod-install-failures branch December 6, 2024 20:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2024
@metamaskbot metamaskbot added the release-7.38.0 Issue or pull request that will be included in release 7.38.0 label Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No E2E Smoke Needed If the PR does not need E2E smoke test run No QA Needed Apply this label when your PR does not need any QA effort. release-7.38.0 Issue or pull request that will be included in release 7.38.0 team-mobile-platform team-wallet-framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants