Skip to content
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

chore(land): remove lite-ci checks #468

Merged
merged 1 commit into from Aug 14, 2020
Merged

Conversation

@mmarchini
Copy link
Member

@mmarchini mmarchini commented Aug 8, 2020

Lite CI is not used anymore, but some PRs got Lite-CI runs after some
changes to the bot. node-core-utils Lite-CI parsing is not working
though, therefore ncu will fail to land those PRs. Removing Lite-CI
checks fix the issue and also reduces complexity.

Fix: #466

@codecov
Copy link

@codecov codecov bot commented Aug 8, 2020

Codecov Report

Merging #468 into master will increase coverage by 6.15%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #468      +/-   ##
==========================================
+ Coverage   76.41%   82.56%   +6.15%     
==========================================
  Files          27       34       +7     
  Lines        1717     1658      -59     
==========================================
+ Hits         1312     1369      +57     
+ Misses        405      289     -116     
Impacted Files Coverage Δ
lib/pr_checker.js 95.49% <66.66%> (ø)
lib/ci/ci_type_parser.js 81.35% <100.00%> (-0.47%) ⬇️
lib/ci/ci_utils.js 36.84% <0.00%> (-63.16%) ⬇️
lib/links.js 88.73% <0.00%> (-1.13%) ⬇️
lib/ci/ci_result_parser.js
lib/ci/run_ci.js 100.00% <0.00%> (ø)
lib/ci/build-types/benchmark_run.js 87.80% <0.00%> (ø)
lib/ci/build-types/fanned_build.js 18.42% <0.00%> (ø)
lib/ci/build-types/commit_build.js 79.31% <0.00%> (ø)
lib/ci/build-types/test_run.js 88.88% <0.00%> (ø)
... and 3 more

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 332576a...5730faf. Read the comment docs.

Lite CI is not used anymore, but some PRs got Lite-CI runs after some
changes to the bot. node-core-utils Lite-CI parsing is not working
though, therefore ncu will fail to land those PRs. Removing Lite-CI
checks fix the issue and also reduces complexity.

Fix: #466
@mmarchini mmarchini force-pushed the mmarchini:remove-lite-ci branch from 605af7c to 5730faf Aug 9, 2020
@mmarchini
Copy link
Member Author

@mmarchini mmarchini commented Aug 14, 2020

cc @nodejs/node-core-utils

codecov is complaining that we reduced coverage on the changes, which is n/a since this PR just removes code, so we should be good to land with some approvals :)

const cis = [...ciMap.keys()];
return cis.find(ci => isFullCI(ci) || isLiteCI(ci));
return cis.find(isFullCI);

This comment has been minimized.

@lundibundi

lundibundi Aug 14, 2020
Member

Nit: could this be cis.some()?

This comment has been minimized.

@mmarchini

mmarchini Aug 14, 2020
Author Member

Both work and both make sense, I don't think there's an upside to changing it

@mmarchini mmarchini merged commit 4b32ebc into nodejs:master Aug 14, 2020
8 of 9 checks passed
8 of 9 checks passed
Lint using ESLint
Details
Test on Node.js 10.x and ubuntu-latest
Details
Test on Node.js 10.x and macOS-latest
Details
Test on Node.js 12.x and ubuntu-latest
Details
Test on Node.js 12.x and macOS-latest
Details
Test on Node.js 14.x and ubuntu-latest
Details
Test on Node.js 14.x and macOS-latest
Details
codecov/patch 75.00% of diff hit (target 76.41%)
Details
codecov/project 82.56% (+6.15%) compared to 332576a
Details
@mmarchini mmarchini deleted the mmarchini:remove-lite-ci branch Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.