From c3ce8c7bd466dceb46d0e9142eb6defcd9a66453 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 14 Jun 2026 23:05:32 +0800 Subject: [PATCH] fix: remove hardcoded 300-flows cap for large repositories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dynamicMaxProcesses was capped at 300 via Math.min(300, ...), causing large repositories (280K+ nodes) to lose execution flows. Change: Remove the Math.min(300, ...) cap, keep dynamic calculation. Effect: 280K-node repo: 300 → 1617 flows. --- gitnexus/src/core/ingestion/pipeline-phases/processes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitnexus/src/core/ingestion/pipeline-phases/processes.ts b/gitnexus/src/core/ingestion/pipeline-phases/processes.ts index d04332a73..cb37d3585 100644 --- a/gitnexus/src/core/ingestion/pipeline-phases/processes.ts +++ b/gitnexus/src/core/ingestion/pipeline-phases/processes.ts @@ -52,7 +52,7 @@ export const processesPhase: PipelinePhase = { ctx.graph.forEachNode((n) => { if (n.label !== 'File') symbolCount++; }); - const dynamicMaxProcesses = Math.max(20, Math.min(300, Math.round(symbolCount / 10))); + const dynamicMaxProcesses = Math.max(20, Math.round(symbolCount / 10)); const processResult = await processProcesses( ctx.graph,