Skip to content

feat(node): Add AsyncLocalStorage implementation of AsyncContextStrategy - #7800

Merged
AbhiPrasad merged 6 commits into
getsentry:developfrom
timfish:feat/async-hooks
Apr 11, 2023
Merged

feat(node): Add AsyncLocalStorage implementation of AsyncContextStrategy#7800
AbhiPrasad merged 6 commits into
getsentry:developfrom
timfish:feat/async-hooks

Conversation

@timfish

@timfishtimfish commented Apr 9, 2023

Copy link
Copy Markdown
Collaborator

This PR adds a new AsyncContextStrategy that uses AsyncLocalStorage.

This strategy is not enabled yet but there are tests to confirm it's functional.

This PR also include the change to ensureHubOnCarrier from #7799 which allow us to have correct scope inheritance.

@timfishtimfish mentioned this pull request Apr 9, 2023
9 tasks
@timfishtimfish self-assigned this Apr 9, 2023
@timfish
timfish marked this pull request as ready for review April 11, 2023 07:08
@AbhiPrasad
AbhiPrasad enabled auto-merge (squash) April 11, 2023 08:20
@AbhiPrasad
AbhiPrasad merged commit 53ae9ae into getsentry:developApr 11, 2023
@timfish
timfish deleted the feat/async-hooks branch April 11, 2023 08:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@timfish@AbhiPrasad