safishamsi
fecf9aa76b
fix(build): disambiguate colliding file-node labels for discovery ( #2032 )
...
In directory-per-entrypoint repos (Supabase Edge Functions, Next.js page.tsx,
Rust mod.rs, Python __init__.py) many files share a basename, so basename-only
file-node labels collided and `explain`/free-text discovery couldn't resolve
them — exactly the highest-value files. build_from_json now runs a final pass
that gives colliding-basename file nodes the shortest unique directory-qualified
label (`process-order/index.ts`); unique basenames stay bare, and node ids/edges
are never touched. The pass runs after the alias-competition (which still needs
bare basenames), is idempotent (labels derive from source_file), and the
downstream file-node predicates (analyze god-nodes, tree_html, serve lookup)
recognize the qualified form via a shared _is_file_node_label helper.
2026-07-20 16:25:11 +01:00
..
2026-07-15 10:58:57 +01:00
2026-07-15 15:09:17 +01:00
2026-07-05 11:41:18 +01:00
2026-07-11 11:52:12 +01:00
2026-07-16 23:48:07 +01:00
2026-07-20 13:29:54 +01:00
2026-07-17 11:21:21 +01:00
2026-07-08 12:09:40 +01:00
2026-07-16 16:38:12 +01:00
2026-07-14 13:19:16 +01:00
2026-07-16 23:48:07 +01:00
2026-07-15 13:13:30 +01:00
2026-07-02 22:29:30 +01:00
2026-07-18 19:07:16 +01:00
2026-07-12 23:57:16 +01:00
2026-07-11 16:31:10 +01:00
2026-07-18 19:07:16 +01:00
2026-07-18 12:04:23 +01:00
2026-07-08 01:16:58 +01:00
2026-07-10 21:57:16 +01:00
2026-07-14 13:51:42 +01:00
2026-07-20 15:28:59 +01:00
2026-07-14 23:42:06 +01:00
2026-07-17 00:09:02 +01:00
2026-07-16 23:42:47 +01:00
2026-07-13 10:29:26 +01:00
2026-07-20 11:31:36 +01:00
2026-07-20 15:35:40 +01:00
2026-07-17 11:35:11 +01:00
2026-07-09 13:22:36 +01:00
2026-07-20 16:25:11 +01:00
2026-07-06 16:43:21 +01:00
2026-07-20 15:35:40 +01:00
2026-07-06 16:49:31 +01:00
2026-07-18 19:07:16 +01:00
2026-07-15 00:41:36 +01:00
2026-07-02 22:29:32 +01:00
2026-07-20 11:29:22 +01:00
2026-07-16 23:42:47 +01:00
2026-07-06 16:43:21 +01:00
2026-07-06 16:38:42 +01:00
2026-07-18 19:07:16 +01:00
2026-07-10 02:11:36 +01:00
2026-07-09 10:44:50 +01:00
2026-07-20 11:41:44 +01:00
2026-07-06 12:46:12 +01:00
2026-07-20 15:40:32 +01:00
2026-07-20 11:29:22 +01:00
2026-07-02 22:29:30 +01:00
2026-07-04 22:12:47 +01:00
2026-07-17 10:54:07 +01:00
2026-07-08 12:45:08 +01:00
2026-07-15 10:58:57 +01:00
2026-07-03 18:34:41 +01:00
2026-07-04 22:12:47 +01:00
2026-07-06 12:44:47 +01:00
2026-07-17 00:02:15 +01:00
2026-07-09 00:32:21 +01:00
2026-07-09 00:32:21 +01:00
2026-07-09 01:06:02 +01:00
2026-07-11 11:56:38 +01:00
2026-07-16 16:36:49 +01:00
2026-07-04 21:22:39 +01:00
2026-07-04 03:12:23 +01:00
2026-07-15 19:51:53 +01:00
2026-07-18 12:03:47 +01:00
2026-07-12 10:36:00 +01:00
2026-07-06 00:45:51 +01:00
2026-07-06 16:38:42 +01:00
2026-07-06 12:36:12 +01:00
2026-07-07 10:57:52 +01:00
2026-07-11 11:31:47 +01:00
2026-07-18 19:07:16 +01:00
2026-07-10 20:24:25 +01:00
2026-07-18 19:09:53 +01:00
2026-07-16 23:36:49 +01:00
2026-07-04 03:12:23 +01:00
2026-07-15 15:14:34 +01:00
2026-07-20 15:02:54 +01:00
2026-07-16 16:38:12 +01:00
2026-07-02 22:38:29 +01:00
2026-07-02 22:38:28 +01:00
2026-07-04 03:12:23 +01:00
2026-07-02 22:38:29 +01:00
2026-07-03 16:03:18 +01:00
2026-07-14 23:32:02 +01:00
2026-07-20 13:57:12 +01:00
2026-07-18 12:03:34 +01:00
2026-07-05 10:33:07 +01:00