-
Notifications
You must be signed in to change notification settings - Fork 124
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
ci: Linux builds growing for each new build #153
Comments
Do we have any information about the contents of the cache? |
No I was trying to see if there's a way to download them but couldn't find any, think github doesn't allow it. Was playing around with saving it to artifacts here but didn't look at it yet: #125 |
I'm about to bust the Linux cache to allow #156 to build, so we'll need to collect data again. |
I've customized the build on my own fork to generate a https://github.com/daniellavoie/Ambient/blob/debug-cache/cache.log I'm currently running another build and will git diff to see if consecutive builds creates new entries. Meanwhile, the output should still help figuring out if there is any suspicious file out there. |
Just found out |
git diff between two builds on the same commit. Doesn't show much. Running again with
|
This versions provides directory space usage if that helps: https://github.com/daniellavoie/Ambient/blob/6ae44f6d8ff5333fef73854632b995df3a1b13a2/cache.log Running again to see if there is an incremental behaviour. |
Last update, no size difference. Someone from the core team must review the cache output from my previous comment and identify if any of the pulled dependencies make sense. Cheers! |
@daniellavoie Ah this is awesome! Hm I can't tell if anything is wrong from looking at that file, but it's usually quite noticeable when the build cache starts growing; it grows with like 1gb per build. I'm still not sure exactly what triggers it though, sometimes it seems like even just doc changes will make it grow. |
So after a few build. we endup with 5Gb of deps. Here's a git diff: Not sure what is the right approach to clean the duplicas deps. |
@daniellavoie Hm interesting. Could you open an issue on the cargo repo? I feel like our build is fairly standard so this must be a problem for more people I imagine? |
Something strange is going on with the ci; it seems like the Linux build cache gets bigger and bigger with each new build. I haven't been able to figure out why yet. It seems like Windows and Mac works fine.
The text was updated successfully, but these errors were encountered: