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

fix: Disable SES on iOS #8057

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Conversation

sethkfman
Copy link
Contributor

Description

This PR disables SES due to crashing issues associated with enabling SES.

Related issues

Fixes: #8054

Manual testing steps

  1. Got to optimism
  2. Trigger a transaction and observe crash when hitting confirm

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

Copy link
Contributor

github-actions bot commented Dec 8, 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.

@sethkfman sethkfman changed the title chore: Disable SES fix: Disable SES on iOS Dec 8, 2023
Copy link
Contributor

@chrisleewilcox chrisleewilcox left a comment

Choose a reason for hiding this comment

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

LGTM

…obal.performance (#8046)

## **Description**

Fix recent CI flakey failing unit tests:
`TypeError: Cannot assign to read only property 'performance' of object
'[object global]'`

Failing at:
https://github.com/facebook/react-native/blob/v0.71.14/jest/setup.js#L20-L22
_Nb: https://github.com/facebook/react-native/blob/v0.72.0/jest/setup.js
404 file no longer exists in this future RN ver_

Reconsider current node/jest/RN vers we're using (see
[issue](facebook/react-native#35701) and
[comment](#8046 (comment))
below)

> it broke between node 18.18 and 18.19 - [Jest relies on
descriptor.writable](https://github.com/jestjs/jest/blob/v28.1.3/packages/jest-environment-node/src/index.ts#L88)
but it's not longer returned in the descriptor

Nb: Node 18.19
[changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#2023-11-29-version-18190-hydrogen-lts-targos)

## **Related issues**

Fixes: #8051

## **Manual testing steps**

Run unit tests

## **Screenshots/Recordings**

### **Before**

### **After**

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [x] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (release/7.12.2@f326db7). Click here to learn what that means.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/7.12.2    #8057   +/-   ##
=================================================
  Coverage                  ?   37.38%           
=================================================
  Files                     ?     1052           
  Lines                     ?    28172           
  Branches                  ?     2517           
=================================================
  Hits                      ?    10533           
  Misses                    ?    17040           
  Partials                  ?      599           

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

Copy link

sonarcloud bot commented Dec 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sethkfman sethkfman merged commit d0baa69 into release/7.12.2 Dec 8, 2023
25 checks passed
@sethkfman sethkfman deleted the chore/cherry-pick-ios-disable-ses branch December 8, 2023 22:23
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
@gauthierpetetin gauthierpetetin added release-7.12.0 Issue or pull request that will be included in release 7.12.0 release-7.12.2 and removed release-12.2.2 release-7.12.0 Issue or pull request that will be included in release 7.12.0 labels Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants