Commit Graph
3 Commits
Author SHA1 Message Date
Willie 846bedb630 feat(check): add ParallelCheckURLs for deduped ls-remote 2026-02-25 07:02:54 +08:00
Willie 662dca58b8 fix(check): handle IsDirty error, improve test coverage
- Return early with error status when git.IsDirty fails instead of
  silently ignoring the error, which could mask real issues
- Add TestParallelCheckRepos_NilCallback for nil callback with real inputs
- Add index alignment assertions to TestParallelCheckRepos_CallbackCount
2026-02-25 07:02:54 +08:00
Willie 2947617d1e feat(check): add ParallelCheckRepos with bounded semaphore
Introduce internal/check package with ParallelCheckRepos that checks
multiple tracked repos concurrently using an 8-worker semaphore pattern
(matching audit/parallel.go). Each repo is checked for dirty state and
behind count via internal/git. Includes types for future URL-based
remote hash probing.
2026-02-25 07:02:54 +08:00