Repository navigation
build python version rag-flow - #21
Merged
Merged
Conversation
yingfeng
pushed a commit
that referenced
this pull request
Feb 5, 2024
* clean rust version project * clean rust version project * build python version rag-flow
yingfeng
pushed a commit
that referenced
this pull request
Feb 21, 2024
* clean rust version project * clean rust version project * build python version rag-flow
linzixuan45
pushed a commit
to linzixuan45/ragflow
that referenced
this pull request
Oct 22, 2026
准备性、行为等价的改动,为后续「通读路径的线程边界 + revision 单次读取」铺路。 - 新增 api/apps/services/corpus_errors.py:12 个异常类与 is_unavailable_io 原样搬出 (wire code / status 不变),corpus_fs_api.py、corpus_tool_service.py 与 3 个测试文件 改为从新模块导入;corpus_fs_service.py 不再定义它们。 - 删除 CorpusPathRegistry 与 _RegistryItem:tree() 每次列举都 put,而 get 全仓只有它 自己的测试调用,git log -S "self.registry.get" 零命中——只写不读。 - 删除零调用者的 CorpusRevisionService.bump_acl、CorpusCitationService.resolve、 corpus_tool_service._page,以及 _build_projection 里的 no-op except AmbiguousPathError。 engineering/corpus-fs.md §6.4 同步移除 bump_acl 引用(硬约束 infiniflow#21 的符号漂移点)。 - 清掉所触及文件里会让 CI 变红的既有 lint/格式债:7 处 BLE001 改为显式标注(宽 catch 是 契约,见文件内注释,不做 narrowing)、2 处 RUF059 改为 _document、1 处 F841 死变量删除。 验证:138 项 corpus 测试通过(services + restful_apis + mcp);ruff check/format 对 13 个 变更文件全清;tools/hooks/check_files.py docs 与 CI file-checks 全部通过。
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.
What problem does this PR solve?
Add corresponding issue link with summary if exists -->
Issue link:
What is changed and how it works?
Code changes
Check List
Tests
Side effects
Note for reviewer