Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ GITTENSORY_REVIEW_ENRICHMENT=false
# Current analyzer names:
# dependency,lockfileDrift,secret,license,installScript,heavyDependency,actionPin,eol,redos
# provenance,codeowners,secretLog,assetWeight,typosquat,commitSignature,iacMisconfig,nativeBuild
# history,docCommentDrift
# depMaintenanceHealth,history,docCommentDrift
#
# Profile defaults:
# fast: dependency,lockfileDrift,secret,license,installScript,heavyDependency,actionPin,eol
# redos,provenance,secretLog,typosquat,iacMisconfig,nativeBuild
# redos,provenance,secretLog,typosquat,iacMisconfig,nativeBuild,depMaintenanceHealth
# balanced (default): dependency,lockfileDrift,secret,license,installScript,heavyDependency
# actionPin,eol,redos,provenance,codeowners,secretLog,assetWeight,typosquat,commitSignature
# iacMisconfig,nativeBuild,history,docCommentDrift
# iacMisconfig,nativeBuild,depMaintenanceHealth,history,docCommentDrift
# deep: dependency,lockfileDrift,secret,license,installScript,heavyDependency,actionPin,eol
# redos,provenance,codeowners,secretLog,assetWeight,typosquat,commitSignature,iacMisconfig
# nativeBuild,history,docCommentDrift
# nativeBuild,depMaintenanceHealth,history,docCommentDrift
# END GENERATED REES ANALYZERS

# Submitter-reputation spend control (internal-only): downgrades new/burst/low-rep
Expand Down
23 changes: 23 additions & 0 deletions apps/gittensory-ui/src/lib/rees-analyzers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,29 @@ export const REES_ANALYZERS = [
notes: "Registry JSON is capped so large package metadata cannot monopolize REES memory.",
},
},
{
name: "depMaintenanceHealth",
title: "Dependency maintenance health",
category: "supply-chain",
cost: "registry",
defaultEnabled: true,
profiles: ["fast", "balanced", "deep"],
requires: ["files", "public-network"],
limits: {
maxQueries: 25,
maxRegistryJsonBytes: 2097152,
},
docs: {
summary:
"Flags newly-added or upgraded dependencies that are deprecated/yanked by their maintainer or stale (no recent release).",
looksAt: "New/upgraded npm and PyPI dependency versions.",
reports:
"Package, version, ecosystem, the maintenance signal (deprecated/yanked/stale), and a public-safe reason.",
network: "Calls the npm and PyPI registries. No GitHub token required.",
notes:
"Registry JSON is capped so large package metadata cannot monopolize REES memory; PyPI versions are matched to releases by PEP 440 equality.",
},
},
{
name: "history",
title: "Author and change-area history",
Expand Down
27 changes: 27 additions & 0 deletions review-enrichment/analyzer-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,33 @@
"notes": "Registry JSON is capped so large package metadata cannot monopolize REES memory."
}
},
{
"name": "depMaintenanceHealth",
"title": "Dependency maintenance health",
"category": "supply-chain",
"cost": "registry",
"defaultEnabled": true,
"profiles": [
"fast",
"balanced",
"deep"
],
"requires": [
"files",
"public-network"
],
"limits": {
"maxQueries": 25,
"maxRegistryJsonBytes": 2097152
},
"docs": {
"summary": "Flags newly-added or upgraded dependencies that are deprecated/yanked by their maintainer or stale (no recent release).",
"looksAt": "New/upgraded npm and PyPI dependency versions.",
"reports": "Package, version, ecosystem, the maintenance signal (deprecated/yanked/stale), and a public-safe reason.",
"network": "Calls the npm and PyPI registries. No GitHub token required.",
"notes": "Registry JSON is capped so large package metadata cannot monopolize REES memory; PyPI versions are matched to releases by PEP 440 equality."
}
},
{
"name": "history",
"title": "Author and change-area history",
Expand Down
Loading
Loading