docs: #19 工具链事件中枢上下文四层改造方案 #2

Closed
pangtong-fujunshi wants to merge 33 commits from docs/19-toolchain-context-layers into main
Showing only changes of commit ce7c1e7108 - Show all commits
+2
View File
@@ -400,6 +400,8 @@ async def _handle_issues(payload: Dict[str, Any]) -> None:
async def _handle_issue_comment(payload: Dict[str, Any]) -> None:
"""处理 issue_comment 事件:CI 失败关键词 → 通知 PR 作者。"""
# DEBUG: log full payload for investigation
logger.info("issue_comment FULL PAYLOAD: %s", json.dumps(payload, ensure_ascii=False)[:3000])
comment = payload.get("comment")
if not comment or not isinstance(comment, dict):
logger.warning("issue_comment event missing comment field, skipping")