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

test(ci): use ubuntu-current for emulator / macos-14 for simulator #7608

Merged
merged 7 commits into from
Feb 8, 2024

Conversation

mikehardy
Copy link
Collaborator

@mikehardy mikehardy commented Feb 2, 2024

Description

The new public repo actions runner changes where apple silicon with macos-14 is available and ubuntu runners with nested virt are available represent an opportunity for a very large performance gain in our e2e test loads

The e2e test performance for Android is same time on API34 but it does work so we can test max-API, and now without concurrency limits we can add in a minimum API as well (23 is tested and working) as a matrix

The e2e test for iOS is currently hanging on remote message de-registration and troubleshooting is in progress

Release Summary

conventional commits, it's test related so no release will trigger

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

It is made of tests!


Think react-native-firebase is great? Please consider supporting the project with any of the below:

Copy link

vercel bot commented Feb 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 1:25am

the new actions runners for ubuntu have nested virt enabled,
they are way faster than the non-apple-silicon runners,
and the new apple silicon runners do not have nested virt

these ubuntu runners are also not limited by the reduced
concurrency the macos runners have

- AVDs need a lot of disk, put them on /mnt/avd
- AVD cache uses more time than it saves in new runner images
- with unlimited concurrency, run a min-possible + max-possible API skew
the new apple silicon runner should be substantially faster,
additionally we should switch to an iPhone definition that is
included by default in Xcode 15 since we're moving all the way
from macos-12 to macos-14 runner and the Xcode (with its simulator
definitions) is jumping versions
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

Merging #7608 (26dd14a) into main (ff32fd3) will decrease coverage by 0.07%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7608      +/-   ##
============================================
- Coverage     53.29%   53.22%   -0.07%     
  Complexity      742      742              
============================================
  Files           251      251              
  Lines         12426    12426              
  Branches       1938     1938              
============================================
- Hits           6621     6612       -9     
- Misses         5455     5466      +11     
+ Partials        350      348       -2     

should get rid of all the deprecated node warnings
if used in a matrix with more than one expansion entry, the log
name needs the expansion variables or the upload collides and fails
…imulators

This used to work fine with iOS16 through 17.1, but now with 17.2 registerForRemoteNotifications hangs

Since we can't call that, we can't touch any of the getToken type methods, so add 17.2 to list of unsupported
emulators, and skip token-related items for it
Copy link
Collaborator Author

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go, more of an odyssey than hoped

@mikehardy mikehardy merged commit b30eee1 into main Feb 8, 2024
17 of 19 checks passed
@mikehardy mikehardy deleted the @mikehardy/new-action-runner-perf branch February 8, 2024 13:00
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.

1 participant