Skip to content

chore: bump assets controller v8.3.1#31063

Merged
salimtb merged 2 commits into
mainfrom
chore/bump-assets-controller-v8-3-1
Jun 4, 2026
Merged

chore: bump assets controller v8.3.1#31063
salimtb merged 2 commits into
mainfrom
chore/bump-assets-controller-v8-3-1

Conversation

@salimtb

@salimtb salimtb commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description

Changelog

CHANGELOG entry: chore: bump assets controller v8.3.1

Related issues

Fixes:

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

After

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

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.

Note

Medium Risk
Gating asset unify polling on keyring lock affects wallet/background behavior when locked; dependency bump may include upstream controller changes.

Overview
Bumps @metamask/assets-controller to ^8.3.1 (lockfile also pulls @metamask/assets-controllers 108.4.0).

Mobile assetsControllerInit now treats the unified assets path as disabled when the keyring is locked: the isEnabled callback returns false if selectIsUnlocked is false, before evaluating the assets-unify remote feature flag. When unlocked, behavior is unchanged (flag + version check).

Unit tests mock KeyringController.isUnlocked in default store state and add cases for locked vs unlocked isEnabled outcomes.

Reviewed by Cursor Bugbot for commit 1b8046b. Bugbot is set up for automated code reviews on this repo. Configure here.

salimtb added 2 commits June 4, 2026 11:36
Add a lock-state guard to the AssetsController isEnabled() callback so
the controller is disabled whenever the keyring is locked, regardless
of the remote feature flag value. This prevents unnecessary network
activity and data hydration while the wallet is locked.

Also adds unit tests covering the locked and unlocked paths, and
updates the beforeEach mock state to include KeyringController so
existing isEnabled tests continue to run the full flag-check path.
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

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.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeAccounts, SmokeConfirmations, SmokeIdentity, SmokeNetworkAbstractions, SmokeNetworkExpansion, SmokeSwap, SmokeStake, SmokeWalletPlatform, SmokeMoney, SmokePerps, SmokeMultiChainAPI, SmokePredictions, SmokeSeedlessOnboarding, SmokeBrowser, SmokeSnaps
  • Selected Performance tags: @PerformanceAccountList, @PerformanceOnboarding, @PerformanceLogin, @PerformanceSwaps, @PerformanceLaunch, @PerformanceAssetLoading, @PerformancePredict, @PerformancePreps
  • Risk Level: high
  • AI Confidence: 100%
click to see 🤖 AI reasoning details

E2E Test Selection:
Hard rule (controller-version-update): @MetaMask controller package version updated in package.json: @metamask/assets-controller. Running all tests.

Performance Test Selection:
Hard rule (controller-version-update): @MetaMask controller package version updated in package.json: @metamask/assets-controller. Running all tests.

View GitHub Actions results

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​metamask/​assets-controller@​8.2.0 ⏵ 8.3.176 +710080 +198 +1100
Updatednpm/​@​metamask/​assets-controllers@​108.3.0 ⏵ 108.4.097 +2510091 +198100

View full report

@salimtb salimtb marked this pull request as ready for review June 4, 2026 10:19
@github-actions github-actions Bot added the risk:high AI analysis: high risk label Jun 4, 2026
@salimtb salimtb enabled auto-merge June 4, 2026 10:23
@salimtb salimtb removed the risk:high AI analysis: high risk label Jun 4, 2026
@salimtb salimtb disabled auto-merge June 4, 2026 10:24
@salimtb salimtb enabled auto-merge June 4, 2026 10:24
@salimtb salimtb added this pull request to the merge queue Jun 4, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 4, 2026
@salimtb salimtb added this pull request to the merge queue Jun 4, 2026
Merged via the queue into main with commit 7c17b33 Jun 4, 2026
513 of 541 checks passed
@salimtb salimtb deleted the chore/bump-assets-controller-v8-3-1 branch June 4, 2026 11:24
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 4, 2026
@metamaskbotv2 metamaskbotv2 Bot added the release-7.81.0 Issue or pull request that will be included in release 7.81.0 label Jun 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.81.0 Issue or pull request that will be included in release 7.81.0 size-S team-assets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants