fix: _handle_pull_request 补充 synchronize action dispatch #60
Reference in New Issue
Block a user
Delete Branch "fix/pr-synchronize-dispatch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
PR 有新 push 后,reviewer 收不到自动复审通知。
根因(姜维排查)
_handle_pull_request只处理opened/closed,Gitea 发pull_request+action=synchronize时被静默丢弃。_handle_pr_synchronize已存在但未被 dispatch 到。修复
在
_handle_pull_request加elif action == synchronizedispatch(2 行)。pull_request_sync注册保留作为双保险。影响范围
单文件 2 行改动,只影响 PR push 事件处理,不影响其他事件类型。
APPROVED
风险级别:STANDARD
审查确认
核心改动:toolchain_routes.py
文档改动
遗留问题(M1 from PR #58/#59 仍存在)
G1. [07-spawner-acquire-first.md L73] 文件路径引用仍为 docs/design/24-compact-detection-fix.md,应为 15-compact-detection-fix.md(与 PR #58/#59 同一问题,建议单独一个 PR 统一修复)
Approve