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

feat(CI): Bitrise M1 Machine and React Native 0.71.6 compatibility upgrade #6327

Merged

Conversation

sethkfman
Copy link
Contributor

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description

This PR enables M1 machines building on Bitrise and addresses specific issue building on Bitrise with the latest React Native upgrade.

A patch was made to provide the Bitrise idk-bundle path into the ReactNative build.gradle project.

Screenshots/Recordings

NA

Issue

Progresses #???

Checklist

  • [NA] There is a related GitHub issue
  • [NA] Tests are included if applicable
  • [NA] Any added code is fully documented

blackdevelopa and others added 30 commits April 28, 2023 13:44
* check gas is recalculate on confirm screen

* reset the value of gas before estimating

* update snapshot

* init engine for failing keyringcontroller

* test init

* mock transactioncontroller

* update test

* rebased to main

* revert test file name to index

* fix failing test
* Edit account name view

* addressed review

* navigate to edit account name

* edit header style

* E2e appium/715 edit account name view (#6303)

* Fix flaky test

* Solve Browserstack errors

* Added Gesture.waitAndTap method AddContact and Contacts

---------

Co-authored-by: SamuelSalas <[email protected]>
The lint warning about a test title being repeated has been fixed. The
two tests were very similar; the titles have been updated to explain
how they are different.

---------

Co-authored-by: legobeat <[email protected]>
Co-authored-by: LeoTM <[email protected]>
@sethkfman sethkfman requested a review from a team as a code owner May 3, 2023 22:08
@github-actions
Copy link
Contributor

github-actions bot commented May 3, 2023

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.

Copy link
Contributor

@Cal-L Cal-L left a comment

Choose a reason for hiding this comment

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

Changes LGTM. Some checks are failing though on yarn setup. Try pulling from latest?

blackdevelopa and others added 17 commits May 4, 2023 14:41
…arate component (#6266)

* initial commit

* draft

* cleaned up

* lint

* include isBalanceZero for fromaddress

* fix snapshot

* resolved feedback

* renaming component names

* Update app/components/Views/SendFlow/AddressFrom/AddressFrom.test.tsx

Co-authored-by: Ariella Vu <[email protected]>

* Update app/components/Views/SendFlow/SendTo/index.js

Co-authored-by: Ariella Vu <[email protected]>

* removed redudant snapshot

* rebased to main

* snapshot update

* removed podfile change

---------

Co-authored-by: Ariella Vu <[email protected]>
* 6.5.0

* fix(on-ramp): Add thunk to handle buy crypto deeplink (#6248)

* [FIX] Detox: wallet-tests.spec.js (#6250)

* fix wallet-tests.spec.js

* add collectible json

* updated collectible data for bitrise wallet

* fix: invalid title error (#6280)

* Update Network Badge to use Badge component of component library (#6254)

* Show unsupported token for network when watching tokens (#6258)

* [FIX] - Upgrading with deprecated test network selected (#6269)

* add migrations to handle deprecated networks

* use enums, const instead of strings

---------

Co-authored-by: CW <[email protected]>

* [FIX]  Patch assets-controller to not use BigInt (#6305)

* Patch assets-controller to not use BigInt

* Update to use public link

Co-authored-by: sethkfman <[email protected]>

* Update to spell out React Native

Co-authored-by: legobeat <[email protected]>

* Update to spell out React Native

Co-authored-by: legobeat <[email protected]>

---------

Co-authored-by: sethkfman <[email protected]>
Co-authored-by: legobeat <[email protected]>

* build 1104 (#6310)

* update changelog

---------

Co-authored-by: metamaskbot <[email protected]>
Co-authored-by: Pedro Pablo Aste Kompen <[email protected]>
Co-authored-by: Chris Wilcox <[email protected]>
Co-authored-by: abretonc7s <[email protected]>
Co-authored-by: tommasini <[email protected]>
Co-authored-by: Cal Leung <[email protected]>
Co-authored-by: sethkfman <[email protected]>
Co-authored-by: legobeat <[email protected]>
Co-authored-by: sethkfman <[email protected]>
* New Crowdin translations by Github Action

* PR update

* Revert "PR update"

This reverts commit 39e533a.

---------

Co-authored-by: metamaskbot <[email protected]>
Co-authored-by: sethkfman <[email protected]>
* Modify actions bar function and small tidy ups

* Commit working Smoke tests

* Small changes to tests

* Small fixes

* hide Keyboard

* Fiz sendtoken browserStack

* fix sendToken and CreateWalletAccount

* add smoke tag to lockreset

* wait for no thanks button to exists

* increase wait time for term of use modal.

* fix wallet displayed step

* add time interval to waitFor on no thanks button

* add time interval for waitForDisplayed

* Add  check for terms of use modal loading delay

* Update common-steps.js

Alter CreateWalletTest to also wait for terms of use text

* Add double tap

* update tags

---------

Co-authored-by: Curtis <[email protected]>
)

* add tags to test describe block.

* add regression tags to describe block

* create methods for Smoke & Regression

* update bitrise.yml

* fix lint

* update changelog
* sturdier check

* apply feedback

* apply feedback

* unit test

* check phishing and deeplinks

* feedback

* resolve

* url check

* more tests

---------

Co-authored-by: Curtis David <[email protected]>
* try/catch error generating reports

* clean up for reports

* Update SendToken.feature

* delete feature, was renamed
* Send ETH with Ganache network

* Move Ganache initialization to common steps

* Remove unneeded async

* Update wdio/features/Confirmations/SendEthEOA.feature

Co-authored-by: Curtis David <[email protected]>

* Add extra step for closing new modal

* Add tag @confirmations

---------

Co-authored-by: Curtis David <[email protected]>
@socket-security
Copy link

socket-security bot commented May 5, 2023

New dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Ignoring: @types/[email protected], @types/[email protected]

Pull request alert summary
Issue Status
Critical CVE ✅ 0 issues
CVE ✅ 0 issues
Mild CVE ✅ 0 issues
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script confusion ✅ 0 issues
Bin script shell injection ✅ 0 issues
Filesystem access ✅ 0 issues
Network access ✅ 0 issues
Shell access ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
GitHub dependency ✅ 0 issues
No bug tracker ✅ 0 issues
No contributors or author data ✅ 0 issues
No README ✅ 0 issues
Deprecated ✅ 0 issues
New author ✅ 0 issues
Unstable ownership ✅ 0 issues
Non-existent author ✅ 0 issues
Unmaintained ✅ 0 issues
Unpublished package ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues
AI detected security risk ✅ 0 issues
AI warning ✅ 0 issues

📊 Modified Dependency Overview:

➕ Added Package Capability Access +/- Transitive Count Publisher
@types/[email protected] None +0 types
@types/[email protected] None +0 types
[email protected] None +0 acemarke

🚮 Removed packages: [email protected]

@sethkfman
Copy link
Contributor Author

@SocketSecurity ignore @types/[email protected]
@SocketSecurity ignore @types/[email protected]

@sethkfman sethkfman merged commit 6eb1aa2 into upgrade/react-native/0.71.6-hermes May 5, 2023
@sethkfman sethkfman deleted the upgrade/RN-bitrise-machines branch May 5, 2023 21:26
@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.