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

async_hooks: merge resource_symbol with owner_symbol #38468

Conversation

RaisinTen
Copy link
Contributor

As per this TODO comment:

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

@github-actions github-actions bot 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
Contributor Author

cc @addaleax

Copy link
Member

@jasnell jasnell left a comment

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

lib/internal/async_hooks.js Show resolved Hide resolved
lib/internal/async_hooks.js Show resolved Hide resolved
@RaisinTen RaisinTen added the wip Issues and PRs that are still a work in progress. label May 6, 2021
@RaisinTen RaisinTen force-pushed the async_hooks/merge-resource_symbol-with-owner_symbol branch from aa99773 to 8fa2b28 Compare July 26, 2021 06:31
@nodejs-github-bot

This comment has been minimized.

@RaisinTen
Copy link
Contributor Author

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

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

@addaleax addaleax left a comment

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 👍

@RaisinTen RaisinTen 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
Copy link
Collaborator

nodejs-github-bot commented Jul 26, 2021

@RaisinTen
Copy link
Contributor Author

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

@jasnell
Copy link
Member

jasnell commented Jul 28, 2021

Landed in 7ca2f13

@jasnell jasnell closed this Jul 28, 2021
jasnell pushed a commit that referenced this pull request Jul 28, 2021
Signed-off-by: Darshan Sen <[email protected]>

PR-URL: #38468
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
@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 <[email protected]>

PR-URL: #38468
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
@orgads
Copy link
Contributor

orgads commented Nov 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async_hooks Issues and PRs related to the async hooks subsystem. author ready PRs 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-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants