tuist generate no longer crashes with a stack overflow on large valid acyclic dependency graphs. The recursive traversals in CircularDependencyLinter, GraphCircularDetector, topologicalSort, ModuleMapMapper, and StaticProductsGraphLinter are now iterative and explicitly stack-based, keeping cycle detection and module map metadata intact while removing the per-node growth of the Swift call stack.
Hive
Stack-safe graph processing for large dependency graphs
Published
Jun 24, 2026 · 18:23 UTC
Repository
tuist/tuist