20b3b5facb
根因:notify-on-failure job 通过 commit status API 查询结果时, 自身的 pending status 会污染查询结果(竞态条件): 1. lint/test 都 success 2. notify 开始运行,自身状态 pending 写入 commit status 3. notify 查询 commit status → 看到 pending(自己的)≠ success 4. 误发 [CI] 失败 评论 + webhook 触发 Mail 通知 修复方案: - 不再查询 commit status API - 直接用 needs.lint.result 和 needs.test.result 判断 - 只有明确的 failure 才发通知 - 同时去掉 push 触发避免双倍运行