fix(miner): correct usedDefaultGoalSpec for non-matching goal specs#2873
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2873 +/- ##
=======================================
Coverage 96.02% 96.02%
=======================================
Files 259 259
Lines 28350 28350
Branches 10306 10306
=======================================
Hits 27223 27223
Misses 491 491
Partials 636 636 🚀 New features to boost your workflow:
|
17de87a to
ccbf93d
Compare
Report default goal-spec usage per ranked repo match instead of treating any supplied goalSpecsByRepo map as custom spec usage. Co-authored-by: Cursor <cursoragent@cursor.com>
ccbf93d to
275e599
Compare
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-04 03:13:19 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 3 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.
|
Summary
rankCandidateIssuesWithSummarysousedDefaultGoalSpecreflects whether ranked repos actually matched a supplied goal spec, not merely whether any goal spec map was present.Problem
When callers passed
goalSpecsByRepoentries for repos that did not appear in the ranked candidate list, the summary incorrectly reportedusedDefaultGoalSpec: falseeven though every ranked issue fell back toDEFAULT_MINER_GOAL_SPEC.Validation
Safety