Skip to content

build python version rag-flow - #21

Merged
KevinHuSh merged 3 commits into
infiniflow:mainfrom
KevinHuSh:main
Jan 15, 2024
Merged

KevinHuSh merged 3 commits into
infiniflow:mainfrom
KevinHuSh:main

Conversation

@KevinHuSh

Copy link
Copy Markdown
Contributor

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

  • Has Code change
  • Has CI related scripts change

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Note for reviewer

@KevinHuSh
KevinHuSh merged commit 038b36a into infiniflow:main Jan 15, 2024
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 全部通过。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant