Open Prithpal-Sooriya opened 22 hours ago
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.
❌❌❌ pr_smoke_e2e_pipeline
failed on Bitrise! ❌❌❌
Commit hash: 4540de35edfab58060543a38312b2e211121c0e0 Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/fa2865f3-b5ee-4385-9ece-7bc947326d7d
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipeline
on Bitrise by removing and re-applying theRun Smoke E2E
label on the pull request[!TIP]
- Check the documentation if you have any doubts on how to understand the failure on bitrise
@Prithpal-Sooriya can you show manual confirmation this has fixed the issue?
✅✅✅ pr_smoke_e2e_pipeline
passed on Bitrise! ✅✅✅
Commit hash: 344002fdbed0f0f949b49257cc0c181735fa0d3c Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/27765754-fa23-4f5a-9405-4be22391be53
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipeline
on Bitrise by removing and re-applying theRun Smoke E2E
label on the pull request
@sethkfman I've attached a recording for a before and after the changes.
I've also sneaked in some other changes to ensure notification hooks are not called when the feature is disabled. If this is too many changes, I'm happy to make them separate PRs.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
66.7% Coverage on New Code
0.0% Duplication on New Code
Description
The selector is trying to access some engine state that is removed at build time through code-fences. This fix ensures that the selectors are using the engine state or default to the controllers default state.
Long term - we need to investigate and ensure that the UI is not calling the selectors.
Related issues
Fixes: https://github.com/MetaMask/metamask-mobile/issues/11909
Manual testing steps
Screenshots/Recordings
Before / After Recording https://www.loom.com/share/badc4b4cd3b0446486497973dcf337f6?sid=33bcfe23-c495-41bf-89f5-e57b4b72e3d2
I was not able to replicate the controller state being undefined/missing, so forced it to be undefined when testing.
Pre-merge author checklist
Pre-merge reviewer checklist