Skip to content

fix: accurately define ncu-ci report condition #697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

tniessen
Copy link
Member

@tniessen tniessen commented May 3, 2023

Problems are ignored if they occurred in less than two PRs. Thus, they are reported if they failed in two or more PRs.

const { reason, type, prs, failures, machines } = item;
if (prs.length < 2) { continue; }

Problems are ignored if they occurred in less than two PRs.
Thus, they are reported if they failed in two or more PRs.
@codecov
Copy link

codecov bot commented May 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4c2d84e) 83.38% compared to head (b24f21d) 83.38%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #697   +/-   ##
=======================================
  Coverage   83.38%   83.38%           
=======================================
  Files          37       37           
  Lines        4158     4158           
=======================================
  Hits         3467     3467           
  Misses        691      691           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -72,7 +72,7 @@ export class FailureAggregator {
let output = 'Failures in ';
output += `[${jobName}/${first.jobid}](${first.link}) to `;
output += `[${jobName}/${last.jobid}](${last.link}) `;
output += 'that failed more than 2 PRs\n';
output += 'that failed 2 or more PRs\n';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
output += 'that failed 2 or more PRs\n';
output += 'that failed multiple PRs\n';

Copy link
Member

@MoLow MoLow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whatever wording we go with, LGTM

@targos targos merged commit 02a9163 into nodejs:main Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants