docs: #19 工具链上下文四层改造方案 #4

Closed
pangtong-fujunshi wants to merge 39 commits from docs/19-toolchain-context-layers-only into main
Showing only changes of commit 3bc629de8c - 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")