Skip to content

test: validate TRAM-3475 ramps-controller preview build#29529

Draft
saustrie-consensys wants to merge 1 commit intosaustrie-consensys/TRAM-3475-circuit-breaker-open-errorfrom
saustrie-consensys/TRAM-3475-mobile-preview-consumer
Draft

test: validate TRAM-3475 ramps-controller preview build#29529
saustrie-consensys wants to merge 1 commit intosaustrie-consensys/TRAM-3475-circuit-breaker-open-errorfrom
saustrie-consensys/TRAM-3475-mobile-preview-consumer

Conversation

@saustrie-consensys
Copy link
Copy Markdown
Contributor

Summary

  • consume the published @metamask/ramps-controller preview build from MetaMask/core#8596
  • keep this isolated on top of the existing mobile companion branch so we can validate the packaged artifact without muddying the feature PR
  • align @metamask/messenger onto ^1.2.0 via dependencies and resolutions so the preview package does not introduce a second nominally-incompatible Messenger type into the mobile tree

Why

Amitab asked us to publish a preview of the core PR and validate it from mobile. When I first switched mobile to @metamask-previews/[email protected], yarn lint:tsc failed because mobile resolved two different @metamask/messenger versions (1.1.1 and 1.2.0). Since Messenger has a private field, TypeScript treats those versions as incompatible nominal types. This PR shows the minimal consumer-side alignment needed for the previewed ramps package to typecheck cleanly.

Validation

  • yarn install
  • yarn lint:tsc
  • ./node_modules/.bin/jest --runTestsByPath app/components/UI/Ramp/utils/parseUserFacingError.test.ts app/components/UI/Ramp/hooks/useRampsProviders.test.ts app/components/UI/Ramp/hooks/useRampsCountries.test.ts app/components/UI/Ramp/hooks/useRampsTokens.test.ts app/components/UI/Ramp/hooks/useRampsPaymentMethods.test.ts --runInBand

Notes

  • This PR targets saustrie-consensys/TRAM-3475-circuit-breaker-open-error intentionally, so the diff stays focused on the preview-consumer changes only.
  • Local lint:tsc also requires the repo's generated app/util/termsOfUse/termsOfUseContent.ts artifact to exist, which is already present in the main mobile worktree and is generated by scripts/setup.mjs in clean environments.

@github-actions
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.

@metamaskbotv2 metamaskbotv2 Bot added the team-money-movement issues related to Money Movement features label Apr 29, 2026
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 29, 2026

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​metamask/​ramps-controller@​13.2.0-preview-7cef09c77100100100100100

View full report

@saustrie-consensys saustrie-consensys force-pushed the saustrie-consensys/TRAM-3475-mobile-preview-consumer branch from e80355f to 6ba7a5f Compare April 29, 2026 22:17
@saustrie-consensys saustrie-consensys force-pushed the saustrie-consensys/TRAM-3475-circuit-breaker-open-error branch from 1eb7801 to eaf2edb Compare April 29, 2026 22:17
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeAccounts, SmokeConfirmations, SmokeIdentity, SmokeNetworkAbstractions, SmokeNetworkExpansion, SmokeTrade, SmokeWalletPlatform, SmokeCard, SmokePerps, SmokeRamps, 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/ramps-controller. Running all tests.

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

View GitHub Actions results

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

E2E Fixture Validation — Schema is up to date
12 value mismatches detected (expected — fixture represents an existing user).
View details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-XS team-money-movement issues related to Money Movement features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant