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

[enhancement]: Support Sparse Checkout #4325

Open
bdovaz opened this issue Jun 17, 2023 · 7 comments
Open

[enhancement]: Support Sparse Checkout #4325

bdovaz opened this issue Jun 17, 2023 · 7 comments
Labels
Area: ABTT Area: Agent enhancement Plugins Issues or PRs related to agent plugins

Comments

@bdovaz
Copy link

bdovaz commented Jun 17, 2023

Describe your feature request here

For monorepo repositories this is a must to be able to speed up builds as much as possible.

I see that this very thing has been recently merged by @dscho into the GitHub checkout action: actions/checkout#1369

Would this same functionality be possible in azure pipelines?

Thanks!

@KonstantinTyukalov KonstantinTyukalov added Plugins Issues or PRs related to agent plugins Area: ABTT and removed triage labels Jun 19, 2023
@KonstantinTyukalov
Copy link
Contributor

Hi @bdovaz thanks for the reporting! We're currently working on higher priority issues, but we'll get back this this one soon.

@dscho
Copy link
Member

dscho commented Jun 26, 2023

Note that the actions/checkout PR relies on partial clones to be supported server-side, something that Azure Repos could only do via emulation using the GVFS protocol (which so far is only supported using Microsoft's Git fork, which is not installed on the build agents by default).

Copy link

This issue has had no activity in 180 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label Dec 23, 2023
@bdovaz
Copy link
Author

bdovaz commented Dec 23, 2023

No stale

@github-actions github-actions bot removed the stale label Dec 23, 2023
@dscho
Copy link
Member

dscho commented Jan 5, 2024

Note that the actions/checkout PR relies on partial clones to be supported server-side, something that Azure Repos could only do via emulation using the GVFS protocol (which so far is only supported using Microsoft's Git fork, which is not installed on the build agents by default).

Note that partial clones are now supported by Azure Repos!

@bdovaz
Copy link
Author

bdovaz commented Jan 5, 2024

Although it is an improvement, it has nothing to do with the purpose of this issue.

The big improvement would be that at a high level through the checkout task we can make a sparse checkout indicating the directories to include as you can do in Github from your PR from half a year ago.

@sanghel-orbyta
Copy link

any way to bump priority on this one?

monorepos consume agent time uselessly doing full checkouts...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Area: Agent enhancement Plugins Issues or PRs related to agent plugins
Projects
None yet
Development

No branches or pull requests

4 participants