Commit 7a94bf1
committed
fix(github): pass repositoryPath to GitHubIndexer in agent initialization
Fixes CI test failures where getCurrentRepository() was being called
without a repository parameter, causing tests to fail in CI environment
where .git folder or gh CLI may not be configured.
**Root Cause:**
GitHubAgent.initialize() was creating GitHubIndexer with only codeIndexer,
missing the repositoryPath parameter. This caused the indexer to fall back
to getCurrentRepository(), which fails in CI.
**Fix:**
Pass this.config.repositoryPath as second argument to GitHubIndexer constructor.
**Testing:**
- All 14 integration tests pass locally ✅
- Should fix CI failures in PR #241 parent 39e185a commit 7a94bf1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments