Skip to content

Conversation

@legobeat
Copy link
Contributor

@legobeat legobeat commented Apr 23, 2024

Description

#24163 seems to have been introduced a regression resulting in failing MMI-related jobs.

#24163 (comment)

This reverts it.

Open in GitHub Codespaces

Related issues

Manual testing steps

n/a

Screenshots/Recordings

Before

n/a

After

n/a

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.

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

@legobeat legobeat added the team-application-security Application security team label Apr 23, 2024
@legobeat legobeat changed the title Revert "fix: needs to be always true for MMI (#24163)" chore: Revert "fix: needs to be always true for MMI (#24163)" Apr 23, 2024
@legobeat legobeat marked this pull request as ready for review April 23, 2024 00:24
@legobeat legobeat requested a review from a team as a code owner April 23, 2024 00:24
@codecov
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 67.47%. Comparing base (b3c8d32) to head (d53f4e2).

Files Patch % Lines
app/scripts/lib/setupSentry.js 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #24185   +/-   ##
========================================
  Coverage    67.47%   67.47%           
========================================
  Files         1257     1257           
  Lines        49232    49232           
  Branches     12822    12823    +1     
========================================
  Hits         33216    33216           
  Misses       16016    16016           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Collaborator

Builds ready [d53f4e2]
Page Load Metrics (306 ± 347 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint6111983178
domContentLoaded95720147
load492598306722347
domInteractive95720147
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 93 Bytes (0.00%)

@zone-live
Copy link
Contributor

zone-live commented Apr 23, 2024

I don't think this needs to be reverted. Develop has not had any fail in CI because of this, and at the time this PR was merged, the pipeline was up to data with develop and green.

Last two runs in develop:
https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/77524/workflows/2b0e96b2-bb3e-49ce-b1ed-cf944fb6a7d1
https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/77515/workflows/d9a86e46-b934-42d5-8fd3-d9f2fcf3ddfc

cc @legobeat

Copy link
Contributor

@zone-live zone-live left a comment

Choose a reason for hiding this comment

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

The cause for the fails you mention in this PR might be because its not up to date with develop. I'll check 👍🏼

by the time this one was merged, all was green: https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/77481/workflows/528e4a54-b5e3-463a-9373-b12b078e6fb7
Also other PRs open right now against develop don't have any issue with our build

@legobeat
Copy link
Contributor Author

The cause for the fails you mention in this PR might be because its not up to date with develop. I'll check 👍🏼

by the time this one was merged, all was green: https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/77481/workflows/528e4a54-b5e3-463a-9373-b12b078e6fb7 Also other PRs open right now against develop don't have any issue with our build

Example failure; up to date with develop: #23216

@zone-live
Copy link
Contributor

zone-live commented Apr 23, 2024

The cause for the fails you mention in this PR might be because its not up to date with develop. I'll check 👍🏼
by the time this one was merged, all was green: https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/77481/workflows/528e4a54-b5e3-463a-9373-b12b078e6fb7 Also other PRs open right now against develop don't have any issue with our build

Example failure; up to date with develop: #23216

This is happening only to forked repos, how can we make sure they have the last develop up to date? why is it not happening in PRs from the main codebase?
Also if this PR gets reverted it will add back unnecessary code. It's preferable if I just create a PR do add back the variable to builds.yml.

@legobeat it says that the variable is declared in the builds.yml, but CircleCI can't get its value from environment variables. But its there.

A new PR that adds back the variable: #24190

@zone-live
Copy link
Contributor

for visibility here as well: #24192
cc @legobeat

@legobeat
Copy link
Contributor Author

legobeat commented Apr 23, 2024

Superseded by #24192

See also:

@legobeat legobeat closed this Apr 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2024
@HowardBraham HowardBraham deleted the revert-24163 branch January 15, 2026 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

team-application-security Application security team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants