Prune stale review-queue entries before a human hits them #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/prune-stale-review-queue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
resolve_review_eligibility, shared betweenprepare_review_approvaland a newprune_stale_review_queue.prune_stale_review_queueruns on the existing hourly reconcile ticker and auto-rejects any pending row the pipeline has since outrun, tagging it withstale_reason(new nullable column) so it's distinguishable in the DB from a genuine human rejection.Closes ARR-3
Test plan
cargo test -p breadarrd(316 passed)cargo clippy -p breadarrd --all-targets(clean)prune_stale_review_queue_rejects_a_row_whose_movie_was_satisfied_elsewhere,prune_stale_review_queue_leaves_an_eligible_row_pending