Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Investigate ways to get around IsCloneable check for all repos #62786

@eseliger

Description

@eseliger

For every clone, we run a preflight request against the code host to check if the repo is cloneable. The sole purpose is better error messages. We don't do the same for updates.

To me that tells that one of the two is doing it wrong. Either fetches are missing this, or clones are doing this extraneously without good reason.

It would be great if we could get away without that extra call, because it would make clones faster (the IsCloneable check according to Grafana dashboards isn't super quick, ~2.5s on a random instance I inspected) , and it would be one method less that we need to maintain and worry about in the process of cloning/fetching repos.

Metadata

Metadata

Assignees

Labels

perfteam/sourceTickets under the purview of Source - the one Source to graph it all

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions