feat(miner): enqueue ranked discovery into portfolio queue - #3074
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-04 12:25:02 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3074 +/- ##
=======================================
Coverage 96.08% 96.08%
=======================================
Files 265 265
Lines 29077 29077
Branches 10588 10588
=======================================
Hits 27940 27940
Misses 493 493
Partials 644 644 🚀 New features to boost your workflow:
|
Summary
enqueueRankedDiscoveryto wire ranked fan-out output into the local portfolio queue using each row'srankScoreas queue priority.discovered_issueaudit events, completing the feat(miner-foundation): local portfolio/queue store for gittensory-miner #2292 placeholder priority wiring without any GitHub calls.Scope
type(scope): short summaryConventional Commit format (feat— new miner capability).Validation
npm run test:cilocally — CI will run the full gate on push.Safety
UI Evidence
Not applicable — miner library only.
Notes
Follow-up to #2292 (portfolio queue foundation) and #2302 (opportunity ranker) — connects rank → queue → ledger locally without GitHub calls.
API edges fail closed: non-array
rankedIssuesthrowsinvalid_ranked_issues; an explicitly provided but invalideventLedgerthrowsinvalid_event_ledger.