Skip to content

cats plugin: prune companion report artifacts alongside run databases #600

Description

@ericfitz

Deliberately deferred from #587.

keep_runs prunes cats-results-<run_id>.db files (and their -wal/-shm sidecars) but leaves the matching report-<run_id>.html / report-<run_id>/ artifacts behind, so the directory still grows.

Kept out of #587 on purpose: that change's whole risk profile is irreversible deletion, so the deletion surface was held to exactly one filename pattern. Widening it deserves its own review.

Pruning companions should key off the same run_id already captured from the database filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions