Skip to content

feat(2404): change mv3 as main build besides firefox #24746

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

Merged
merged 5 commits into from
May 31, 2024
Merged

Conversation

DDDDDanica
Copy link
Contributor

@DDDDDanica DDDDDanica commented May 23, 2024

Description

Make MV3 build as default one besides firefox related pipelines

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2404

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

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.

@DDDDDanica DDDDDanica added the team-extension-platform Extension Platform team label May 23, 2024
@DDDDDanica DDDDDanica self-assigned this May 23, 2024
@DDDDDanica DDDDDanica requested review from kumavis and a team as code owners May 23, 2024 14:57
Copy link
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.

@DDDDDanica DDDDDanica force-pushed the feature/2404 branch 10 times, most recently from cb8da54 to 4adbfc4 Compare May 23, 2024 23:50
@DDDDDanica
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@metamaskbot metamaskbot requested review from a team as code owners May 24, 2024 00:00
@DDDDDanica
Copy link
Contributor Author

@metamaskbot update-policies

@DDDDDanica
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@metamaskbot
Copy link
Collaborator

No policy changes

@DDDDDanica
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

No policy changes

@DDDDDanica DDDDDanica force-pushed the feature/2404 branch 2 times, most recently from ee4fb09 to 94c2d25 Compare May 30, 2024 11:27
@metamaskbot
Copy link
Collaborator

Builds ready [0916395]
Page Load Metrics (47 ± 3 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint69998184
domContentLoaded8241032
load42684763
domInteractive8241032

@DDDDDanica DDDDDanica changed the title WIP: feat(2404): change mv3 as main build besides firefox feat(2404): change mv3 as main build besides firefox May 30, 2024
danjm
danjm previously approved these changes May 30, 2024
Copy link
Contributor

@danjm danjm left a comment

Choose a reason for hiding this comment

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

LGTM

@metamaskbot
Copy link
Collaborator

Builds ready [0916395]
Page Load Metrics (47 ± 3 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint69998184
domContentLoaded8241032
load42684763
domInteractive8241032

Comment on lines 142 to 144
shouldIncludeMV3:
process.env.ENABLE_MV3 === 'true' ||
process.env.ENABLE_MV3 === undefined,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:

Suggested change
shouldIncludeMV3:
process.env.ENABLE_MV3 === 'true' ||
process.env.ENABLE_MV3 === undefined,
shouldIncludeMV3: IS_MV3_ENABLED,

builds.yml Outdated
@@ -192,7 +192,7 @@ env:
- SKIP_BACKGROUND_INITIALIZATION: false

# TODO(ritave): Move ManifestV3 into a feature?
Copy link
Contributor

Choose a reason for hiding this comment

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

safe to remove the todo here? I doubt we'll ever move it to a "feature".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch ! removed

@metamaskbot
Copy link
Collaborator

Builds ready [2197e3f]
Page Load Metrics (347 ± 294 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7015488178
domContentLoaded8221132
load422073347612294
domInteractive8221132

@metamaskbot
Copy link
Collaborator

Builds ready [2197e3f]
Page Load Metrics (347 ± 294 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7015488178
domContentLoaded8221132
load422073347612294
domInteractive8221132

danjm
danjm previously approved these changes May 30, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [60071ab]
Page Load Metrics (109 ± 129 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint70918163
domContentLoaded9161021
load421278109268129
domInteractive9161021
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@danjm
Copy link
Contributor

danjm commented May 31, 2024

I tested the chrome and firefox main and flask builds. And MMI chrome builds (MMI only publishes to chrome). Looks good!

Copy link
Contributor

@davidmurdoch davidmurdoch left a comment

Choose a reason for hiding this comment

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

Looks pretty good! Though I think there will be some follow up work for bits we may have missed, as there are a lot of subtle changes in here.

@danjm danjm merged commit 6168b3a into develop May 31, 2024
77 checks passed
@danjm danjm deleted the feature/2404 branch May 31, 2024 02:03
@github-actions github-actions bot locked and limited conversation to collaborators May 31, 2024
@metamaskbot metamaskbot added release-11.18.0 release-11.16.6 Issue or pull request that will be included in release 11.16.6 and removed release-11.18.0 labels May 31, 2024
@metamaskbot
Copy link
Collaborator

Missing release label release-11.16.6 on PR. Adding release label release-11.16.6 on PR and removing other release labels(release-11.18.0), as PR was cherry-picked in branch 11.16.6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.16.6 Issue or pull request that will be included in release 11.16.6 team-extension-platform Extension Platform team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants