Expand description
Purpose: Facade for done-queue pruning surfaces.
Responsibilities:
- Declare focused prune companion modules.
- Re-export the stable prune API used by queue callers.
- Keep prune regression coverage colocated with the prune module.
Scope:
- Thin module root only; prune types and behavior live in sibling companions.
Usage:
- Used through
crate::queue::{PruneOptions, PruneReport, prune_done_tasks}. - Crate-internal helpers remain available through
crate::queue::prune::*re-exports.
Invariants/Assumptions:
- Re-exports preserve existing caller imports.
- Core prune behavior remains unchanged while implementation is split across companions.
Structs§
- Prune
Options - Options for pruning tasks from the done archive.
- Prune
Report - Result of a prune operation on the done archive.
Functions§
- prune_
done_ tasks - Prune tasks from the done archive based on age, status, and keep-last rules.