nodejs / nodejs/github-bot

Bot comment on build failure

未关闭
#251 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
305
派生
148
平均合并
9 小时 2 分钟
30 天内合并 PR
3

描述

(not when the job fails to start, but when the tests or build fails, so it wouldn't revert https://github.com/nodejs/github-bot/issues/238)

node-core-utils has this great tool ncu-ci pr, which can be used to get a list of failing tests. We could use the GitHub Bot to comment the result of ncu-ci pr back on the Pull Request when a build fails, so it's easier for folks to see which errors happened. Or the bot could edit it's own comment, to avoid notifications, but personally I would like to get notified (I understand folks might be opposed to it though).

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该提案围绕 node-core-utils 的 ncu-ci pr 命令和 GitHub Bot 展开;没有指定任何仓库文件或测试。首先追踪如何接收构建和测试失败,然后确定 bot 是发布还是编辑 pull request 评论。完成的标准是:只有当某个 job 已启动但其测试或构建失败时,所选行为才报告该命令的失败测试结果。

由索引模型根据 Issue 内容生成。

评估

技术栈
github, javascript, node.js
领域
ci-cd, devtools
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。