fix(core): handle missing async trigger resources - #9813
Conversation
Overall package sizeSelf size: 8.2 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.3 | 125.43 kB | 441.72 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 6900b59 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-08-14 17:08:24 Comparing candidate commit 6900b59 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2315 metrics, 43 unstable metrics.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9813 +/- ##
==========================================
- Coverage 98.52% 98.16% -0.36%
==========================================
Files 975 975
Lines 142737 144164 +1427
Branches 12705 12487 -218
==========================================
+ Hits 140628 141524 +896
- Misses 2109 2640 +531
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What does this PR do?
Prevents a debugger snapshot from crashing the process when Node omits an async trigger resource while the inspector is paused. It also verifies snapshots remain correlated with request spans exported over OTLP.
Testing
./node_modules/.bin/mocha packages/datadog-core/test/storage.spec.js./node_modules/.bin/mocha --timeout 120000 integration-tests/debugger/probe-file.spec.js