ncu-ci walk: exclude PR-modified tests from the flaky count

オープン
#1,164 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript
領域
ci-cd, testing

調査の方向性

flaky counts と信頼性レポートを計算する ncu-ci の walk ロジックから始め、各 occurrence がテスト対象の PR revision にどのように関連付けられているかを追跡します。参照ケースとして test-ffi-fast-buffer.js の例と CI build 75799 を使用します;完了の条件は、テストファイルが PR によって変更された occurrence が flaky count に寄与しなくなることです。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
313
フォーク
137
平均マージ
2日 8時間
マージ済み PR(30日)
24

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodejs/node-core-utils のほかの issue

nodejs/node-core-utils の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。