Skip to content

Conversation

@prady0t
Copy link
Contributor

@prady0t prady0t commented Dec 29, 2025

Description

Small text about the size of cache dirs to be cleaned. Used walkdir for better readability

Fixes #5214

How Has This Been Tested?

Run pixi clean cache

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.
  • I have verified that changes that would impact the JSON schema have been made in schema/model.py.

@ruben-arts
Copy link
Contributor

Thanks for working on it; unfortunately, it makes the run significantly slower:
Screenshot 2025-12-30 at 15 07 36

In this minimal example it's not that big of a deal, but cleaning my real cache can take minutes, and doubling that is not worth it. Could you look into how to speed that up?

@lucascolley lucascolley added enhancement New features area:clean Related to pixi clean labels Dec 31, 2025
@prady0t
Copy link
Contributor Author

prady0t commented Jan 3, 2026

Sure. I'll look into it in a few days. This could be a helpful reference: https://github.com/astral-sh/uv/blob/main/crates/uv-cache/src/removal.rs

@baszalmstra
Copy link
Contributor

@prady0t Are you still looking into this?

@prady0t
Copy link
Contributor Author

prady0t commented Jan 20, 2026

@prady0t Are you still looking into this?

Nope. You can go ahead take this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:clean Related to pixi clean enhancement New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show freed disk space after running pixi clean cache

4 participants