Repository navigation
Conversation
…-4871) scanProject only had time, file-size and depth limits, so a large repository kept growing the graph until the timeout. ScanOptions now takes maxFiles/maxNodes (defaults 20,000 / 50,000); hitting either stops the walk and records the budget in incompleteReasons.
… name order (AGT-4871)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇
ScanOptions에maxFiles(기본 20,000) /maxNodes(기본 50,000) 추가.incompleteReasons에file budget N reached/node budget N reached를 남긴다 (그래프는incomplete=true).walkDirectory인자를WalkContext하나로 묶었다.왜
scanProject는 시간·파일 크기·깊이 제한만 있어, 큰 저장소에서는 타임아웃 전까지 그래프가 계속 커졌다 (AGT-4871).검증
npx vitest run src/knowledge/— 7 files / 60 tests 통과 (신규 3: 파일 예산, 노드 예산 ≤ 상한, 예산 안이면 complete).npm run typecheck,oxlint src/knowledge/0 errors.