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

Revert "net: remove usage of require('util')" #26896

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Mar 25, 2019

This reverts commit e112fb4.
This commit broke parallel/test-net-access-byteswritten.

Refs: #26807 (comment)

Did a bisect and arrived at the same conclusion.

Collaborators, please 👍 here to fast-track.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

This reverts commit e112fb4.
This commit broke parallel/test-net-access-byteswritten.
@nodejs-github-bot nodejs-github-bot added the net Issues and PRs related to the net subsystem. label Mar 25, 2019
@Trott Trott added the fast-track PRs that do not need to wait for 48 hours to land. label Mar 25, 2019
@Trott
Copy link
Member Author

Trott commented Mar 25, 2019

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 25, 2019
@Trott
Copy link
Member Author

Trott commented Mar 25, 2019

(FreeBSD failed with flaky parallel/test-gc-http-client-onerror, re-running: https://ci.nodejs.org/job/node-test-commit-freebsd/25082/)

@Trott
Copy link
Member Author

Trott commented Mar 25, 2019

FreeBSD re-run passed, landing.

@Trott
Copy link
Member Author

Trott commented Mar 25, 2019

Landed in 3f41fcb

@Trott Trott closed this Mar 25, 2019
Trott added a commit to Trott/io.js that referenced this pull request Mar 25, 2019
This reverts commit e112fb4.
This commit broke parallel/test-net-access-byteswritten.

PR-URL: nodejs#26896
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@BridgeAR
Copy link
Member

@Trott thanks a lot for fixing this! I force pushed to my fork instead of upstream after noticing the problem.

@dnlup dnlup mentioned this pull request Mar 26, 2019
2 tasks
dnlup added a commit to dnlup/node that referenced this pull request Mar 26, 2019
Use `require('internal/util/inspect').inspect`, 
`require('internal/util/debuglog').debuglog`, 
`require('internal/util').deprecate` and `Object.setPrototypeOf` instead 
of `require('util')`.
Fix test in `test/parallel/test-net-access-byteswritten.js` to do not 
check the `super_` property that was set when using 
`require('util').inherits`.

Refs: nodejs#26546
Refs: nodejs#26896
targos pushed a commit to targos/node that referenced this pull request Mar 27, 2019
This reverts commit e112fb4.
This commit broke parallel/test-net-access-byteswritten.

PR-URL: nodejs#26896
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
targos pushed a commit that referenced this pull request Mar 27, 2019
This reverts commit e112fb4.
This commit broke parallel/test-net-access-byteswritten.

PR-URL: #26896
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
targos pushed a commit that referenced this pull request Mar 30, 2019
Use `require('internal/util/inspect').inspect`,
`require('internal/util/debuglog').debuglog`,
`require('internal/util').deprecate` and `Object.setPrototypeOf` instead
of `require('util')`.
Fix test in `test/parallel/test-net-access-byteswritten.js` to do not
check the `super_` property that was set when using
`require('util').inherits`.

Refs: #26546
Refs: #26896

PR-URL: #26920
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
BethGriggs pushed a commit that referenced this pull request Apr 5, 2019
Use `require('internal/util/inspect').inspect`,
`require('internal/util/debuglog').debuglog`,
`require('internal/util').deprecate` and `Object.setPrototypeOf` instead
of `require('util')`.
Fix test in `test/parallel/test-net-access-byteswritten.js` to do not
check the `super_` property that was set when using
`require('util').inherits`.

Refs: #26546
Refs: #26896

PR-URL: #26920
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@Trott Trott deleted the revert-e112fb4 branch January 13, 2022 22:51
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. fast-track PRs that do not need to wait for 48 hours to land. net Issues and PRs related to the net subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants