Repository navigation
src: expand --process-timeout output to include workers - #67712
Merged
nodejs-github-bot merged 1 commit intoNov 25, 2026
Merged
nodejs-github-bot merged 1 commit into
nodejs-github-bot merged 1 commit into
Conversation
Collaborator
|
Review requested:
|
When a process is interrupted using `--process-timeout`, the output would print the resources and stack of the main thread. If the thing keeping the process alive was a worker thread, or if the worker thread was interrupted, there was no diagnostic output. This adds an additional `--process-timeout-worker-stacks` flag that includes the worker details. We don't necessarily want to include workers every time because if there's a large number of workers the output could become quite noisy. Signed-off-by: James M Snell <jasnell@gmail.com> Assisted-by: Claude
jasnell
force-pushed
the
jasnell/process-timeout-worker-details
branch
from
November 22, 2026 23:21
720e0c2 to
6740446
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67712 +/- ##
==========================================
- Coverage 90.54% 90.53% -0.01%
==========================================
Files 801 801
Lines 284119 284210 +91
Branches 54882 54886 +4
==========================================
+ Hits 257257 257320 +63
- Misses 17022 17051 +29
+ Partials 9840 9839 -1
🚀 New features to boost your workflow:
|
Collaborator
Member
Author
|
@gurgunday ... you gave an LGTM but didn't actually approve the PR. Can I ask you to PTAL. |
christianaurichzm
approved these changes
Nov 25, 2026
Collaborator
|
Landed in b4e974c |
aduh95
added a commit
that referenced
this pull request
Nov 25, 2026
Notable changes: doc: * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) #67461 http2: * (SEMVER-MINOR) add writeProcessing to compat response (Yuya Inoue) #67728 * (SEMVER-MINOR) add missing setHeaders (jakecastelli) #67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) #67470 lib: * (SEMVER-MINOR) graduate the --process-timeout option (James M Snell) #67506 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) #58060 sqlite: * (SEMVER-MINOR) throw ERR_NO_SQLITE without SQLite support (Christian Aurich Zanettini Martins) #67727 * (SEMVER-MINOR) add statement.columnCount getter (Guilherme Araújo) #67658 * mark as stable (Christian Aurich Zanettini Martins) #67654 src: * (SEMVER-MINOR) expand --process-timeout output to include workers (James M Snell) #67712 * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) #66753 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532 PR-URL: #67757
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a process is interrupted using
--process-timeout, the output would print the resources and stack of the main thread. If the thing keeping the process alive was a worker thread, or if the worker thread was interrupted, there was no diagnostic output.This adds an additional
--process-timeout-worker-stacksflag that includes the worker details. We don't necessarily want to include workers every time because if there's a large number of workers the output could become quite noisy.