Prioritize already-reviewed PRs in review candidates#986
Conversation
|
Complex PR? Review this PR in Change Stack to move by importance, not file order. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR reorders the PR classification decision chain in ChangesClassification decision priority reordering
Possibly related PRs
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
NiXouuuu
left a comment
There was a problem hiding this comment.
Approved current head.
I inspected scripts/review_bounty_candidates.py and tests/test_review_bounty_candidates.py. The change is a focused classification-priority fix: a PR already reviewed by the requested reviewer on the current head is now classified before workflow/quality buckets, so the scanner stops re-suggesting that reviewer?s own current-head review when the standard quality signal is missing.
Validation performed on this exact head:
uv run --python 3.12 --extra dev python -m pytest tests/test_review_bounty_candidates.py -q-> 12 passed.uv run --python 3.12 --extra dev ruff check scripts/review_bounty_candidates.py tests/test_review_bounty_candidates.py-> passed.uv run --python 3.12 --extra dev ruff format --check scripts/review_bounty_candidates.py tests/test_review_bounty_candidates.py-> 2 files already formatted.uv run --python 3.12 --extra dev python -m mypy scripts/review_bounty_candidates.py-> success.git diff --check origin/main...HEAD-> clean.git merge-tree --write-tree origin/main HEAD-> clean tree5417cca61da35b55149c8a90c1a8e78fc1dacb29.
Live smoke evidence from the PR branch:
scripts/review_bounty_candidates.py --repo ramimbo/mergework --reviewer NiXouuuu --format jsonclassifies PR #1035 asalready_reviewed_current_head_by_reviewereven thoughstandard_quality_checkismissing.scripts/review_bounty_candidates.py --repo ramimbo/mergework --reviewer elianguitarra --format jsonclassifies PR #982 asalready_reviewed_current_head_by_reviewerwith the same missing quality signal.
GitHub state checked before review: open, non-draft, mergeable, CodeRabbit success, and no human reviews. mergeStateStatus is UNSTABLE because the standard quality check is missing, so maintainers should still wait for hosted status if that gate is expected before merge.
Scope boundaries: read-only review of the review-candidate scanner/test change only. No app runtime, ledger, wallet, treasury/proposal execution, payout execution, admin-token APIs, private data, credentials, bridge/exchange/off-ramp/cash-out behavior, or MRWK price/value behavior was used.
Summary
Bounty
Bounty #936
Validation
.venv\Scripts\python.exe -m pytest tests\test_review_bounty_candidates.py-> 12 passed.venv\Scripts\python.exe -m ruff check scripts\review_bounty_candidates.py tests\test_review_bounty_candidates.py-> All checks passed.venv\Scripts\python.exe -m ruff format --check scripts\review_bounty_candidates.py tests\test_review_bounty_candidates.py-> 2 files already formattedgit diff --check-> cleanscripts\review_bounty_candidates.py --repo ramimbo/mergework --reviewer elianguitarra --format jsonnow classifies PR Share queue duplicate-scope formatting #982 asalready_reviewed_current_head_by_reviewereven though its standard quality check is missingScope notes
Focused scanner maintainability fix only; no app runtime, ledger, wallet, treasury, payout, admin-token, bridge, exchange, off-ramp, or cash-out behavior changes.
Summary by CodeRabbit