Skip to content

src: forward signals to node --run scripts - #67736

Open
araujogui wants to merge 2 commits into
nodejs:mainfrom
araujogui:task-runner-signals
Open

araujogui wants to merge 2 commits into
nodejs:mainfrom
araujogui:task-runner-signals

Conversation

@araujogui

Copy link
Copy Markdown
Member

Forward SIGINT and SIGTERM to the script run by node --run and wait for it to exit, like npm run. Propagate the script's exit code, or re-raise the signal that terminated it.

Refs: #65712

Forward SIGINT and SIGTERM to the script and wait for it to exit, like
`npm run`. Exit with the script's exit code, or re-raise the signal
that terminated it, instead of reporting failures as 1 and signal
deaths as success.

Refs: nodejs#65712
Assisted-by: Claude Code
Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 20:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Nov 23, 2026

@gurgunday gurgunday 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.

lgtm other than one thing

Comment thread src/node_task_runner.cc Resolved
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 38.70968% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.50%. Comparing base (5884b8e) to head (e80df59).
⚠️ Report is 162 commits behind head on main.

Files with missing lines Patch % Lines
src/node_task_runner.cc 38.70% 15 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67736      +/-   ##
==========================================
- Coverage   90.71%   90.50%   -0.22%     
==========================================
  Files         801      805       +4     
  Lines      280906   285834    +4928     
  Branches    54249    55188     +939     
==========================================
+ Hits       254832   258691    +3859     
- Misses      16246    17241     +995     
- Partials     9828     9902      +74     
Files with missing lines Coverage Δ
src/node_task_runner.cc 81.90% <38.70%> (-8.26%) ⬇️

... and 132 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>
@araujogui
araujogui requested a review from gurgunday November 25, 2026 21:13

@gurgunday gurgunday 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.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants