Skip to content

fix(node): Fix domain scope inheritance#7799

Merged
AbhiPrasad merged 23 commits intogetsentry:developfrom
timfish:fix/domain-scope-inheritance
Apr 11, 2023
Merged

fix(node): Fix domain scope inheritance#7799
AbhiPrasad merged 23 commits intogetsentry:developfrom
timfish:fix/domain-scope-inheritance

Conversation

@timfish
Copy link
Copy Markdown
Collaborator

@timfish timfish commented Apr 9, 2023

This PR fixes domains to use proper scope inheritance. Each new async context now inherits the scope from its parent context.

@timfish
Copy link
Copy Markdown
Collaborator Author

timfish commented Apr 9, 2023

The handlers tests are failing since the underlying domain code no longer calls getCurrentHub from core which these test rely mocking.

@timfish timfish marked this pull request as ready for review April 11, 2023 07:08
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) April 11, 2023 07:34
@AbhiPrasad AbhiPrasad merged commit 27db660 into getsentry:develop Apr 11, 2023
Sign up for free to 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