GC for build logs #934

Open
opened 2025-07-27 12:32:19 +00:00 by pennae · 0 comments
Owner

we don't automatically clean up build logs when the derivation that produced them is deleted.

Describe the solution you'd like

we should do that.

Describe alternatives you've considered

pure time-based log clearing is also an option, but that sounds far less useful. a combination time/liveness collector may be nice, such that e.g. a log can be removed a couple weeks after the build was run even if the drv still exists

Additional context

we have 10 GiB of build logs on our machine. that's a bit excessive, right?

## Is your feature request related to a problem? Please describe. we don't automatically clean up build logs when the derivation that produced them is deleted. ## Describe the solution you'd like we should do that. ## Describe alternatives you've considered pure time-based log clearing is also an option, but that sounds far less useful. a combination time/liveness collector may be nice, such that e.g. a log can be removed a couple weeks after the build was run even if the drv still exists ## Additional context we have 10 GiB of build logs on our machine. that's a bit excessive, right?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#934
No description provided.