GitNexus/gitnexus/test
Sir Lord Brian Frank Burkett b75e56a9cf
feat(ingestion): opt-in indexing of named dot directories (GITNEXUS_INCLUDE_DOT_DIRS) (#3745)
* feat(ingestion): opt-in indexing of named dot directories (GITNEXUS_INCLUDE_DOT_DIRS)

* fix(walker): a listed dot directory absent from the repo is empty, not a scan failure

The root-level pattern makes glob read the listed directory itself; in strict enumeration (onPathsDiscovered) that ENOENT was recorded as fatal. Skip ENOENT only for the listed roots; every other read error stays fatal.

* fix(ingestion): protect dot-directory indexing

* fix(ingestion): use glob public path type

Keep the parse-cache dependency ownership audit intact and strengthen the unlisted-directory control with a non-ignored path.

* fix(ingestion): verify symlinks after globbing

Glob can emit descendants before its cached parent type identifies a symlink. Verify filesystem ancestry before metadata callbacks and content readers, sharing parent checks across candidates.

Regression coverage includes already-emitted linked paths and fail-closed inspection errors. A 1000-walk stress probe changed from 36 leaks to zero.

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-10-29 07:02:45 +00:00
..
fixtures feat: add the test scenario map and a Vitest 5 mutation runner (#3686) 2026-10-27 16:46:58 +00:00
helpers feat(ci): rebalance test shards from recorded timings (#3748) 2026-10-28 11:58:29 +00:00
integration feat(ingestion): opt-in indexing of named dot directories (GITNEXUS_INCLUDE_DOT_DIRS) (#3745) 2026-10-29 07:02:45 +00:00
unit feat(ingestion): opt-in indexing of named dot directories (GITNEXUS_INCLUDE_DOT_DIRS) (#3745) 2026-10-29 07:02:45 +00:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00