Remove all cached data from the pipeline cache directory.
Deletes the entire target directory (models, tuning results, and any other artefacts). When the directory does not exist the function returns without error. When dry_run is True nothing is removed but details of what would be deleted are logged and returned.
Dict with keys: status: "success" after successful removal, "dry_run" when dry_run is True, or "empty" when the directory did not exist. cache_dir: The Path of the directory targeted for cleaning. deleted_items: Sorted list of top-level item names that were (or would have been) removed.
[clean] Dry run — would delete: /tmp/tmpvqgskayc/sf2_cache
Would remove: logging
Would remove: models
Would remove: tuning_results
dry_run
['logging', 'models', 'tuning_results']