feat(node): Migrate to domains used through AsyncContextStrategy#7779
feat(node): Migrate to domains used through AsyncContextStrategy#7779AbhiPrasad merged 18 commits intogetsentry:developfrom
AsyncContextStrategy#7779Conversation
AbhiPrasad
left a comment
There was a problem hiding this comment.
node sdk index is now side effect free :)
|
Ah, just noticed I still have some domain usages to remove from serverless! |
This makes me so happy :) Speaking of, @timfish would you mind adding a |
We also need to adjust the test in |
…ish/sentry-javascript into feat/migrate-async-strategy
Should we be re-exporting |
Shouldn't we be exporting this API everywhere? Doesn't have to be right now but at some point I think we should, right? |
Yup we'll need to re-export this API, since this is how we are going to tell people to do isolation when they manually instrument. |
I might change the name of the |
…ish/sentry-javascript into feat/migrate-async-strategy
|
And this is why you don't do early morning code review 😭 - it is there, just skipped the file completely! |
This PR:
domain.create().bind/runwithrunWithAsyncContextdomain.activehack from the Next.jsinitsince domains are now not created byrunWithAsyncContextuntil afterinitNoderunWithAsyncContextfrom@sentry/node