FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test_runner: catch reporter errors by MoLow · Pull Request #49646 · nodejs/node · GitHub

/ node Public

test_runner: catch reporter errors - #49646

Closed
MoLow wants to merge 3 commits into
nodejs:mainfrom
MoLow:print-reporter-errors
Closed

test_runner: catch reporter errors#49646
MoLow wants to merge 3 commits into
nodejs:mainfrom
MoLow:print-reporter-errors

Conversation

MoLow commented Sep 14, 2023

Copy link
Copy Markdown
Member

Fixes: #48937

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/test_runner

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 Sep 14, 2023
Comment thread lib/internal/test_runner/utils.js Outdated

ljharb left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

would be good to have a test of something that does process.exitCode = 42 or whatever, and then throws, and asserts that the exitCode remains 42 afterwards

MoLow added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Sep 14, 2023
Comment thread lib/internal/test_runner/utils.js Outdated
Comment thread lib/internal/test_runner/utils.js Outdated
Comment thread lib/internal/test_runner/utils.js Outdated

benjamingr left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I was convinced think @cjihrig is right and we should also deal with the case the error is async given this is the test runner.

Comment thread lib/internal/test_runner/harness.js Outdated
MoLow removed the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Sep 21, 2023
MoLow force-pushed the print-reporter-errors branch from c40d76d to 38aed2c Compare September 21, 2023 07:00
MoLow added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Sep 21, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 21, 2023

Copy link
Copy Markdown
Collaborator

MoLow added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Sep 21, 2023

cjihrig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM once the CI passes.

Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
MoLow added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 21, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 21, 2023

Copy link
Copy Markdown
Collaborator

MoLow added a commit to MoLow/node that referenced this pull request Sep 21, 2023
PR-URL: nodejs#49646
Fixes: nodejs#48937
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

MoLow commented Sep 21, 2023

Copy link
Copy Markdown
Member Author

Landed in a4c7f81

Copy link
Copy Markdown
Member

This commit does not land cleanly on v20.x-staging and will need manual backport in case we want it in v20.

MoLow added a commit to MoLow/node that referenced this pull request Sep 28, 2023
PR-URL: nodejs#49646
Fixes: nodejs#48937
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Nov 11, 2023
PR-URL: #49646
Fixes: #48937
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Nov 27, 2023
PR-URL: #49646
Fixes: #48937
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
PR-URL: nodejs/node#49646
Fixes: nodejs/node#48937
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
PR-URL: nodejs/node#49646
Fixes: nodejs/node#48937
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. 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.

Throwing an exception on test reporters silently error the test runner

8 participants


Back | FazBrowse Home | New Git URL