chore(review): remove dead isIgnoredReviewAuthor wrapper (zero callers, thinly wraps decideReviewEligibility)#6223
Conversation
…s, thinly wraps decideReviewEligibility)
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6223 +/- ##
==========================================
- Coverage 95.32% 95.32% -0.01%
==========================================
Files 597 597
Lines 47128 47127 -1
Branches 15012 15012
==========================================
- Hits 44926 44925 -1
Misses 1477 1477
Partials 725 725
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-15 23:15:19 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 3 non-blocking
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
src/review/review-eligibility.ts'sisIgnoredReviewAuthoris a thin boolean wrapper (return !decideReviewEligibility(input).eligible;) around the actively-useddecideReviewEligibility(called fromsrc/signals/settings-preview.tsandsrc/queue/processors.ts). A repo-wide search findsisIgnoredReviewAuthorhas zero callers outside its own test -- every real caller uses the richerdecideReviewEligibilitydirectly.Changes
isIgnoredReviewAuthorfromreview-eligibility.tsand its dedicated test case + import. Pure deletion;decideReviewEligibilityand its tests are untouched.Confirmation (per the issue)
isIgnoredReviewAuthorhad zero real callers (def + one test only).review-eligibility.tsis backend-only, so no parity pair to keep in sync.Validation
npm run typecheck-- clean.npx vitest run test/unit/review-eligibility.test.ts-- 39 passed (the remainingdecideReviewEligibilitytests).git diff --checkclean; rebased onto latestmain, mergeable-clean.Safety
Closes #6169