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

Conversation

mmarchini
Copy link
Contributor

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 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: nodejs#466
@mmarchini
Copy link
Contributor Author

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);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: could this be cis.some()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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
@mmarchini mmarchini deleted the remove-lite-ci branch August 14, 2020 18:10
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.

Querying Lite-CI API will stuck git node land
4 participants