| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: harden subprocess deployer and venv cleanup (port of !555) Co-authored-by: zhangzj<zhangzhijun9@huawei.com> # message auto-generated for no-merge-commit merge: !575 merge fix/hardening-batch-develop into develop fix: harden subprocess deployer and venv cleanup (port of !555) Created-by: gp1000 Commit-by: zhangzj Merged-by: ZYQ5333 Description: Paired: [GitHub #245](https://github.com/openJiuwen-ai/agent-runtime/pull/245) ↔ [GitCode !575](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/575) ## 背景 本 MR 将 [!555](https://gitcode.com/openJiuwen/agent-runtime/pull/555)(目标分支 main)中的安全加固修改同步到 develop 分支,随后将关闭 !555。 ## 变更 - deployer.py - _processes 注解为 Dict[str, subprocess.Popen] - stop():terminate() 后用 asyncio.to_thread(process.wait, 10) 等待;超时则 kill() 并再次等待,避免阻塞事件循环 - get_status():使用 process.poll() 刷新 returncode - venv_manager.py - uv venv / ensurepip / pip install 增加超时 - 超时或异常时清理半成品 venv 目录,避免下次误判创建成功 - 新增回归测试 - foundation/tests/unit_tests/test_venv_manager.py - management/tests/unit_tests/test_subprocess_deployer.py ## 说明 - develop 分支不存在 cli/ 目录,故 !555 中 cli/main.py 的 weakref 关闭管理器改动**未**包含在本 MR 中。 - 本地验证:6 passed;ruff 现有 4 处 F401/F541 为 venv_manager.py 在 develop 上的既有问题,本 MR 未新增。 来源:!555(原目标分支 main) <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 575 github_repo: openJiuwen-ai/agent-runtime github_pr: 245 github_branch: sync/pr-575 --> See merge request: openJiuwen/agent-runtime!575 | 21 天前 | |
fix: harden subprocess deployer and venv cleanup (port of !555) Co-authored-by: zhangzj<zhangzhijun9@huawei.com> # message auto-generated for no-merge-commit merge: !575 merge fix/hardening-batch-develop into develop fix: harden subprocess deployer and venv cleanup (port of !555) Created-by: gp1000 Commit-by: zhangzj Merged-by: ZYQ5333 Description: Paired: [GitHub #245](https://github.com/openJiuwen-ai/agent-runtime/pull/245) ↔ [GitCode !575](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/575) ## 背景 本 MR 将 [!555](https://gitcode.com/openJiuwen/agent-runtime/pull/555)(目标分支 main)中的安全加固修改同步到 develop 分支,随后将关闭 !555。 ## 变更 - deployer.py - _processes 注解为 Dict[str, subprocess.Popen] - stop():terminate() 后用 asyncio.to_thread(process.wait, 10) 等待;超时则 kill() 并再次等待,避免阻塞事件循环 - get_status():使用 process.poll() 刷新 returncode - venv_manager.py - uv venv / ensurepip / pip install 增加超时 - 超时或异常时清理半成品 venv 目录,避免下次误判创建成功 - 新增回归测试 - foundation/tests/unit_tests/test_venv_manager.py - management/tests/unit_tests/test_subprocess_deployer.py ## 说明 - develop 分支不存在 cli/ 目录,故 !555 中 cli/main.py 的 weakref 关闭管理器改动**未**包含在本 MR 中。 - 本地验证:6 passed;ruff 现有 4 处 F401/F541 为 venv_manager.py 在 develop 上的既有问题,本 MR 未新增。 来源:!555(原目标分支 main) <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 575 github_repo: openJiuwen-ai/agent-runtime github_pr: 245 github_branch: sync/pr-575 --> See merge request: openJiuwen/agent-runtime!575 | 21 天前 | |
audit_log:添加审计日志观测及otel部署 Co-authored-by: hanjiahui<hanjiahui5@huawei.com> # message auto-generated for no-merge-commit merge: !547 merge develop-log into develop audit_log:添加审计日志观测及otel部署 Created-by: hanjiahui Commit-by: hanjiahui Merged-by: cyz95 Description: Paired: [GitHub #210](https://github.com/openJiuwen-ai/agent-runtime/pull/210) ↔ [GitCode !547](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/547) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 547 github_repo: openJiuwen-ai/agent-runtime github_pr: 210 github_branch: sync/pr-547 --> <!-- related-issues --> Linked Closing Issues: - [#148](https://gitcode.com/openJiuwen/agent-runtime/issues/148) <!-- /related-issues --> See merge request: openJiuwen/agent-runtime!547 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 21 天前 | ||
| 21 天前 | ||
| 1 个月前 |