fix(miner): self-review-context never supplies recent-merged-PR history, contradicting its own "same fidelity" claim - #8969
Conversation
…ry, contradicting its own "same fidelity" claim Fixes JSONbored#8852
|
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 #8969 +/- ##
==========================================
+ Coverage 90.56% 90.63% +0.07%
==========================================
Files 96 97 +1
Lines 22490 22690 +200
Branches 3884 3971 +87
==========================================
+ Hits 20367 20566 +199
Misses 1945 1945
- Partials 178 179 +1
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-26 14:49:32 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
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://loopover.ai/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
self-review-context.tsclaimed "SAME fidelity" as the live gate but passed an emptyrecentMergedPullRequestsarray intobuildIssueQualityReport, so issues already fixed by a recently merged PR were invisible to duplicate/collision detection in the miner's local self-review preview.This change fetches recently merged PRs via the existing GitHub client and wires them into
buildIssueQualityReport, matching the live gate behavior.Deliverables
self-review-context.tspasses a realrecentMergedPullRequestsarray (fetched via the same GitHub client this module already uses forissues/pullRequests) intobuildIssueQualityReportself-review-context's output, where it previously would not have beenTest plan
npm run typechecknpm test -- test/unit/miner-self-review-context.test.ts(45 tests)Fixes #8852
Made with Cursor