fix(rees): bound external analyzer fetches - #1831
Conversation
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-06-30 07:51:30 UTC
⏸️ Suggested Action - Manual Review
Review summary Blockers
Nits — 6 non-blocking
Concerns raised — review before merging
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.
|
498bc5d to
f6153dd
Compare
fb072b0 to
79edf35
Compare
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| 🔵 In progress View logs |
gittensory-ui | fc5c344 | Jun 30 2026, 07:15 AM |
79edf35 to
edea2d5
Compare
f6153dd to
16a9311
Compare
16a9311 to
353eee1
Compare
Issues attributed to commits in this pull requestThis pull request was merged and Sentry observed the following issues:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1831 +/- ##
=======================================
Coverage 95.66% 95.66%
=======================================
Files 214 214
Lines 23299 23343 +44
Branches 8412 8427 +15
=======================================
+ Hits 22288 22332 +44
Misses 419 419
Partials 592 592
🚀 New features to boost your workflow:
|
Summary
What changed
AnalysisContextfor in-flight de-dupe, per-category counters, and call caps.fetchcalls to the shared helper across OSV, deps.dev, npm, PyPI, Bundlephobia, endoflife.date, and GitHub endpoints.Why
REES external I/O was still uneven across analyzers. A slow registry or GitHub subcall could be hard to attribute, and some fail-safe paths looked successful even when analysis was incomplete. This gives each analyzer bounded, cacheable, diagnosable external calls without logging URLs, request bodies, diffs, tokens, prompts, comments, or private config.
Validation
npm --prefix review-enrichment testnpm run test:cigit diff --checkfetch(...),fetchImpl(...), orfetchFn(...)calls inreview-enrichment/src.review-enrichment/srcandreview-enrichment/test.Notes