safishamsi
2da192db56
fix(extract): bound the XAML code-behind .cs scan so it can't hang
...
_xaml_csharp_class_nodes did `sorted(root.rglob("*.cs"))` where `root` comes from
_xaml_project_root walking up for a .csproj/.sln marker. On a standalone
extract_xaml call (no corpus boundary), a .xaml under a large/shared parent (a
temp dir, or a big monorepo) could resolve `root` to a broad ancestor, and the
rglob then recursively scanned the entire tree — effectively hanging (it stalled
the test suite intermittently once the shared temp dir grew). Replace the rglob
with an os.walk that prunes noise/hidden dirs (node_modules/.venv/.git/...) during
traversal and caps directories visited, so a real project scans fully while a
runaway root degrades to a fast, partial scan instead of a hang. Regression test
asserts a decoy .cs in node_modules is pruned and the real ViewModel still links.
2026-07-22 19:31:19 +01:00
..
2026-07-15 10:58:57 +01:00
2026-07-15 15:09:17 +01:00
2026-07-21 18:39:05 +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-21 13:03:34 +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-01 15:09:42 +01:00
2026-07-16 23:48:07 +01:00
2026-07-15 13:13:30 +01:00
2026-07-22 15:57:54 +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-01 11:52:50 +01:00
2026-07-01 10:49:43 +01:00
2026-06-30 18:30:05 +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-06-30 19:32:10 +01:00
2026-07-22 16:11:15 +01:00
2026-07-22 18:40:11 +01:00
2026-07-22 19:31:19 +01:00
2026-07-17 00:09:02 +01:00
2026-07-22 15:27:07 +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-22 18:40:11 +01:00
2026-07-22 15:40:00 +01:00
2026-07-09 13:22:36 +01:00
2026-07-20 16:35:14 +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-06-30 16:58:23 +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-06-28 19:29:51 +01:00
2026-06-30 23:26:13 +01:00
2026-07-01 10:30:47 +01:00
2026-07-01 11:43:05 +01:00
2026-07-06 16:43:21 +01:00
2026-07-06 16:38:42 +01:00
2026-07-21 12:40:49 +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-21 12:59:10 +01:00
2026-06-29 09:40:22 +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-21 12:54:58 +01:00
2026-06-30 16:59:16 +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-21 21:45:53 +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-06-30 12:57:33 +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-02 12:11:51 +01:00
2026-07-21 21:46:42 +01:00
2026-06-30 23:15:52 +01:00
2026-07-16 16:38:12 +01:00
2026-07-21 14:22:50 +01:00
2026-07-02 11:46:22 +01:00
2026-06-30 16:59:16 +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