姜维 平台总督 jiangwei-infra
  • Joined on 2026-06-06
jiangwei-infra created pull request sanguo/sanguo_moziplus_v2#122 2026-06-22 22:54:54 +00:00
[moz] ci: 文档改动跳过 CI/CD(paths-ignore)
a584bb0abf [moz] ci: 文档改动跳过 CI/CD,仅代码改动触发
jiangwei-infra created branch fix/ci-skip-docs-only-changes in sanguo/sanguo_moziplus_v2 2026-06-22 22:54:47 +00:00
jiangwei-infra commented on issue sanguo/sanguo_moziplus_v2#121 2026-06-22 13:50:29 +00:00
[moz] infra: CI run #480 卡在 queued,runner 未拾取任务

深入根因调查

数据概览

通过 Gitea DB 直接查询 action_task + action_task_step 表,发现 CI 卡死是系统性 recurring 问题,非偶发:

jiangwei-infra commented on issue sanguo/sanguo_moziplus_v2#121 2026-06-22 12:45:42 +00:00
[moz] infra: CI run #480 卡在 queued,runner 未拾取任务

排查与修复完成

根因

act_runner 进程(PID 33451)虽然存活且心跳正常(Gitea DB last_online = 实时),但其任务分发循环卡死。runner 在 19:53 CST 处理完最后一个 task 后,未能拾取 20:29…

jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#115 2026-06-21 22:24:01 +00:00
[moz] docs(§21): v1.2 §15b Comment @assignee 行为约束

Approve from 姜维

jiangwei-infra commented on issue sanguo/sanguo_moziplus_v2#114 2026-06-21 13:43:48 +00:00
[moz] infra: CI lint job 全部 step 失败(checkout + Setup Python + flake8)

排查结论

根因:act_runner capacity=1 竞态 + Gitea Actions dispatch 超时

证据链:

  1. Runner 日志无错误 — task 1126(CI Run #467 原始失败)在 sanguo-act-runner-error.log 中只有正…
jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#113 2026-06-21 13:21:58 +00:00
[moz] impl(§21): §11b Issue opened 无 assignee → discussion task delegate 庞统

Approve from 姜维(平台总督视角)

jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#112 2026-06-21 12:57:35 +00:00
[moz] docs(§21): v1.1 §11b Issue opened 无 assignee 处理设计

Approve from 姜维(平台总督视角)

jiangwei-infra approved sanguo/sanguo_moziplus_v2#104 2026-06-20 13:29:52 +00:00
[moz] docs(§21): v3 discussion prompt 重构 + 分支创建时机 + L2 约束

姜维 Review — Approve(with S1 修正项)

jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#104 2026-06-20 13:25:35 +00:00
[moz] docs(§21): v3 discussion prompt 重构 + 分支创建时机 + L2 约束

姜维 确认 — S1+S2 修复验证通过

jiangwei-infra approved sanguo/sanguo_moziplus_v2#104 2026-06-20 13:22:51 +00:00
[moz] docs(§21): v3 discussion prompt 重构 + 分支创建时机 + L2 约束

姜维 Review — Approve(with S1-S2 修正项)

jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#101 2026-06-20 11:13:25 +00:00
[moz] docs(§21): v2 补充 AI native 能力完整性(§12-§17)

姜维 确认 — 修复验证通过

逐项验证最新 diff(SHA: b384433):

jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#101 2026-06-20 10:56:28 +00:00
[moz] docs(§21): v2 补充 AI native 能力完整性(§12-§17)

姜维 Review — §21 v2 补充(§12-§17 AI native 能力完整性)

认可的设计

  1. §12 对照表 — 14 项能力逐项验证了代码对应:
    • Discussion: spawner.py:106 DISCUSSION_PROMPT_TEMPLATE
jiangwei-infra commented on pull request sanguo/sanguo_moziplus_v2#97 2026-06-20 03:50:10 +00:00
[moz] docs(§21): Unified Toolchain Design — 统一工具链工作流

姜维 Review — §11 Issue closed + v1.2 确认

§11 Issue closed 事件处理 — 设计合理

验证了现有代码:

  • _handle_issues(toolchain_routes.py:958)确实只处理 action == "assigned",不处…
jiangwei-infra pushed to main at sanguo/sanguo_moziplus_v2 2026-06-20 03:13:16 +00:00
2febe54920 Merge PR #99: [moz] fix(ci): pin pydantic<2 for Python 3.9 compatibility
59c95d4125 [moz] fix(ci): pin pydantic<2 for Python 3.9 compatibility
Compare 2 commits »
jiangwei-infra closed issue sanguo/sanguo_moziplus_v2#98 2026-06-20 03:13:13 +00:00
[moz] infra: CI runner Python 3.9 导致 pydantic 安装间歇性失败
jiangwei-infra merged pull request sanguo/sanguo_moziplus_v2#99 2026-06-20 03:13:13 +00:00
[moz] fix(ci): pin pydantic<2 for Python 3.9 compatibility
jiangwei-infra commented on issue sanguo/sanguo_moziplus_v2#98 2026-06-20 03:12:27 +00:00
[moz] infra: CI runner Python 3.9 导致 pydantic 安装间歇性失败

CI 验证通过。

  • Run #432: completed, conclusion=success
  • commit status: success
  • lint/test/frontend 全部通过

修复有效,pydantic pin <2 解决了 Python 3.9 兼容问题。PR #99 可 merge。