miroir/crates
jedarden 68acf16249 feat(reshard): implement P5.1.f cleanup phase with retention TTL
- Add cleanup_deadline parameter to cleanup_phase for retention checking
- Check retention period (default 48h) before deleting old index
- Return CleanupAborted error if deadline not reached or not set
- Add CleanupMetricsCallback for miroir_reshard_cleanup_completed_seconds metric
- Measure and emit cleanup duration (time to delete index)
- Add test for cleanup_error_aborted_display

The cleanup phase now properly enforces the retention TTL before
deleting the old index, allowing for emergency rollback within
the configurable retention window.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 18:30:33 -04:00
..
miroir-core feat(reshard): implement P5.1.f cleanup phase with retention TTL 2026-05-24 18:30:33 -04:00
miroir-ctl docs(miroir-ctl): add subcommand runbooks and help text (P11.4, miroir-uyx.4) 2026-05-24 11:47:36 -04:00
miroir-proxy feat(ui): implement scoped key creation on search UI enable (P5.21.a) 2026-05-24 18:13:16 -04:00