Skip to content

events: disabled manual construction AbortSignal - #36094

Closed
RaisinTen wants to merge 1 commit into
nodejs:masterfrom
RaisinTen:stop-manual-construction-AbortController
Closed

events: disabled manual construction AbortSignal#36094
RaisinTen wants to merge 1 commit into
nodejs:masterfrom
RaisinTen:stop-manual-construction-AbortController

Conversation

@RaisinTen

@RaisinTenRaisinTen commented Nov 12, 2020

Copy link
Copy Markdown
Member

Fixes: #36064

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@RaisinTen
RaisinTenforce-pushed the stop-manual-construction-AbortController branch 2 times, most recently from 61e66b6 to d6a9e3eCompareNovember 12, 2020 14:35
@RaisinTen
RaisinTenforce-pushed the stop-manual-construction-AbortController branch 3 times, most recently from d353925 to 99dd10bCompareNovember 13, 2020 17:12
@RaisinTen
RaisinTen marked this pull request as ready for review November 13, 2020 18:19
@benjamingrbenjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 13, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 13, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@aduh95aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 13, 2020
Comment threadlib/internal/abort_controller.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, why is this comment needed?

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.

Out of curiosity, why is this comment needed?

It's because of this:

- selector: "NewExpression[callee.name=/Error$/]:not([callee.name=/^(AssertionError|NghttpError)$/])"
message: "Use an error exported by the internal/errors module."
.

Comment threadlib/internal/abort_controller.js Outdated
@RaisinTen
RaisinTenforce-pushed the stop-manual-construction-AbortController branch from 99dd10b to ef80268CompareNovember 14, 2020 05:22
@lpincalpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 14, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 14, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Nov 14, 2020

Copy link
Copy Markdown
Collaborator

@aduh95aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 14, 2020
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 14, 2020
@github-actions

Copy link
Copy Markdown
Contributor

Landed in 1d02a35...22293ea

nodejs-github-bot pushed a commit that referenced this pull request Nov 14, 2020
Fixes: #36064
PR-URL: #36094
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@RaisinTen
RaisinTen deleted the stop-manual-construction-AbortController branch November 14, 2020 14:53
codebytere pushed a commit that referenced this pull request Nov 22, 2020
Fixes: #36064
PR-URL: #36094
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@codebyterecodebytere mentioned this pull request Nov 22, 2020
targos pushed a commit to targos/node that referenced this pull request Apr 30, 2021
Fixes: nodejs#36064
PR-URL: nodejs#36094
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit that referenced this pull request Apr 30, 2021
Fixes: #36064
PR-URL: #36094
Backport-PR-URL: #38386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@targostargos added backported-to-v14.x events Issues and PRs related to the events subsystem / EventEmitter. and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-open-v14.x labels Apr 30, 2021
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eventsIssues and PRs related to the events subsystem / EventEmitter.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It should be impossible to construct an AbortSignal manually

10 participants

@RaisinTen@nodejs-github-bot@jasnell@Trott@benjamingr@lpinca@himself65@aduh95@puzpuzpuz@targos