Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Overall package sizeSelf size: 9.56 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.5.3 | 131.25 kB | 531.9 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11335 +/- ##
=========================================
Coverage 99.15% 99.15%
=========================================
Files 1127 1136 +9
Lines 187108 188442 +1334
Branches 82 86 +4
=========================================
+ Hits 185519 186858 +1339
+ Misses 1588 1584 -4
+ Partials 1 0 -1
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:
|
🎉 All green!🧪 All tests passed 🔄 Datadog retried 1 test - 1 passed on retry 🎯 Code Coverage (details) 🔗 Commit SHA: e79f5f5 | Docs | View more details | Give us feedback! |
BenchmarksBenchmark execution time: 2026-11-24 06:48:17 Comparing candidate commit e79f5f5 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2441 metrics, 16 unstable metrics.
|
| * @returns {DatadogRaspAbortError | undefined} | ||
| */ | ||
| function findWrappedDatadogRaspAbortError (error, req) { | ||
| if (!isError(error)) return |
There was a problem hiding this comment.
| if (!isError(error)) return | |
| if (!isError(error)) return undefined |
| errors.push(value) | ||
| } | ||
| } | ||
| } |
What does this PR do?
RASP blocking actions now block the request when a library wraps the abort error and keeps it in a property other than
cause(such as sequelize or typeorm).Motivation
RASP blocks the request when the abort error reaches the framework error handlers, but the lookup only followed
cause. With these libraries the operation was stopped, but the user got the application's 500 and the span wasn't marked as blocked.APPSEC-71813
Additional Notes
stackis skipped because, before Node.js 22, reading its descriptor formats the stack trace and callsError.prepareStackTrace, increasing the overhead.Known limitations