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

[DRAFT] ci: prep builds #30720

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open

[DRAFT] ci: prep builds #30720

wants to merge 48 commits into from

Conversation

makemesteaks
Copy link

@makemesteaks makemesteaks commented Mar 4, 2025

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.

@makemesteaks makemesteaks changed the title ci: prep builds [DRAFT] ci: prep builds Mar 4, 2025
Copy link
Contributor

github-actions bot commented Mar 4, 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-dev-ops DevOps team label Mar 4, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [eb53869]
Page Load Metrics (1723 ± 59 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15381995172612962
domContentLoaded15171910169312761
load15261925172312359
domInteractive17112422713
backgroundConnect1095302211
firstReactRender1697452512
getState66616189
initialActions01000
loadScripts11121484125712058
setupStore86117168
uiStartup17632441200218790
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@makemesteaks makemesteaks changed the title [DRAFT] ci: prep builds ci: prep builds Mar 4, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [47b2a3b]
Page Load Metrics (1839 ± 85 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint52122501765336161
domContentLoaded15112174181217685
load15222200183917785
domInteractive14104432010
backgroundConnect1279322110
firstReactRender1579432412
getState56115178
initialActions01000
loadScripts11051619135914469
setupStore86322209
uiStartup17672505210620196
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [486de48]
Page Load Metrics (1837 ± 111 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint160724641839227109
domContentLoaded158624541815232111
load159924651837230111
domInteractive26124492713
backgroundConnect115425178
firstReactRender1575432412
getState55614168
initialActions01000
loadScripts11741905138019795
setupStore86420199
uiStartup177828242109288138
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [e9f5174]
Page Load Metrics (1540 ± 39 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint23417101413401192
domContentLoaded1382167615127938
load1391171315408239
domInteractive239335199
backgroundConnect96232189
firstReactRender1467342211
getState5421084
initialActions00000
loadScripts1005125211216832
setupStore75615147
uiStartup1610192017459244
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [18f2863]
Page Load Metrics (1634 ± 40 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint28018561574305147
domContentLoaded1500182616097636
load1509190516348440
domInteractive25129473014
backgroundConnect96430199
firstReactRender1472352412
getState46014168
initialActions01000
loadScripts1116142312077335
setupStore7451184
uiStartup1736206618578039
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [bf9aa83]
Page Load Metrics (1956 ± 54 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint39421641797477229
domContentLoaded17342116191810048
load17752166195611354
domInteractive287340115
backgroundConnect12211454421
firstReactRender1878412411
getState66022199
initialActions00000
loadScripts12541671142710249
setupStore94917136
uiStartup19432476222913565
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [d431b02]
Page Load Metrics (1785 ± 92 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14662088179319091
domContentLoaded14552077176419091
load14652093178519192
domInteractive197139157
backgroundConnect125724136
firstReactRender1579412512
getState411821
initialActions01000
loadScripts10631558130914369
setupStore766202110
uiStartup167224012024213102
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@makemesteaks makemesteaks changed the title ci: prep builds [DRAFT] ci: prep builds Mar 5, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [1bfbcd5]
Page Load Metrics (1700 ± 53 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15001914169511153
domContentLoaded14881905166911354
load15021917170011153
domInteractive26120442713
backgroundConnect1178362010
firstReactRender1574302010
getState559242010
initialActions01000
loadScripts1065144912419144
setupStore76913136
uiStartup17442178192612862
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Comment on lines +133 to +149
- name: Move test build to dist-test
run: mv ./dist ./dist-test

- name: Move test zips to builds-test
run: mv ./builds ./builds-test
Copy link
Contributor

Choose a reason for hiding this comment

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

The majority of this mv stuff in the prep-build steps is probably unnecessary. It was acrobatics to deal with the way CircleCI workspaces function. In GitHub Actions, it's probably not needed.

@metamaskbot
Copy link
Collaborator

Builds ready [26ce0db]
Page Load Metrics (1645 ± 124 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint145327371649269129
domContentLoaded144426561632255122
load145326851645258124
domInteractive247532136
backgroundConnect105217115
firstReactRender1476432411
getState46111157
initialActions01000
loadScripts104620861229215103
setupStore76116168
uiStartup164630301866290139

@metamaskbot
Copy link
Collaborator

Builds ready [eb0ba85]
Page Load Metrics (1733 ± 104 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint147822131731217104
domContentLoaded144122031709218105
load148322091733217104
domInteractive17128523416
backgroundConnect105726157
firstReactRender1468312010
getState57515209
initialActions0442105
loadScripts10331710129118287
setupStore75615136
uiStartup165125711969264127

@metamaskbot
Copy link
Collaborator

Builds ready [f5788c3]
Page Load Metrics (1705 ± 69 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint46720481650309149
domContentLoaded14401954166913766
load14902025170514469
domInteractive258435147
backgroundConnect988382512
firstReactRender1475382411
getState45519168
initialActions01000
loadScripts10721479122911254
setupStore7521395
uiStartup16602299193716378

@makemesteaks
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@metamaskbot
Copy link
Collaborator

Builds ready [5a21082]
Page Load Metrics (1908 ± 110 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint27323691564658316
domContentLoaded149023361889231111
load150523431908230110
domInteractive25204574120
backgroundConnect95325136
firstReactRender1579422211
getState56219168
initialActions034274
loadScripts10901841142620096
setupStore86120157
uiStartup170825832171262126

@metamaskbot
Copy link
Collaborator

Builds ready [0f52fd3]
Page Load Metrics (1573 ± 42 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1453176515698441
domContentLoaded1433175215518641
load1454177615738742
domInteractive187738189
backgroundConnect85323136
firstReactRender1470292010
getState44912136
initialActions01000
loadScripts1039129911548039
setupStore74413115
uiStartup1654195817758541

@metamaskbot
Copy link
Collaborator

Builds ready [8c42f97]
Page Load Metrics (1890 ± 86 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint24322271541641308
domContentLoaded15342183185617182
load15512238189017986
domInteractive2495482311
backgroundConnect1065402010
firstReactRender176629147
getState56214126
initialActions01000
loadScripts11121690139214971
setupStore86123189
uiStartup172825472144217104

@metamaskbot
Copy link
Collaborator

Builds ready [6ef5c38]
Page Load Metrics (1718 ± 85 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint56122561654302145
domContentLoaded15212232169117383
load15252295171817785
domInteractive249533157
backgroundConnect87634199
firstReactRender1478372110
getState44613115
initialActions01000
loadScripts11341704126614067
setupStore75014115
uiStartup174426551949218105

const prBodyPath = path.resolve(CHANGED_FILES_DIR, 'pr-body.txt');
const labels = prInfo.labels.map(label => label.name).join(', ');
const updatedPrBody = `PR labels: {${labels}}\nPR base: {${prInfo.base.ref}}\n${prInfo.body.trim()}`;
fs.writeFileSync(prBodyPath, updatedPrBody);

Check warning

Code scanning / CodeQL

Network data written to file Medium

Write to file system depends on
Untrusted data
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-dev-ops DevOps team
Projects
Status: Needs dev review
Development

Successfully merging this pull request may close these issues.

4 participants