turbo
0981bcd4 - chore: Remove automatic tool store cleanup (#14951)

Commit
17 days ago
chore: Remove automatic tool store cleanup (#14951) ### Description `turbo setup` no longer deletes tools from the shared tool store. Users remove unused tools themselves. Before this change, every setup run removed tools that no repository had selected for 7 days and printed a "Removed" or "Keeping ... for 7 days" line. The line misled users, and the cleanup cost more code than the disk it saved. - Deletes the collector (`gc.rs`, `cleanup.rs`) and its setup output lines. - Deletes the `gc.lock` lease. Setups only took it shared, so it never kept two setups apart. It existed only to keep the collector out. - Removes the 7-day paragraph from `turbo setup --help`. Scope: setup still removes a repository's old `.turbo/tools` directory. That migration predates this change. A crash during setup now leaves its staging in `<store>/tmp` until the user deletes it. Blast radius: only `turbo setup` behind `experimentalSetup`. Run, exec, and the shell hook never took the lock. ### Testing Instructions - New assertions cover the new behavior. A tool removed from `turbo.json` keeps its tree in the store, and a later setup leaves crash staging in `tmp`. - The offline repeat test used `gc.lock` to prove it made no writes. It now compares a snapshot of the whole fixture before and after. I checked that it fails when one file is written into the store.
Author
Parents
Loading