Skip to content

Conversation

meteorqz6
Copy link
Contributor

This refactors internal validation helpers in child_process to use the common validators in lib/internal/validators.js where possible.

This improves code consistency and maintainability.

@nodejs-github-bot nodejs-github-bot added child_process Issues and PRs related to the child_process subsystem. needs-ci PRs that need a full CI run. labels Aug 9, 2025
Copy link

codecov bot commented Aug 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.88%. Comparing base (1be57c2) to head (49c5ea1).
⚠️ Report is 267 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #59416      +/-   ##
==========================================
- Coverage   89.89%   89.88%   -0.01%     
==========================================
  Files         656      656              
  Lines      192983   192981       -2     
  Branches    37849    37849              
==========================================
- Hits       173478   173466      -12     
- Misses      12055    12064       +9     
- Partials     7450     7451       +1     
Files with missing lines Coverage Δ
lib/child_process.js 95.53% <100.00%> (-0.01%) ⬇️

... and 22 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.

Copy link
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

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

I agree that this seems right. This is a major change though.

@meteorqz6 can you please have a look at the tests? They need to be adjusted.

@BridgeAR BridgeAR added the semver-major PRs that contain breaking changes and should be released in the next major version. label Aug 11, 2025
This refactors internal validation helpers in `child_process` to use
the common validators in `lib/internal/validators.js` where possible.

This improves code consistency and maintainability.
@meteorqz6
Copy link
Contributor Author

I've adjusted the tests.
@BridgeAR Could you please take a look when you have a moment? Thanks!

@meteorqz6
Copy link
Contributor Author

Please take a look when you have a moment. @BridgeAR

@nodejs-github-bot
Copy link
Collaborator

@daeyeon
Copy link
Member

daeyeon commented Sep 14, 2025

@nodejs/tsc semver-major requires at least 2 TSC approvals to land.

@daeyeon daeyeon added author ready PRs that have at least one approval, no pending requests for changes, 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. labels Sep 14, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@daeyeon daeyeon added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 21, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 21, 2025
@nodejs-github-bot nodejs-github-bot merged commit 39d7303 into nodejs:main Sep 21, 2025
64 of 66 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 39d7303

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. child_process Issues and PRs related to the child_process subsystem. 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. semver-major PRs that contain breaking changes and should be released in the next major version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants