feat(enrichment): dependency-diff (added/removed deps) surface analyzer - #3500
Conversation
Summarize direct dependency add/remove/version-change deltas from manifest patches without OSV calls. Reuses manifest parsers from dependency-scan and syncs enrichment-analyzer-names with hardcodedUrl and debugLeftover. 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-05 13:54:24 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 6 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 #3500 +/- ##
=======================================
Coverage 93.06% 93.06%
=======================================
Files 300 300
Lines 31336 31336
Branches 11435 11435
=======================================
Hits 29164 29164
Misses 1517 1517
Partials 655 655
🚀 New features to boost your workflow:
|
Prevent the new local dependencyDiff analyzer from producing brief output when the test intentionally exercises dependency fetch failure. Co-authored-by: Cursor <cursoragent@cursor.com>
Scope inventory aggregation per manifest file so monorepo moves report separate add/remove findings instead of collapsing into a version change. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Fixes #2020
DependencyDiffFindingand a localdependencyDiffanalyzer that reports direct dependency add, remove, and version-change deltas from manifest patches (package.json, requirements.txt, go.mod)collectManifestDependencyEntrieshelper independency-scan.ts— no OSV/registry calls, distinct from the CVE dependency analyzersrc/review/enrichment-analyzer-names.tswith the enrichment registry (dependencyDiff,hardcodedUrl,debugLeftover)review-enrichment/test/dependency-diff.test.tscovering npm add/remove/change, PyPI change, cap, and brief renderingTest plan
cd review-enrichment && npm run build && npm run metadata && node --test test/dependency-diff.test.ts test/analyzer-registry.test.tsvalidate-code