Skip to content

Conversation

tuna1207
Copy link
Member

@tuna1207 tuna1207 commented Oct 15, 2025

Description

Use dev env for profile sync controllers in dev build
Previously all controller default to use production env (prod api) for all build, but for subscription we need to match env since subscription depend on authentication token

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

@metamaskbot metamaskbot added the team-web3auth Web3Auth team label Oct 15, 2025
@metamaskbot
Copy link
Collaborator

✨ Files requiring CODEOWNER review ✨

🔑 @MetaMask/accounts-engineers (2 files, +32 -1)
  • 📁 app/
    • 📁 scripts/
      • 📁 controller-init/
        • 📁 identity/
          • 📄 authentication-controller-init.ts +17 -1
          • 📄 user-storage-controller-init.ts +15 -0

*
* @returns true if the build is a Development or Test build, false otherwise
*/
function isDevOrTestBuild() {
Copy link
Contributor

Choose a reason for hiding this comment

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

If we only intend to check DEVELOPMENT or TESTING, we can use this shared utils, isProduction

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants