-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CI should cache submodules? #2387
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
Labels
Comments
@allanrenucci Do you think this is doable or should we close? |
I'll will experiment with this over the next week. I think there are simple optimisations I can try such as cloning the submodules in parallel. Regarding caching, I don't see an easy solution |
allanrenucci
added a commit
to allanrenucci/dotty
that referenced
this issue
Jan 12, 2018
- Clone submodules in parallel - Improve workaround to scala#3415. Don't rely on GitHub to perform the merge on PRs
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 15, 2018
- Clone submodules in parallel - Improve workaround to scala#3415. Don't rely on GitHub to perform the merge on PRs
allanrenucci
added a commit
to allanrenucci/dotty
that referenced
this issue
Jan 16, 2018
- Clone submodules in parallel - Improve workaround to scala#3415. Don't rely on GitHub to perform the merge on PRs
allanrenucci
added a commit
to allanrenucci/dotty
that referenced
this issue
Jan 16, 2018
- Clone submodules in parallel - Improve workaround to scala#3415. Don't rely on GitHub to perform the merge on PRs
allanrenucci
added a commit
to allanrenucci/dotty
that referenced
this issue
Jan 16, 2018
- Clone submodules in parallel - Improve workaround to scala#3415. Don't rely on GitHub to perform the merge on PRs
allanrenucci
added a commit
that referenced
this issue
Jan 16, 2018
Mitigate #2387: Improve cloning logic
Closing as I don't plan to implement caching for submodules since I minimised the time spent cloning submodules by doing it in parallel. (ref/ #3850) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first thing the CI does on every build is
git submodule update --init
, this takes 23 seconds, most of that time is spent checking outlampepfl/scala
twice (it's dumb that git doesn't realize it's doing the same thing twice here). It would be nice if we could cache this. It may also be worth mergingscala-backend
andscala2-library
in a single submodule just to make it easier on everyone trying out dotty (on a bad connection a recursive clone might take a looong time).The text was updated successfully, but these errors were encountered: