Pull Request has been successfully merged by openJiuwen-bot.
(Thank you for yutaoJustinBieber1223's contribution.)变更摘要
本 PR 属于仓库清理类变更,主要目的是把 intelli_router/ 模块下误提交的 Python 编译缓存从版本管理中移除,并通过根 .gitignore 规则防止其再次入库。删除对象覆盖 intelli_router/ 包内各子模块(core、cache、health、observability、parser、provider、router、strategy、utils)以及 tests/ 目录下的 __pycache__ 二进制缓存,业务源码、文档与 pyproject.toml 配置均未改动,因此对功能行为无影响。
主要改动
- 清理包内模块缓存: 删除
intelli_router/intelli_router/各子模块__pycache__目录下的.pyc文件,涵盖types、context、deployment、state、checker、bus、events、handler、metrics等模块的编译产物。 - 清理测试缓存: 删除
intelli_router/tests/__pycache__/下conftest及全部test_*.pyc,其中包含 pytest 断言重写机制生成的*-pytest-9.1.1.pyc缓存文件。 - 覆盖多解释器版本产物: 被删除的缓存同时包含
cpython-313与cpython-315两种解释器版本的.pyc,即两个 Python 版本产生的本地缓存一并从仓库移除。 - 补充忽略规则: 在根
.gitignore中新增__pycache__/与*.pyc规则(此前仅有.venv/),使后续本地生成的字节码缓存不再被纳入版本管理。


欢迎来到 openJiuwen 社区
Hey @JustinBieber1223 , 感谢你对社区的贡献.
机器人使用手册
有关指令的使用,可以点击 此处 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。
联系指引
有疑问可以联系 SIG: sig-agent-protocol ,
维护者是: @YiyangShao, @xinyu-jiuwen ,
审核者是: @gcw_hx9prznZ, @mingo007 .


The pipeline(pipeline number:377) is running. Please wait a moment...


整体过了一遍,删得干净。148 个 .pyc 全部落在 __pycache__ 下,删完全仓已无残留;.gitignore 两条规则任意层级生效,覆盖后续所有 Python 模块;源码零改动。这部分ok。
代码本身 LGTM。


/lgtm
/approve


/check-pr


Merge Verification Failed
@JustinBieber1223, this pr is not mergeable and the reasons are below:
Label BlockList
- the ci-failed label(s) caused the pull request to be unable to merge.
Not Enough Labels
- the pull request needs 1 ci-successful labels, but now gets 0.
Label Usage Tips


The pipeline(pipeline number:377) is running. Please wait a moment...


/check-pr


Merge Verification Failed
@JustinBieber1223, this pr is not mergeable and the reasons are below:
Not Enough Labels
- the pull request needs 1 approved labels, but now gets 0.
- the pull request needs 1 lgtm labels, but now gets 0.
Label Usage Tips
- approved: Agree to merge the pull request. This can be accomplished by commenting
/approve - lgtm: The code has been reviewed. This can be accomplished by commenting
/lgtm


/lgtm
/approve


Paired: GitHub #179 ↔ GitCode !377
变更内容
intelli_router/下误提交的 148 个 .pyc 缓存文件(11 个__pycache__目录,约 4.6MB).gitignore补充__pycache__/与*.pyc规则,防止缓存再次入库(此前仅有.venv/一行)背景
e5755f5(chore(intelliRouter): merge IntelliRouter module into develop)合入模块时将
__pycache__一并提交进了仓库。.pyc是解释器按需自动重建的本地缓存,不应纳入版本管理。影响范围
.gitignore;intelli_router/其余 80 个文件(77 个.py源码、2 个.md、1 个pyproject.toml)完全不变关联 issue
修复 issue:#86
Linked Closing Issues: