From 1c62a514a1f7cf7ea283ee599daf8a07d1fa5c59 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sat, 19 Sep 2026 17:55:22 +1000 Subject: [PATCH] fix(tools): stop silently truncating tracker titles in reachaudit output The whole-package section hard-truncated tracker hit text to 56 chars with no ellipsis, so long issue titles cut off mid-word (e.g. "...neither re"). Switch to the same indented-list format already used for the in-package section instead of a fixed-width single line. --- tools/reachaudit/reachaudit.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/reachaudit/reachaudit.py b/tools/reachaudit/reachaudit.py index 01f3cdd40..d23c420fe 100755 --- a/tools/reachaudit/reachaudit.py +++ b/tools/reachaudit/reachaudit.py @@ -227,8 +227,9 @@ def main() -> int: continue lines.append(f"== {cat} ({len(group)}) ==") for r in group: - tr = "; ".join(r["tracker_hits"]) or "NONE" - lines.append(f" {r['loc']:>6} LOC {r['package']:<48} {tr[:56]}") + lines.append(f" {r['loc']:>6} LOC {r['package']}") + for hit in r["tracker_hits"] or ["NONE"]: + lines.append(f" {hit}") lines.append("") for cat in ("in-package-untracked", "in-package-dynamic", "in-package-tracked"): group = [r for r in in_pkg_rows if r["category"] == cat]