Related to #1113.
The SVN candidate walker recursively descends directories while retaining several path buffers per stack frame. A deeply nested working copy can exhaust the watcher thread stack even when the total path remains below platform limits.
Replace recursive traversal with a heap-backed worklist or otherwise bound stack usage. Add a deep-directory fixture that demonstrates traversal remains stable.
Related to #1113.
The SVN candidate walker recursively descends directories while retaining several path buffers per stack frame. A deeply nested working copy can exhaust the watcher thread stack even when the total path remains below platform limits.
Replace recursive traversal with a heap-backed worklist or otherwise bound stack usage. Add a deep-directory fixture that demonstrates traversal remains stable.