Repository navigation
docs(architecture): remove incorrect provider_directory entry from wh… - #1238
Merged
lizhengfeng101 merged 1 commit intoSep 14, 2026
Merged
lizhengfeng101 merged 1 commit into
lizhengfeng101 merged 1 commit into
Conversation
…yExcluded list whyExcluded never returns provider_directory - the constant appears nowhere in internal/agent/selection.go, and is attached in internal/agent/preview.go, outside selectFiles entirely. The English page contradicted itself: the providerDirIgnoreDirs paragraph a few lines down already correctly said these files never reach the per-file filter. - en: remove the provider_directory line from the whyExcluded list - zh/ja/ko/ru: add the missing sentence to the providerDirIgnoreDirs paragraph (preview reports these as provider_directory, and an include rule cannot override the exclusion), matching each page's existing language convention - ko: also fix a wrong function name (filterDiffs -> isProviderDirExcluded) in the same paragraph Fixes alibaba#1237
Contributor
|
✅ OpenCodeReview: Review skipped: no items were selected. |
13 of 17 tasks
Githab-capibara
added a commit
to Githab-capibara/open-code-review
that referenced
this pull request
Sep 17, 2026
…yExcluded list (alibaba#1238) whyExcluded never returns provider_directory - the constant appears nowhere in internal/agent/selection.go, and is attached in internal/agent/preview.go, outside selectFiles entirely. The English page contradicted itself: the providerDirIgnoreDirs paragraph a few lines down already correctly said these files never reach the per-file filter. - en: remove the provider_directory line from the whyExcluded list - zh/ja/ko/ru: add the missing sentence to the providerDirIgnoreDirs paragraph (preview reports these as provider_directory, and an include rule cannot override the exclusion), matching each page's existing language convention - ko: also fix a wrong function name (filterDiffs -> isProviderDirExcluded) in the same paragraph Fixes alibaba#1237
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.
whyExcluded never returns provider_directory - the constant appears nowhere in internal/agent/selection.go, and is attached in internal/agent/preview.go, outside selectFiles entirely. The English page contradicted itself: the providerDirIgnoreDirs paragraph a few lines down already correctly said these files never reach the per-file filter.
Fixes #1237
Description
Fixes a self-contradiction in the English architecture.md (provider_directory was listed as a whyExcluded return value, but the function never returns it - verified against internal/agent/selection.go and internal/agent/preview.go), and syncs the corrected explanation to the zh/ja/ko/ru copies, which were missing it since #1223. Also fixes an unrelated wrong function name in the ko page found while editing the same paragraph.
Type of Change
How Has This Been Tested?
make testpasses locallyRan
make check(license-check, english-check, go vet) - passed, and confirmedgit statusshows no files touched outside the 5 architecture.md pages. Verified every technical claim in the issue directly against the source (grepped internal/agent/selection.go and internal/agent/preview.go, confirmed the exact line numbers cited for en/zh/ja/ko/ru, confirmed the ko page's filterDiffs reference doesn't exist anywhere in the codebase).Checklist
go fmt,go vet)AI/LLM disclosure: I used Gemini and Claude to help translate the zh/ja/ko/ru sentences. I also used Claude to verify against the source that this closes #1237 correctly and completely (checked for anything left unaddressed). The scope of the fix itself was already clear from the issue. I reviewed and understand every change before pushing.
Related Issues
Closes #1237