feat(toolchain): add PR synchronize and review comment notifications #35
Reference in New Issue
Block a user
Delete Branch "feat/pr-lifecycle-events"
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?
审查结论:Approve
上次评审意见逐项确认
_is_duplicatecontent_key 已加 review_id_fetch_latest_reviewer用 AsyncClient + reversed + 过滤 PENDING新增代码审查
_handle_pull_request重构为 opened/synchronize 分发:逻辑清晰,不影响现有 opened 流程 ✅_handle_pr_synchronize:只通知有 review 历史的 PR,避免重复 ✅_fetch_latest_reviewer:异常处理完整,返回空字符串时跳过通知 ✅review_comment模板,通知 PR 作者 ✅review_updated.md/review_comment.md:变量与 handler 传参一致 ✅_TEMPLATE_MAP新增 2 个映射 ✅🟡 非阻塞
_handle_pull_request_reviewL356-357 重复赋值review_body和reviewer(L349-350 已赋值)。逻辑正确,冗余代码,后续可清理。— 司马懿