Files
Ashish Huddar 4c5369ecfc fix(call-flow): keep big-but-valid tree lists instead of failing (#1370)
MAX_TREES=100 rejected CallDiff results at 41 changed files in
Swift-style languages (many small per-entry trees), making Call Flow
unusable on normal branch reviews. MAX_NODES was never the binding
constraint (3,138 nodes at 470 trees).

- Raise MAX_TREES to 2,000 so realistic reviews parse untouched.
- Truncate deterministically at the cap instead of throwing, and add a
  warning diagnostic ("Showing the first 2,000 of N call trees") so the
  omission is never silent.
- Keep hard failure for the unbounded-output guards (MAX_NODES,
  MAX_TREE_DEPTH, raw length) that protect against pathological worker
  output.

Fixes #1351
2026-08-23 07:31:40 -07:00
..