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

util: remove unused fast path in internal debuglog #41605

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

Trott
Copy link
Member

@Trott Trott commented Jan 19, 2022

The internal debuglog() is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels Jan 19, 2022
@Trott Trott added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 21, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 21, 2022
@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member Author

Trott commented Jan 21, 2022

@nodejs/util

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 23, 2022
@targos targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-bot nodejs-github-bot merged commit 49ba210 into nodejs:master Jan 24, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 49ba210

@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/41605
✔  Done loading data for nodejs/node/pull/41605
----------------------------------- PR info ------------------------------------
Title      util: remove unused fast path in internal debuglog (#41605)
Author     Rich Trott  (@Trott)
Branch     Trott:debuglog -> nodejs:master
Labels     util, author ready, needs-ci
Commits    1
 - util: remove unused fast path in internal debuglog
Committers 1
 - Rich Trott 
PR-URL: https://github.com/nodejs/node/pull/41605
Reviewed-By: Anna Henningsen 
Reviewed-By: Michaël Zasso 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/41605
Reviewed-By: Anna Henningsen 
Reviewed-By: Michaël Zasso 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Wed, 19 Jan 2022 22:14:10 GMT
   ✔  Approvals: 2
   ✔  - Anna Henningsen (@addaleax): https://github.com/nodejs/node/pull/41605#pullrequestreview-860251448
   ✔  - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/41605#pullrequestreview-861035111
   ⚠  This PR was merged on Mon, 24 Jan 2022 14:39:22 GMT
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-01-21T19:07:38Z: https://ci.nodejs.org/job/node-test-pull-request/42072/
- Querying data for job/node-test-pull-request/42072/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/1740412607

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Jan 24, 2022
@targos
Copy link
Member

targos commented Jan 24, 2022

How could the CQ both land and fail the same PR?

@Trott Trott deleted the debuglog branch January 24, 2022 15:26
BethGriggs pushed a commit that referenced this pull request Jan 25, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Linkgoron pushed a commit to Linkgoron/node that referenced this pull request Jan 31, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

PR-URL: nodejs#41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 2, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 3, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 14, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
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. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants