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

AWS Lambda - Isolated context per handler #688

Closed
subzero10 opened this issue Jan 23, 2022 · 1 comment
Closed

AWS Lambda - Isolated context per handler #688

subzero10 opened this issue Jan 23, 2022 · 1 comment
Assignees
Milestone

Comments

@subzero10
Copy link
Member

Issue discussed here.

Suggestion from @shalvah is to use AsyncLocalStorage to isolate context (and breadcrumbs) to the executing lambda.

@subzero10 subzero10 self-assigned this Jan 23, 2022
subzero10 added a commit that referenced this issue Mar 1, 2022
* wip: async local storage

* callback async store + tests

* changelog

* cast to HoneybadgerStore

* type fixes

* more tests

* better tests, more tests, bug fix on runAfterNotifyHandlers

* fallback to DefaultStore if AsyncLocalStorage is not available. run tests with node v10

* don't run tests if nodejs version is less than 12

* describeIf

* revert describeIf

* revert tests on v10

* move AsyncStore tests to separate file
@subzero10
Copy link
Member Author

This has been released with v4 (currently in beta).

@subzero10 subzero10 added this to the 4.0.0 milestone Apr 3, 2022
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

No branches or pull requests

1 participant