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: remove unused errors #56607

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pmarchini
Copy link
Member

It seems that ERR_TAP_PARSER_ERROR,ERR_TAP_LEXER_ERROR and ERR_TAP_VALIDATION_ERROR are no longer used in the codebase.
Does it make sense to perform some housekeeping by removing them?

@nodejs-github-bot nodejs-github-bot added errors Issues and PRs related to JavaScript errors originated in Node.js core. needs-ci PRs that need a full CI run. labels Jan 15, 2025
@pmarchini
Copy link
Member Author

@cc @nodejs/test_runner

@pmarchini pmarchini added the test_runner Issues and PRs related to the test runner subsystem. label Jan 15, 2025
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.20%. Comparing base (062ae6f) to head (d207e7e).
Report is 76 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56607      +/-   ##
==========================================
+ Coverage   89.12%   89.20%   +0.07%     
==========================================
  Files         662      662              
  Lines      191555   191801     +246     
  Branches    36859    36920      +61     
==========================================
+ Hits       170722   171092     +370     
+ Misses      13694    13563     -131     
- Partials     7139     7146       +7     
Files with missing lines Coverage Δ
lib/internal/errors.js 97.46% <ø> (+0.45%) ⬆️

... and 97 files with indirect coverage changes

@@ -2821,25 +2821,6 @@ An unspecified or non-specific system error has occurred within the Node.js
process. The error object will have an `err.info` object property with
additional details.

<a id="ERR_TAP_LEXER_ERROR"></a>
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a section on this page for legacy errors that are no longer used. I think these should be moved there?

Copy link
Member Author

@pmarchini pmarchini Jan 15, 2025

Choose a reason for hiding this comment

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

Moved them under the correct section!

@pmarchini pmarchini force-pushed the test_runner/remove-unsued-tap-errors branch from d207e7e to a817ea6 Compare January 15, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Issues and PRs related to JavaScript errors originated in Node.js core. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants