Tracer Version(s)
5.80.0
Node.js Version(s)
24.11.1
Bug Report
Hey,
After upgrading from dd-trace 5.79.0 to 5.80.0, we are getting a crash caused by infinite recursion inside the AWS SDK v3 instrumentation. The stack repeatedly shows the wrapper calling itself:
RangeError: Maximum call stack size exceeded
at AwsJson1_0Protocol.deserializeResponse (.../datadog-instrumentations/src/aws-sdk.js:46:24)
at AwsJson1_0Protocol.deserializeResponse (... same ...)
...
When we disable the integration:
DD_TRACE_DISABLED_PLUGINS=aws-sdk
the issue disappears. All SQS calls work normally.
It looks like the change introduced https://github.com/DataDog/dd-trace-js/pull/6911/files is causing recursion.
Environment
- Node 24.11.1
- dd-trace 5.80.0
- @aws-sdk/client-sqs 3.936
Thanks!
Tracer Version(s)
5.80.0
Node.js Version(s)
24.11.1
Bug Report
Hey,
After upgrading from dd-trace 5.79.0 to 5.80.0, we are getting a crash caused by infinite recursion inside the AWS SDK v3 instrumentation. The stack repeatedly shows the wrapper calling itself:
When we disable the integration:
the issue disappears. All SQS calls work normally.
It looks like the change introduced https://github.com/DataDog/dd-trace-js/pull/6911/files is causing recursion.
Environment
Thanks!