nodejs / nodejs/node-core-utils
Cancelled GitHub CI rerun after success is treated as failure
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 314
- フォーク
- 137
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 24
説明
PR: https://github.com/nodejs/node/pull/43085
Action rerun attempt: https://github.com/nodejs/node/actions/runs/2320332585/attempts/7
git-node land output: https://github.com/nodejs/node/pull/43085#issuecomment-1126858386
At the moment of landing, the latest run of that action was cancelled, there were 5 prior successful runs, and GitHub UI reported everything as green.
However, ncu treated it as Last GitHub CI failed error, which is either wrong (not sure if easily fixable, as it requires failproof checking previous attempts) or confusing (Last GitHub CI cancelled might be a better error message).
Details: in PRChecker.checkGitHubCI(), commit.checkSuites.nodes[2] for this case was
{
app: { slug: 'github-actions' },
conclusion: 'CANCELLED',
status: 'COMPLETED'
}
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
PRChecker.checkGitHubCI() から開始し、リンクされた PR、アクションの試行、および git-node land の出力を再現コンテキストとして使用して、commit.checkSuites.nodes がどのように解釈されるかを調べます。以前に成功した実行の後で最新の GitHub Actions の実行がキャンセルされた場合の動作を確認します。報告される CI の状態とエラーメッセージがこのケースを正確に反映し、それをカバーするテストがあることを完了条件とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100