-
Notifications
You must be signed in to change notification settings - Fork 345
fix: Handle case where Lambda handler is using callbacks instead of p… #3404
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
Conversation
Overall package sizeSelf size: 4.9 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report
@@ Coverage Diff @@
## master #3404 +/- ##
==========================================
- Coverage 84.25% 83.65% -0.61%
==========================================
Files 214 88 -126
Lines 8392 3145 -5247
Branches 33 33
==========================================
- Hits 7071 2631 -4440
+ Misses 1321 514 -807 see 127 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
BenchmarksBenchmark execution time: 2023-07-18 14:24:41 Comparing candidate commit 765d972 in PR branch Found 0 performance improvements and 3 performance regressions! Performance is the same for 470 metrics, 19 unstable metrics. scenario:plugin-graphql-with-depth-and-collapse-on-18
scenario:plugin-graphql-with-depth-off-18
scenario:plugin-graphql-with-depth-on-max-18
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM – I totally forgot to add this, thought the promisifying in datadog-lambda-js
would cover it!
Thanks AJ!
…romises
What does this PR do?
Fixes DataDog/datadog-lambda-js#404
Motivation
I mistakenly believed that callbacks were deprecated along with the node12 runtime but I was sorely mistaken.
Plugin Checklist
Additional Notes