-
Notifications
You must be signed in to change notification settings - Fork 5.5k
fix: make account providers wait for Snap platform to be ready #39051
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: make account providers wait for Snap platform to be ready #39051
Conversation
|
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. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
✨ Files requiring CODEOWNER review ✨📜 @MetaMask/policy-reviewers (5 files, +10 -5)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. |
Builds ready [1bf3ea7]
UI Startup Metrics (1294 ± 110 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
@metamaskbot update-policies |
|
Policy update failed. You can review the logs or retry the policy update here |
Builds ready [f38c047]
UI Startup Metrics (1301 ± 123 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
Builds ready [530897e]
UI Startup Metrics (1260 ± 107 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
@SocketSecurity ignore npm/@metamask/[email protected] This is an internal package. |
Builds ready [812f723]
UI Startup Metrics (1341 ± 136 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
@metamaskbot update-policies |
Builds ready [27dafe8]
UI Startup Metrics (1361 ± 138 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [db2397a]
UI Startup Metrics (1366 ± 129 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [db2397a]
UI Startup Metrics (1366 ± 129 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Bumping the
multichain-account-servicepackage.This new version now waits for the Snap platform to be ready before starting any Snap requests. This way we won't be facing early
TimeoutErrorwhich was sometimes happening during onboarding.Changelog
CHANGELOG entry: Wait for the Snap platform to be ready before processing any non-EVM account operations (avoiding hitting
TimeoutErrorduring onboarding with Snaps)Related issues
Fixes: #39119, #38429
Manual testing steps
Consolewith the'TimeoutError'string filterTimeoutErrorbeing logged (Unable to discover accounts)Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Aligns the multichain account flow with Snap platform readiness and updates policies.
@metamask/multichain-account-serviceto^5.0.0(brings newersnaps-*deps,lodashusage); updateyarn.lockmultichain-account-service-messengerto subscribe toSnapController:stateChangeand allowSnapController:getState/handleRequest; removeErrorReportingService:captureExceptionlodashunder@metamask/multichain-account-serviceWritten by Cursor Bugbot for commit db2397a. This will update automatically on new commits. Configure here.