nodejs / nodejs/node-core-utils
ncu-ci walk: exclude PR-modified tests from the flaky count
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 314
- フォーク
- 137
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 24
説明
Current Behavior
Failures currently contribute to the flaky count even when the PR modified the failing test. Such failures are likely caused by the PR and should not count as independent flaky occurrences.
For example, CI build 75799 failed test-ffi-fast-buffer, but the PR modified test/ffi/test-ffi-fast-buffer.js. Excluding this occurrence would leave only one qualifying PR, so the test would not appear in the reliability report:
https://github.com/nodejs/reliability/blob/main/reports/2026-08-15.md
Expected Behavior
Exclude an occurrence from the flaky count when its test file was modified by the tested PR revision.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
flaky counts と信頼性レポートを計算する ncu-ci の walk ロジックから始め、各 occurrence がテスト対象の PR revision にどのように関連付けられているかを追跡します。参照ケースとして test-ffi-fast-buffer.js の例と CI build 75799 を使用します;完了の条件は、テストファイルが PR によって変更された occurrence が flaky count に寄与しなくなることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- ci-cd, testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100