Merge pull request #359 from nubenetes/feat/fix-license-check-limit

fix: cap license check at 200 repos — was unbounded causing CI timeout
This commit is contained in:
Inaki
2026-06-19 10:36:46 +02:00
committed by GitHub

View File

@@ -306,6 +306,7 @@ async def detect_license_changes(inventory: Dict) -> List[Dict]:
log_event("[License] No repos with stored licenses to check")
return []
candidates = candidates[:MAX_REPOS_DEFAULT] # cap to same limit as activity enrichment
log_event(f"[License] Checking {len(candidates)} repos for license changes")
changes: List[Dict] = []