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

Shallow git clone #18491

Merged
merged 12 commits into from
Apr 24, 2023
Merged

Shallow git clone #18491

merged 12 commits into from
Apr 24, 2023

Conversation

HowardBraham
Copy link
Contributor

Does a git clone --depth 1 to speed up every step of the CI by 11 seconds

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2023

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
Copy link
Collaborator

Builds ready [abc48d3]
Page Load Metrics (1547 ± 32 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint94157113189
domContentLoaded1423166515436632
load1423166515476732
domInteractive1423166515436632
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@metamaskbot
Copy link
Collaborator

Builds ready [0c7cad6]
Page Load Metrics (1564 ± 51 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint90146112147
domContentLoaded14391865155910550
load14391865156410551
domInteractive14391865155910550
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@HowardBraham HowardBraham marked this pull request as ready for review April 11, 2023 19:12
.circleci/config.yml Outdated Show resolved Hide resolved
@HowardBraham HowardBraham force-pushed the shallow-git-clone branch 4 times, most recently from 6363e02 to c73a549 Compare April 13, 2023 21:04
@metamaskbot
Copy link
Collaborator

Builds ready [c73a549]
Page Load Metrics (1617 ± 97 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint934111387536
domContentLoaded13712036160017584
load13712157161720197
domInteractive13712036160017584
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@metamaskbot
Copy link
Collaborator

Builds ready [2d31b85]
Page Load Metrics (1583 ± 48 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint881831172713
domContentLoaded14211846157410752
load14431846158310148
domInteractive14201846157410752
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

Gudahtt
Gudahtt previously approved these changes Apr 21, 2023
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

.circleci/config.yml Outdated Show resolved Hide resolved
@metamaskbot
Copy link
Collaborator

Builds ready [a08405e]
Page Load Metrics (1580 ± 61 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1013921356129
domContentLoaded13971903156911656
load13971903158012761
domInteractive13971903156911656
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

Gudahtt
Gudahtt previously approved these changes Apr 21, 2023
.circleci/config.yml Outdated Show resolved Hide resolved
@metamaskbot
Copy link
Collaborator

Builds ready [88107fd]
Page Load Metrics (1567 ± 65 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint91144114136
domContentLoaded13331807155312862
load13331807156713665
domInteractive13331807155312862
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@brad-decker brad-decker merged commit b704a3d into develop Apr 24, 2023
@brad-decker brad-decker deleted the shallow-git-clone branch April 24, 2023 14:19
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2023
@Gudahtt
Copy link
Member

Gudahtt commented Apr 24, 2023

Curious, I tested this on a fork and it worked fine: https://app.circleci.com/pipelines/github/Gudahtt/metamask-extension/298/workflows/124ebaef-3ea2-499b-bc4b-f76906aefcfa/jobs/4364

Checkout the environment variables, quite different. Mine was from a draft PR, and it looks like it set the repository URL to the fork rather than the target so it worked.

@brad-decker
Copy link
Contributor

@HowardBraham HowardBraham added the contributor experience An issue that impacts, or planned improvement to, the contributor experience. label Oct 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contributor experience An issue that impacts, or planned improvement to, the contributor experience. team-accounts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants