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: improve output of child process utilities #54622

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

joyeecheung
Copy link
Member

@joyeecheung joyeecheung commented Aug 28, 2024

  • Display command and options when it fails
  • Keep the caller line at the top of the stack trace.

Example output (just modified the expected stderr to something it's not):

Before:

Screen Shot 2024-08-29 at 00 33 40

After:

Screen Shot 2024-08-29 at 00 34 42

- Display command and options when it fails
- Keep the caller line at the top of the stack trace.
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Aug 28, 2024
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.34%. Comparing base (4f14eb1) to head (29fc58a).
Report is 37 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #54622   +/-   ##
=======================================
  Coverage   87.34%   87.34%           
=======================================
  Files         649      649           
  Lines      182562   182602   +40     
  Branches    35023    35037   +14     
=======================================
+ Hits       159451   159494   +43     
+ Misses      16396    16386   -10     
- Partials     6715     6722    +7     

see 33 files with indirect coverage changes

@atlowChemi atlowChemi added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 29, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 29, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@atlowChemi atlowChemi added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 29, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 30, 2024
@nodejs-github-bot nodejs-github-bot merged commit 0b120af into nodejs:main Aug 30, 2024
65 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 0b120af

sendoru pushed a commit to sendoru/node that referenced this pull request Sep 1, 2024
- Display command and options when it fails
- Keep the caller line at the top of the stack trace.

PR-URL: nodejs#54622
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
aduh95 pushed a commit that referenced this pull request Sep 12, 2024
- Display command and options when it fails
- Keep the caller line at the top of the stack trace.

PR-URL: #54622
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
@RafaelGSS RafaelGSS mentioned this pull request Sep 16, 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. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants