ncu-ci walk: exclude PR-modified tests from the flaky count
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
Research direction
Start with the ncu-ci walk logic that calculates flaky counts and reliability reports, then trace how each occurrence is associated with the tested PR revision. Use the test-ffi-fast-buffer.js example and CI build 75799 as the reference case; done means occurrences whose test file was modified by the PR no longer contribute to the flaky count.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- JavaScript
- Stars
- 313
- Forks
- 137
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 24
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodejs/node-core-utils
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
nodejs/node-core-utils#664 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
nodejs/node-core-utils#1160 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
nodejs/node-core-utils#1151 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
nodejs/node-core-utils#1063 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
nodejs/node-core-utils#967 · 4 comments ·
All issues in nodejs/node-core-utils
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
light
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aemdemos/patients-stryker#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·