Skip to content

fix: accurately define ncu-ci report condition - #697

Merged
targos merged 1 commit into
nodejs:mainfrom
tniessen:ncu-ci-two-prs
Jun 12, 2023
Merged

fix: accurately define ncu-ci report condition#697
targos merged 1 commit into
nodejs:mainfrom
tniessen:ncu-ci-two-prs

Conversation

@tniessen

Copy link
Copy Markdown
Member

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

codecovBot commented May 3, 2023

Copy link
Copy Markdown

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.

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
Copy Markdown
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';

@MoLowMoLow left a comment

Copy link
Copy Markdown
Member

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:mainJun 12, 2023
@github-actionsgithub-actionsBot mentioned this pull request Jun 12, 2023
Sign up for freeto 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

@tniessen@MoLow@targos