fix(upstream): treat a failed drift-issue fingerprint search as inconclusive, not absent - #10141
Conversation
…clusive, not absent
Both the recorded-issue fast path and the fingerprint-search fallback returned null for a
read failure (non-OK response, thrown fetch) exactly as they did for a genuine no-match, so a
transient GitHub rate-limit or 5xx during the drift reconcile fell straight through to filing
a brand-new issue for a fingerprint that may already have one. Both lookups now return an
{ existing, errored } pair (mirroring LastCloserResult.errored) so the caller can tell "found
nothing" apart from "learned nothing" and skip instead of creating a duplicate on the errored
path, leaving the report's stored issue reference untouched. The fingerprint-search pagination
walk is also bounded to 10 pages, matching every other list walk in this file, with an
exhausted cap now treated as a read failure rather than proof no issue exists.
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-31 09:17:54 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.
|
|
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 #10141 +/- ##
==========================================
+ Coverage 79.95% 80.11% +0.15%
==========================================
Files 282 283 +1
Lines 58728 59224 +496
Branches 6930 7107 +177
==========================================
+ Hits 46958 47447 +489
Misses 11480 11480
- Partials 290 297 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix(upstream): treat a failed drift-issue fingerprint search as inconclusive, not absent
Both the recorded-issue fast path and the fingerprint-search fallback returned null for a
read failure (non-OK response, thrown fetch) exactly as they did for a genuine no-match, so a
transient GitHub rate-limit or 5xx during the drift reconcile fell straight through to filing
a brand-new issue for a fingerprint that may already have one. Both lookups now return an
{ existing, errored } pair (mirroring LastCloserResult.errored) so the caller can tell "found
nothing" apart from "learned nothing" and skip instead of creating a duplicate on the errored
path, leaving the report's stored issue reference untouched. The fingerprint-search pagination
walk is also bounded to 10 pages, matching every other list walk in this file, with an
exhausted cap now treated as a read failure rather than proof no issue exists.
Closes #10027