Colby Mchenry and GitHub
2472508549
fix(installer,cli): refuse to index $HOME / filesystem root ( #860 )
...
Running the installer or `codegraph init`/`index` from $HOME auto-indexed the
entire home tree (installer indexes process.cwd() with no guard), producing a
multi-GB ~/.codegraph/codegraph.db; the install dir sharing the ~/.codegraph
name then made every home subdir resolve its root to $HOME. On pre-1.0 macOS the
per-file watcher over that tree exhausted kern.maxfiles and crashed the machine
(#845 ; the fd blowup was fixed in 1.0.0, this fixes the root cause).
Add unsafeIndexRootReason() and refuse the home dir, a parent of home, and
filesystem roots at the installer auto-index, `init`, and `index`. Overridable
with --force. Closes #845 .
2026-06-13 12:35:18 -05:00
..
2026-04-06 14:27:13 -05:00
2026-06-02 10:15:27 -05:00
2026-05-31 18:41:41 -05:00
2026-05-31 18:41:41 -05:00
2026-05-21 15:48:04 -05:00
2026-06-08 00:10:10 -04:00
2026-06-08 22:43:54 -04:00
2026-01-18 18:48:22 -06:00
2026-06-08 01:25:21 -04:00
2026-06-06 16:43:02 -04:00
2026-05-26 13:09:11 -05:00
2026-05-24 04:41:04 -05:00
2026-06-12 11:26:33 -05:00
2026-06-02 10:15:27 -05:00
2026-06-02 10:15:27 -05:00
2026-06-06 11:02:59 -04:00
2026-06-12 13:17:29 -05:00
2026-05-26 02:14:00 -05:00
2026-06-13 09:48:44 -05:00
2026-06-11 11:09:05 -05:00
2026-05-28 12:38:03 -05:00
2026-06-11 18:50:11 -05:00
2026-06-11 15:44:14 -05:00
2026-05-28 12:38:03 -05:00
2026-05-28 23:41:11 -05:00
2026-05-20 10:32:08 -05:00
2026-05-19 10:45:20 -05:00
2026-06-11 11:25:13 -05:00
2026-06-12 11:43:18 -05:00
2026-05-28 15:13:23 -05:00
2026-05-20 18:36:18 -05:00
2026-06-02 14:23:33 -05:00
2026-06-13 11:51:57 -05:00
2026-05-28 12:38:03 -05:00
2026-06-08 01:25:21 -04:00
2026-05-25 23:48:10 -05:00
2026-05-26 15:39:48 -05:00
2026-06-02 17:49:15 -05:00
2026-05-25 19:54:56 -05:00
2026-05-20 11:35:13 -05:00
2026-06-02 14:21:29 -05:00
2026-06-11 20:50:22 -05:00
2026-06-12 00:43:32 -05:00
2026-06-12 12:41:22 -05:00
2026-06-08 13:48:42 -04:00
2026-05-21 15:48:04 -05:00
2026-05-21 15:48:04 -05:00
2026-05-31 19:05:40 -05:00
2026-05-22 11:38:28 -05:00
2026-06-02 10:15:27 -05:00
2026-06-06 15:05:35 -04:00
2026-06-08 20:18:17 -04:00
2026-05-26 03:25:06 -05:00
2026-06-06 11:02:59 -04:00
2026-06-11 18:50:11 -05:00
2026-06-06 11:02:59 -04:00
2026-06-11 16:24:22 -05:00
2026-05-07 20:35:49 -05:00
2026-06-08 01:02:34 -04:00
2026-05-21 15:48:04 -05:00
2026-06-02 17:50:33 -05:00
2026-06-11 12:04:51 -05:00
2026-05-07 22:03:33 -05:00
2026-05-26 02:14:00 -05:00
2026-05-26 02:14:00 -05:00
2026-06-02 10:15:27 -05:00
2026-05-21 18:06:02 -05:00
2026-06-12 10:37:19 -05:00
2026-06-11 14:48:11 -05:00
2026-06-13 12:35:18 -05:00
2026-06-06 13:38:38 -04:00
2026-05-22 05:39:24 -05:00
2026-05-21 18:06:02 -05:00
2026-06-02 14:21:29 -05:00
2026-06-02 10:15:27 -05:00