Checkout is taking way too long

All our jobs are now failing because checkout step now takes forever and fails because it exceeds 10 minutes.

We haven’t introduced anything that should cause this.

it reaches 42% and then just stops.

Hi @zeno.at.reckon,

Thank you for sending in a ticket regarding this issue!

I felt that adding the content here as well would make it publicly available, and useful for others who were having similar issues.

During several time periods within the last month, there were incidents reported on your vcs provider’s end that were related to slower cloning of repositories. While the issue was resolved, I would like to add some information regarding how to improve performance cloning repositories to your containers.

To improve checkout performance, you can perform a shallow clone. There are two ways to go about this:

  1. Create a custom checkout step
  2. Use one of the orbs available

For a list of orbs, please take a look at the following page:

https://circleci.com/developer/orbs?filterBy=all&query=shallow

More information on shallow cloning can be found in the following article:

1 Like

Thanks.

Shallow cloning isn’t an option for us since we do lots of inspection of files compare to various commits and other branches.