acb-index-builder has been in CrashLoopBackOff for 45 days with silent crashes after "Copied web assets to output directory". Investigation revealed O(n²) N+1 query loops causing unbounded memory growth and OOMKill. Changes: - fetchSeries: batch games query (1000 queries → 1 query) with LIMIT 10000 - fetchChampionshipBracket: batch games query (500 queries → 1 query) with LIMIT 64 - fetchSeasonSnapshots: reduce LIMIT from 10000 to 500 - fetchLineage: reduce LIMIT from 10000 to 1000 - Add strings import for strings.Join in batch queries These changes prevent the pod from being OOMKilled during fetchAllData() which runs after copyWebAssets() in the build cycle. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acb-api | ||
| acb-enrichment | ||
| acb-evolver | ||
| acb-index-builder | ||
| acb-local | ||
| acb-map-evolver | ||
| acb-mapgen | ||
| acb-maps-loader | ||
| acb-matchmaker | ||
| acb-wasm | ||
| acb-worker | ||