Skip to content

Update pr_checker.js - #287

Merged
joyeecheung merged 1 commit into
nodejs:masterfrom
srl295:patch-1
Oct 5, 2018
Merged

Update pr_checker.js#287
joyeecheung merged 1 commit into
nodejs:masterfrom
srl295:patch-1

Conversation

@srl295

Copy link
Copy Markdown
Member

Clarify that the wait time is a minimum not a maximum. Also see #131

@srl295

Copy link
Copy Markdown
MemberAuthor

failed because of tests… 

@codecov

codecovBot commented Oct 5, 2018

Copy link
Copy Markdown

Codecov Report

Merging #287 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@## master #287 +/- ##
=======================================
Coverage 74.03% 74.03% =======================================
Files 22 22 Lines 1406 1406 =======================================
Hits 1041 1041 Misses 365 365
Impacted FilesCoverage Δ
lib/pr_checker.js98.39% <100%> (ø)⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38fbb3e...16b5776. Read the comment docs.

Comment threadlib/pr_checker.js Outdated
const type = wait.isWeekend ? 'weekend' : 'weekday';
cli.info(`This PR was created on ${dateStr} (${type} in UTC)`);
cli.warn(`${wait.timeLeft} hours left to land`);
cli.warn(`Wait at least ${wait.timeLeft} hours before landing`);

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.

Optional nit: Maybe to avoid more confusion make it "Wait at least N more hours before landing"? So that someone doesn't see that it says to wait 4 hours before landing, look at their PR and think "it's been open for two days, I can land it now because I waited 4 hours!"

@srl295srl295Oct 5, 2018

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

srl295 added a commit to srl295/node-core-utils that referenced this pull request Oct 5, 2018
@joyeecheung
joyeecheung merged commit e11cdc8 into nodejs:masterOct 5, 2018
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.

5 participants

@srl295@Trott@joyeecheung@richardlau@priyank-p