Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Shallow clone in vmr-build.yml #1304

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

Merged
merged 1 commit into from
Jun 24, 2025
Merged

Shallow clone in vmr-build.yml #1304

merged 1 commit into from
Jun 24, 2025

Conversation

akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Jun 24, 2025

Before:

Receiving objects: 100% (988936/988936), 1.61 GiB | 38.20 MiB/s, done.

After:

Receiving objects: 100% (195745/195745), 428.28 MiB | 31.02 MiB/s, done.

Shaves off about a minute of clone time.

@akoeplinger akoeplinger marked this pull request as ready for review June 24, 2025 15:52
@akoeplinger akoeplinger requested review from a team as code owners June 24, 2025 15:52
@jkoritzinsky
Copy link
Member

In dotnet/runtime we do a checkout fetch depth of 20. Should we match that here or do something in the middle?

@akoeplinger
Copy link
Member Author

akoeplinger commented Jun 24, 2025

I think that is some leftover from when AzDO was not reliably checking out the same commit for all jobs (depending on when the job started) and we manually reset the commit. I don't think we need this anymore.

@mmitche mmitche merged commit 1e33513 into main Jun 24, 2025
10 checks passed
@mmitche mmitche deleted the akoeplinger-patch-1 branch June 24, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.