Skip to content
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

ci: enable circular dep linting #30148

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft

Conversation

davidmurdoch
Copy link
Contributor

@davidmurdoch davidmurdoch commented Feb 6, 2025

This PR prevents circular dependencies from being added to our codebase.

Description

Open in GitHub Codespaces

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.

Copy link
Contributor

github-actions bot commented Feb 6, 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-extension-platform Extension Platform team label Feb 6, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [d9391f4]
Page Load Metrics (1687 ± 73 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14952141168114971
domContentLoaded14492124165615072
load14972145168715373
domInteractive23663094
backgroundConnect1079342512
firstReactRender1674382411
getState5481194
initialActions01000
loadScripts10591659120513163
setupStore764192010
uiStartup17002380191416780
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@davidmurdoch davidmurdoch force-pushed the enable-circular-dep-lint branch from d9391f4 to 077da6a Compare February 13, 2025 21:43
Copy link

socket-security bot commented Feb 13, 2025

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 6.57 kB types
npm/@types/[email protected] None 0 25.1 kB types
npm/[email protected] 🔁 npm/[email protected] None 0 44.6 kB jonschlinkert
npm/[email protected] 🔁 npm/[email protected] None 0 16.7 kB jonschlinkert
npm/[email protected] 🔁 npm/[email protected] None 0 56.6 kB doowb

View full report↗︎

@metamaskbot
Copy link
Collaborator

Builds ready [8e2731e]
Page Load Metrics (1641 ± 64 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15201968164912761
domContentLoaded14781947161412862
load15091973164113364
domInteractive2199392411
backgroundConnect867322311
firstReactRender1470352411
getState4361074
initialActions01000
loadScripts9861455116510953
setupStore76816188
uiStartup16902270185614168
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [7ddc5bf]
Page Load Metrics (1558 ± 60 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14101947156212962
domContentLoaded1396175315208239
load14111945155812560
domInteractive226833147
backgroundConnect9468419948
firstReactRender14100402612
getState45113157
initialActions01000
loadScripts982134810958139
setupStore774252612
uiStartup16122285180917785
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@davidmurdoch
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated.
👀 Please review the diff for suspicious new powers.

🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff

@metamaskbot
Copy link
Collaborator

Builds ready [194c797]
Page Load Metrics (1744 ± 130 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint46126181650356171
domContentLoaded147025041721266128
load148025191744271130
domInteractive24138412814
backgroundConnect107025189
firstReactRender1488372613
getState590152110
initialActions01000
loadScripts104919121254217104
setupStore790252512
uiStartup173329102004303146
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [a58a5c6]
Page Load Metrics (1609 ± 78 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint33717381523289139
domContentLoaded13672156157015876
load13902192160916278
domInteractive237832147
backgroundConnect9148433216
firstReactRender136321126
getState45918178
initialActions00000
loadScripts9611600113412861
setupStore757232010
uiStartup15952525183020096
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [45b07bd]
Page Load Metrics (1647 ± 91 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint48919481555279134
domContentLoaded14242207162119091
load14292224164718991
domInteractive24186493919
backgroundConnect107331168
firstReactRender1472332211
getState565252211
initialActions01000
loadScripts10131779120117584
setupStore75715147
uiStartup16522390187620297
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-extension-platform Extension Platform team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants