Clean up obsolete artifacts in ".mozbuild"
Categories
(Testing :: Mozbase, enhancement)
Tracking
(firefox108 fixed)
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: mcomella, Assigned: gbrown)
Details
Attachments
(1 file)
I nearly filled up my hard drive and I'm removing unnecessary files. I've found a few compressed files in my .mozbuild directory that seem like they can be removed (since they seem to have directories associated with them) and take up non-trivial space:
- 574 MB rust-dist-toolchain.tar.xz
- 147 MB android-device/host-utils-93.0a1.en-US.mac.tar.gz
- 146 MB android-device/host-utils-85.0a1.en-US.mac.tar.gz
- 56 MB clang-dist-toolchain.tar.xz
If it's not too much work, I wonder if we should do one or more of:
- can we update the tasks that generate these files to remove them after use?
- should we automatically scan .mozbuild for compressed artifacts and print a warning if they are not removed so someone can file a bug?
- should we automatically delete compressed artifacts? (probably not because they might be used)
Impact
It is less than a 1 GiB so maybe it's not worth the time but it is distributed across many developers computers who may need to take the time to reclaim that space later and that may be a lot of time.
Reporter | ||
Comment 1•3 years ago
|
||
wrt impact, my npm cache (6G), gradle cache (19G+), cargo (7G), etc. greatly exceed the space taken up by these files so maybe it's not a big deal.
Reporter | ||
Comment 2•3 years ago
|
||
Yeah, I'm just going to close this.
Comment 3•3 years ago
|
||
This is a valid bug, but I don't think that the priority is that great.
I'll reopen and chuck it in the backlog. Thanks for the report :)
Updated•3 years ago
|
Comment 4•3 years ago
|
||
I'm fairly sure the dist-toolchains ones are supposed to be there compressed, and are used as-is by sccache in distributed mode.
The host-utils part comes from mozrunner.
Comment 5•3 years ago
|
||
The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 6•2 years ago
|
||
Save some disk space by removing host-utils archive after it has been unpacked.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
bugherder |
Description
•