Skip to content

Conversation

@HowardBraham
Copy link
Contributor

@HowardBraham HowardBraham commented Mar 1, 2025

Description

@davidmurdoch requested this feature here: #30440 (review)

Also adds to the VSCode GitLens settings. If a Cursor user could help with the Cursor settings, that would be much appreciated.

We should discuss:

  • The inclusion of Added storybook check to CI #17092, as I'm undecided about it
  • Whether it's appropriate to automatically execute git config blame.ignoreRevsFile .git-blame-ignore-revs in postinstall. It writes to the local .git/config file in your metamask-extension folder, so it's only changing that one folder.

Command to get commits with over 200 file changes

git log --pretty=format:"%H %s" --shortstat | awk '{if ($1 ~ /^[0-9]+$/) {num = $1 + 0; if (num > 200 && current_hash !~ /Revert/) print num " " current_hash} else current_hash = $0}' | sort -nr

Open in GitHub Codespaces

Related issues

David Murdoch request: #30440 (review)

Ignored PRs

@HowardBraham HowardBraham self-assigned this Mar 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2025

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.

@metamaskbot metamaskbot added the team-tiger-deprecated DEPRECATED: team no longer exists label Mar 1, 2025
@HowardBraham HowardBraham marked this pull request as ready for review March 1, 2025 00:57
"webpack": "tsx ./development/webpack/launch.ts",
"webpack:clearcache": "./development/clear-webpack-cache.js",
"foundryup": "tsx ./test/helpers/foundry/foundryup.ts",
"postinstall": "yarn webpack:clearcache && yarn foundryup",
Copy link
Contributor

Choose a reason for hiding this comment

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

loose opinion: I think gitlens might be fine, but not postinstall for everyone

@metamaskbot
Copy link
Collaborator

Builds ready [552198a]
Page Load Metrics (1479 ± 40 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint54817061443221106
domContentLoaded1369168914607938
load1373170714798240
domInteractive2383382110
backgroundConnect106827157
firstReactRender146327209
getState45313157
initialActions01000
loadScripts985122310826732
setupStore74714147
uiStartup1559191716669144
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@HowardBraham HowardBraham added team-extension-platform Extension Platform team and removed team-tiger-deprecated DEPRECATED: team no longer exists labels Mar 3, 2025
@github-project-automation github-project-automation bot moved this to Needs dev review in PR review queue Mar 3, 2025
Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

This is great! TIL about .git-blame-ignore-revs :D No strong opinions but left one comment

Comment on lines 38 to 40
#17092 Added storybook check to CI @NidhiKJha
#### Let's discuss if this one should be removed from the list
c5368c152b544433a2087597f0cb36b33fbd9c6a
Copy link
Contributor

@georgewrmarshall georgewrmarshall Mar 4, 2025

Choose a reason for hiding this comment

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

non-blocking: Not a strong opinion, but since this commit adds functionality for testing code changes against Storybook stories and is not purely aesthetic, we may want to remove it from the .git-blame-ignore-revs file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay good, that's why I wrote "Let's discuss if this one should be removed from the list"

Removed now!

@metamaskbot
Copy link
Collaborator

Builds ready [559c57b]
Page Load Metrics (1730 ± 69 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14962129172814570
domContentLoaded14862101170714168
load14982132173014369
domInteractive268037147
backgroundConnect117024178
firstReactRender1573322210
getState559242211
initialActions0442105
loadScripts11031621127512158
setupStore86315168
uiStartup16672393196615374
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@HowardBraham HowardBraham enabled auto-merge March 4, 2025 21:07
Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

LGTM! Also tested in Cursor see slack thread

@HowardBraham HowardBraham force-pushed the git-blame-ignore-revs branch from 559c57b to b990a29 Compare March 5, 2025 08:49
@metamaskbot
Copy link
Collaborator

Builds ready [b990a29]
Page Load Metrics (1835 ± 123 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint32224251577573275
domContentLoaded147124121805256123
load147924261835256123
domInteractive26110472311
backgroundConnect1070342010
firstReactRender1477372211
getState56918199
initialActions01000
loadScripts111018101367211101
setupStore76918178
uiStartup165927562085294141
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

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.

i like it!

we can always remove these commits from the ignore file if someone complains. YOLO!

@HowardBraham HowardBraham added this pull request to the merge queue Mar 5, 2025
@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Mar 5, 2025
Merged via the queue into main with commit 3c6d268 Mar 5, 2025
74 checks passed
@HowardBraham HowardBraham deleted the git-blame-ignore-revs branch March 5, 2025 16:04
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2025
@metamaskbot metamaskbot added the release-12.15.0 Issue or pull request that will be included in release 12.15.0 label Mar 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-12.15.0 Issue or pull request that will be included in release 12.15.0 team-extension-platform Extension Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants