Skip to content

Conversation

alexisfontaine
Copy link
Contributor

@alexisfontaine alexisfontaine commented Sep 20, 2025

The Free Disk Space job in CI is a significant bottleneck (~5min on hundreds of jobs per workflow). This change replaces rm -rf command with rmz, which is apparently faster at deleting large directories.

If preferred, I can try the more conventional find -delete command instead of adding a dependency.

@mohe2015
Copy link
Contributor

How does the performance compare with find?

@alexisfontaine
Copy link
Contributor Author

alexisfontaine commented Sep 20, 2025

You're right to question that claim – I hadn't actually benchmarked rmz or find. My apologies for stating it without verification.

I've been looking into how the Rust project currently handles this, and it seems they've built their own script based on the free-disk-space action.

Interestingly, there's a PR on that action (jlumbroso/free-disk-space#26) with some numbers. It seems benchmarking the different commands within the Leptos CI environment is the best way to determine if it's actually an improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants