Hive Hive
Sign in

Prevent stack overflows on large dependency graphs

Metadata
Source
GitHub
Version
4.201.0-canary.12
Published
Jun 18, 2026 · 15:56 UTC
Repository
tuist/tuist
Update

tuist generate on large valid dependency graphs used to crash with a stack overflow in recursive graph processing. The recursive traversals in CircularDependencyLinter, GraphCircularDetector, topologicalSort, ModuleMapMapper, and StaticProductsGraphLinter have been replaced with iterative implementations that use explicit stacks, so deep acyclic graphs now generate successfully and keep their existing diagnostics, ordering, and lint behavior.