Skip to content

async_hooks: merge resource_symbol with owner_symbol - #38468

Closed
RaisinTen wants to merge 1 commit into
nodejs:masterfrom
RaisinTen:async_hooks/merge-resource_symbol-with-owner_symbol
Closed

async_hooks: merge resource_symbol with owner_symbol#38468
RaisinTen wants to merge 1 commit into
nodejs:masterfrom
RaisinTen:async_hooks/merge-resource_symbol-with-owner_symbol

Conversation

@RaisinTen

Copy link
Copy Markdown
Member

As per this TODO comment:

// TODO(addaleax): Merge this with owner_symbol and use it across all
// AsyncWrap instances.

@github-actionsgithub-actionsBot added async_hooks Issues and PRs related to the async hooks subsystem. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Apr 29, 2021
@RaisinTen

Copy link
Copy Markdown
MemberAuthor

cc @addaleax

@jasnelljasnell left a comment

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.

LGTM but definitely want @addaleax's look as well

Comment threadlib/internal/async_hooks.js Outdated
Comment threadlib/internal/async_hooks.js Outdated
Comment threadsrc/async_wrap.cc Outdated
Comment threadsrc/async_wrap.cc Outdated
@RaisinTenRaisinTen added the wip Issues and PRs that are still a work in progress. label May 6, 2021
Comment threadsrc/async_wrap.cc Outdated
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
@RaisinTen
RaisinTenforce-pushed the async_hooks/merge-resource_symbol-with-owner_symbol branch from aa99773 to 8fa2b28CompareJuly 26, 2021 06:31
@nodejs-github-bot

This comment has been minimized.

@RaisinTen

Copy link
Copy Markdown
MemberAuthor

CI is mostly green. Could this please have another review? cc @jasnell@addaleax@Trott@Qard

@RaisinTenRaisinTen removed the wip Issues and PRs that are still a work in progress. label Jul 26, 2021

@addaleaxaddaleax left a comment

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.

👍

I know that the constructor name checks may seem a bit icky here, but I think in the big picture doing this is definitely worth it 👍

@RaisinTenRaisinTen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 26, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Jul 26, 2021

Copy link
Copy Markdown
Collaborator

@RaisinTen

Copy link
Copy Markdown
MemberAuthor

cc @nodejs/async_hooks if anyone else would also like to take a look.

@jasnell

Copy link
Copy Markdown
Member

Landed in 7ca2f13

@jasnelljasnell closed this Jul 28, 2021
jasnell pushed a commit that referenced this pull request Jul 28, 2021
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
PR-URL: #38468
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@RaisinTen
RaisinTen deleted the async_hooks/merge-resource_symbol-with-owner_symbol branch July 31, 2021 04:54
danielleadams pushed a commit that referenced this pull request Aug 16, 2021
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
PR-URL: #38468
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@orgads

Copy link
Copy Markdown
Contributor

This breaks AsyncLocalStorage for TCP/TLS sockets. See #40693.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooksIssues and PRs related to the async hooks subsystem.author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@RaisinTen@nodejs-github-bot@jasnell@orgads@Qard@Trott@addaleax@benjamingr@targos