| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore: 清理旧 app 框架及消费方 Co-authored-by: wangmingqi<wangmingqi@huawei.com> # message auto-generated for no-merge-commit merge: !407 merge develop into develop chore: 清理旧 app 框架及消费方 Created-by: wangmingqi Commit-by: wangmingqi Merged-by: ZYQ5333 Description: Paired: [GitHub #28](https://github.com/openJiuwen-ai/agent-runtime/pull/28) ↔ [GitCode !407](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/407) <!-- 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: 407 github_repo: openJiuwen-ai/agent-runtime github_pr: 28 github_branch: sync/pr-407 --> See merge request: openJiuwen/agent-runtime!407 | 1 个月前 | |
fix(session-manager): 冷启动中失败误标 max_pods 封顶——新增 PodsStartingUp 分流文案 pc=1 时 follower 等待室上限 pc-1=0,deploy 锁输家全部快失败,此前统一映射 MaxPodsReached → 客户端看到 "reached max_pods=400" 而实际 total 远未达上限, 误导排障(2026-09-21 测试环境实录:4 用户突发,暖池 2 个服务前 2 个,后 2 个 在 autoscale 持锁部署期间快失败,真因 deploy followers full(0))。 - errors.py:新增 RM 内部异常 PodsStartingUp(PODS_STARTING_UP,503)—— 语义"新 Pod 冷启动中,稍后即有",区别于 MaxPodsReached"额度用尽" - RM _follow_leader:等待室满/等待超时两处 raise 改抛 PodsStartingUp (英文真因 detail 保留进日志);SM _acquire_pod 新增映射分支: 文案 "Pod 冷启动中,暂时没有可用 Pod,请稍后再试",真封顶仍报 max_pods=N - 测试:dual e2e test_deploy_follower_cap_strict_fast_fail 增加文案回归断言 - 文档:同步 HLD 错误码表/acquire 走向表、RM 设计 §7、SM spec 映射行、 service-core 错误码清单 uv run pytest:574 passed, 9 skipped Co-Authored-By: Claude <noreply@anthropic.com> | 8 天前 | |
feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Co-authored-by: wangmingqi<wangmingqi@huawei.com> # message auto-generated for no-merge-commit merge: !408 merge develop into develop feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Created-by: wangmingqi Commit-by: wangmingqi Merged-by: cyz95 Description: Paired: [GitHub #30](https://github.com/openJiuwen-ai/agent-runtime/pull/30) ↔ [GitCode !408](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/408) <!-- 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: 408 github_repo: openJiuwen-ai/agent-runtime github_pr: 30 github_branch: sync/pr-408 --> See merge request: openJiuwen/agent-runtime!408 | 1 个月前 | |
feat:增加用量查询 Co-authored-by: wangxin<wangxin375@huawei.com> # message auto-generated for no-merge-commit merge: !570 merge develop into develop feat:增加用量查询 Created-by: programmegirl Commit-by: wangxin Merged-by: cyz95 Description: Paired: [GitHub #239](https://github.com/openJiuwen-ai/agent-runtime/pull/239) ↔ [GitCode !570](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/570) <!-- 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 feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 570 github_repo: openJiuwen-ai/agent-runtime github_pr: 239 github_branch: sync/pr-570 --> See merge request: openJiuwen/agent-runtime!570 | 1 天前 | |
安全审计日志:修复多副本gateway热更新问题 Co-authored-by: hanjiahui<hanjiahui5@huawei.com> # message auto-generated for no-merge-commit merge: !556 merge develop-audit into develop 安全审计日志:修复多副本gateway热更新问题 Created-by: hanjiahui Commit-by: hanjiahui Merged-by: cyz95 Description: Paired: [GitHub #225](https://github.com/openJiuwen-ai/agent-runtime/pull/225) ↔ [GitCode !556](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/556) <!-- 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: 556 github_repo: openJiuwen-ai/agent-runtime github_pr: 225 github_branch: sync/pr-556 --> See merge request: openJiuwen/agent-runtime!556 | 5 天前 | |
feat(service): 新增主备定时任务并接入 SystemContext Co-authored-by: zhangxiangyu52<zhangxiangyu52@huawei.com> # message auto-generated for no-merge-commit merge: !426 merge develop into develop feat(service): 新增主备定时任务并接入 SystemContext Created-by: zhangxiangyu52 Commit-by: zhangxiangyu52 Merged-by: wangmingqi Description: Paired: [GitHub #57](https://github.com/openJiuwen-ai/agent-runtime/pull/57) ↔ [GitCode !426](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/426) <!-- 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 feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> ## Summary 在 openjiuwen_runtime.service 中新增**主备周期任务**(同一时刻全局只有一个实例执行回调),并接到 SystemContext。 业务侧推荐入口: ```python job = ctx.create_single_leader_job(name="demo", on_tick=on_tick) await job.start() # ... await job.stop() <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 426 github_repo: openJiuwen-ai/agent-runtime github_pr: 57 github_branch: sync/pr-426 --> See merge request: openJiuwen/agent-runtime!426 | 1 个月前 | |
agent-runtime 分布式服务首提交 docs(e2e): 新增端到端测试用例说明——全部场景/输入/预期输出逐条化 docs/e2e-test-cases.md: - 四层体系总览(双实例 pytest / M6 冒烟 65 项 / 多副本 e2e 35 项 / 压测) 与退出码约定 - 通用约定:请求信封格式、错误码契约表、Redis 真相源键、前置自检与 FLUSHDB 防误刷语义 - M6 冒烟:模板矩阵 + 13 阶段 52 条用例逐条(场景映射/输入/预期) - 多副本 e2e:S0–S8 逐条(含 DEGRADED 语义、failover 目标选择、 winner∈candidates 互斥不变量) - 双实例 12 用例与压测 3 场景的输入/判定 - 环境与重现手册(Redis DB1/DB2 约定、集群部署、逐层命令) - 已知语义差异(多副本冷突发 NO_POD_AVAILABLE、冷竞争双 Pod 自愈、 场景 N 暂缓、config_sync 串行) README/code-guide §7/CLAUDE.md 增交叉引用 Co-Authored-By: Claude <noreply@anthropic.com> fix(e2e): 经多副本 LB 跑 M6 冒烟 63/65 的根因修复——65/65 两处失败初判「多副本冷突发语义」,排查证明均为部署配置差异: 1. F-队列超时 504 缺失:集群部署漏设 AGENT_RUNTIME_SCOPE_FULL_TIMEOUT (默认 30s 恰等于 tpl-f session_ttl=30s)→ 等待者 deadline≈会话到期, 被到期驱逐的 PUBLISH 提前唤醒 → 竞态窗口内 2×NO_POD_AVAILABLE+ 2×200 混合、无干净 504。修复:部署模板补该变量(默认 8,红线注释 「须显著小于 session_ttl」)+ env.example。 2. cleanup 空目标 500:admin 凭据对不存在 ns list 得空列表,in-cluster SA 的 namespaced RBAC 先行 403 → ApiException 未处理裸 500(4/4 稳定 复现)。修复:产品 cleanup 对 404 容忍为 cleaned=0(跨凭据形态行为 对齐),403 保持 fail-fast(静默清零会掩盖 RBAC 配错);+2 单测。 测试空目标改用无匹配 label_selector——期间实测踩坑:业务 ns 会误删 同 label 真实 AgentServer(default ns 2 个 gateway 管理的 Pod 被误删, 其一 16s 自愈,handoff §十一.6 教训再现);min_idle 热备 1s 重建致 刚清空的 ns 也不为空。三坑实录入 docs/e2e-test-cases.md §8.1。 验证:M6 冒烟经 LB 65/65 + 单实例 65/65;多副本 e2e 35/35; pytest 104→106 全绿。文档计数与归因同步(CLAUDE/README/code-guide/ handoff §十一.1 补记)。 Co-Authored-By: Claude <noreply@anthropic.com> | 1 个月前 | |
feat: VA上游报错后调Agent生成降级回复,确保SSE流包含final_answer Co-authored-by: xiongxing<xiongxing6@huawei.com> # message auto-generated for no-merge-commit merge: !394 merge feature/xx_a2a_gateway into develop feat: VA上游报错后调Agent生成降级回复,确保SSE流包含final_answer Created-by: xiongxing Commit-by: xiongxing Merged-by: ZYQ5333 Description: <!-- 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**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> See merge request: openJiuwen/agent-runtime!394 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 8 天前 | ||
| 1 个月前 | ||
| 1 天前 | ||
| 5 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 |