mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-19 00:03:33 +00:00
- Extract `repoInSubgroup` to `group-path-utils.ts` so `cross-impact.ts` and `service.ts` share a single implementation; the file-prefix helpers now also accept Windows-style backslashes by normalizing to POSIX before comparison (NB#1, NB#5). - `groupStatus` no longer redundantly `await import()`s `node:fs/promises` and `node:path` — the static imports at the top of `service.ts` are reused, removing the local-shadow risk (NB#2). - `groupContext` and `groupQuery` now fan their per-repo work out via `Promise.all` instead of a sequential `for...of` await loop. Errors remain isolated per repo and the result order matches the filtered member list (NB#3). - `runGroupImpact` now derives a single shared `deadline` from the caller-supplied `timeoutMs` before Phase 1, and Phase 2's fan-out reuses it instead of starting a fresh budget — total wall-clock can no longer exceed `timeoutMs` (NB#4). - New unit suite `test/unit/group/group-path-utils.test.ts` covers the shared helpers, including Windows-path normalization. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||
| global-setup.ts | ||
| vitest.d.ts | ||