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

test_runner: pass options directly to TestCoverage #55578

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

RedYetiDev
Copy link
Member

This should make future modifications to the TestCoverage class simpler, as additional options don't need to be added to the constructor.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. labels Oct 28, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.32%. Comparing base (5633c62) to head (c982694).
Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
lib/internal/test_runner/coverage.js 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55578      +/-   ##
==========================================
+ Coverage   87.93%   88.32%   +0.39%     
==========================================
  Files         654      654              
  Lines      187686   187658      -28     
  Branches    35819    36049     +230     
==========================================
+ Hits       165038   165746     +708     
+ Misses      15849    15125     -724     
+ Partials     6799     6787      -12     
Files with missing lines Coverage Δ
lib/internal/test_runner/coverage.js 64.34% <95.83%> (-0.47%) ⬇️

... and 98 files with indirect coverage changes

Copy link
Member

@pmarchini pmarchini left a comment

Choose a reason for hiding this comment

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

LGTM

@RedYetiDev RedYetiDev added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Oct 29, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@RedYetiDev
Copy link
Member Author

CI is 💚 , can someone add the commit-queue label so once 48hrs pass this can land quickly and smoothly?

@JakobJingleheimer
Copy link
Member

IIR, you can add it whenever, and once the wait time has elapsed, it will kick in automatically

@RedYetiDev
Copy link
Member Author

RedYetiDev commented Oct 29, 2024

IIR, you can add it whenever, and once the wait time has elapsed, it will kick in automatically

I can't, I'm not a collaborator. If I could, I would.

@pmarchini pmarchini added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 29, 2024
@JakobJingleheimer
Copy link
Member

It looks like CI stalled after everything passed, and just didn't mark itself completed.

@JakobJingleheimer JakobJingleheimer removed the needs-ci PRs that need a full CI run. label Oct 30, 2024
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 30, 2024
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/55578
✔  Done loading data for nodejs/node/pull/55578
----------------------------------- PR info ------------------------------------
Title      test_runner: pass `options` directly to `TestCoverage` (#55578)
Author     Aviv Keller <[email protected]> (@RedYetiDev)
Branch     RedYetiDev:options-testcoverage -> nodejs:main
Labels     author ready, test_runner
Commits    1
 - test_runner: pass `options` directly to `TestCoverage`
Committers 1
 - RedYetiDev <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/55578
Reviewed-By: Moshe Atlow <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/55578
Reviewed-By: Moshe Atlow <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Mon, 28 Oct 2024 23:00:22 GMT
   ✔  Approvals: 1
   ✔  - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/55578#pullrequestreview-2401251223
   ✘  This PR needs to wait 119 more hours to land (or 0 hours if there is one more approval)
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2024-10-29T14:40:07Z: https://ci.nodejs.org/job/node-test-pull-request/63337/
- Querying data for job/node-test-pull-request/63337/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/11603069194

@RedYetiDev
Copy link
Member Author

RedYetiDev commented Oct 30, 2024

The GitHub bot didn't count at @pmarchini's review to do a typo in the README. See #55625

@RedYetiDev RedYetiDev removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Oct 31, 2024
@RedYetiDev
Copy link
Member Author

Thanks @rluvaton! Now that this has two countable reviews, can someone add the commit-queue label?

@rluvaton rluvaton added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 1, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 1, 2024
@nodejs-github-bot nodejs-github-bot merged commit 9b6cea6 into nodejs:main Nov 1, 2024
80 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 9b6cea6

RafaelGSS pushed a commit that referenced this pull request Nov 1, 2024
PR-URL: #55578
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Raz Luvaton <[email protected]>
louwers pushed a commit to louwers/node that referenced this pull request Nov 2, 2024
tpoisseau pushed a commit to tpoisseau/node that referenced this pull request Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test_runner Issues and PRs related to the test runner subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants