From 6da9a3e4ee0dba3c6a4d3e9a712eb301aa59efda Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Mon, 5 Jan 2026 09:46:10 +0100 Subject: [PATCH 01/10] Enable inferred span test --- manifests/nodejs.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/manifests/nodejs.yml b/manifests/nodejs.yml index 57447672199..412f696125f 100644 --- a/manifests/nodejs.yml +++ b/manifests/nodejs.yml @@ -80,6 +80,7 @@ refs: - &ref_5_79_0 '>=5.79.0' - &ref_5_80_0 '>=5.80.0' - &ref_5_81_0 '>=5.81.0' + - &ref_5_82_0 '>=5.82.0' - &ref_5_83_0 '>=5.83.0' - &ref_5_87_0 '>=5.87.0' # Debugger: Capture expressions support - &ref_5_89_0 '>=5.89.0' @@ -1203,7 +1204,12 @@ manifest: fastify: *ref_5_57_0 nextjs: missing_feature tests/appsec/test_identify.py::Test_Basic: v2.4.0 - tests/appsec/test_inferred_spans.py::Test_Proxy_Inferred_Span_Tags: missing_feature + tests/appsec/test_inferred_spans.py::Test_Proxy_Inferred_Span_Tags: + - weblog_declaration: + "*": irrelevant + express4: *ref_5_82_0 + express5: *ref_5_82_0 + fastify: *ref_5_82_0 tests/appsec/test_ip_blocking_full_denylist.py::Test_AppSecIPBlockingFullDenylist: - weblog_declaration: "*": *ref_3_11_0 @@ -1818,6 +1824,12 @@ manifest: express4: ">=5.37.0 <5.88.0" express5: ">=5.37.0 <5.88.0" fastify: ">=5.37.0 <5.88.0" + tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: + - weblog_declaration: + "*": irrelevant + express4: *ref_5_82_0 + express5: *ref_5_82_0 + fastify: *ref_5_82_0 tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: missing_feature tests/integrations/test_mongo.py::Test_Mongo: missing_feature (Endpoint is not implemented on weblog) tests/integrations/test_otel_drop_in.py::Test_Otel_Drop_In: missing_feature From 429f0596834605f697ad284cfc07a404e7bb5130 Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Wed, 21 Jan 2026 22:06:55 +0100 Subject: [PATCH 02/10] Set correct version for outdated tests --- manifests/nodejs.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/manifests/nodejs.yml b/manifests/nodejs.yml index 412f696125f..03a821e31ed 100644 --- a/manifests/nodejs.yml +++ b/manifests/nodejs.yml @@ -1827,10 +1827,9 @@ manifest: tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: - weblog_declaration: "*": irrelevant - express4: *ref_5_82_0 - express5: *ref_5_82_0 - fastify: *ref_5_82_0 - tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: missing_feature + express4: ">=5.83.0" + express5: ">=5.83.0" + fastify: ">=5.83.0" tests/integrations/test_mongo.py::Test_Mongo: missing_feature (Endpoint is not implemented on weblog) tests/integrations/test_otel_drop_in.py::Test_Otel_Drop_In: missing_feature tests/integrations/test_service_overrides.py::Test_SqlServiceNameSource: irrelevant (Only implemented for Java) From 26f2192da427ed69b3d5ea0f1aa4848f029bfeae Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Thu, 22 Jan 2026 01:00:15 +0100 Subject: [PATCH 03/10] Check full trace for spans with distributed context --- tests/integrations/test_inferred_proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integrations/test_inferred_proxy.py b/tests/integrations/test_inferred_proxy.py index 3b2b36d4cef..52f6d31d890 100644 --- a/tests/integrations/test_inferred_proxy.py +++ b/tests/integrations/test_inferred_proxy.py @@ -2,7 +2,7 @@ import time from typing import Literal -from utils import weblog, scenarios, features, interfaces, logger +from utils import weblog, scenarios, features, interfaces, logger, context from utils.dd_types import DataDogLibrarySpan DISTRIBUTED_TRACE_ID = 1 @@ -417,6 +417,7 @@ def test_api_gateway_inferred_span_creation_with_distributed_context(self): self.start_time_ns, distributed=True, ), + full_trace=(context.library == "nodejs"), ) def setup_api_gateway_rest_inferred_span_creation_with_error(self): From abe00fb2242e0aec4d9637c757df10a8d0cbf704 Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Thu, 22 Jan 2026 13:34:51 +0100 Subject: [PATCH 04/10] Retrigger CI From 845d0acaea788be64f99b95592843fd58a4778e6 Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Thu, 22 Jan 2026 14:18:15 +0100 Subject: [PATCH 05/10] Add lib interface timeout for integrations scenario --- utils/_context/_scenarios/integrations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/_context/_scenarios/integrations.py b/utils/_context/_scenarios/integrations.py index 06c2c902449..ce5f6b61b46 100644 --- a/utils/_context/_scenarios/integrations.py +++ b/utils/_context/_scenarios/integrations.py @@ -62,6 +62,7 @@ def __init__(self) -> None: MsSqlServerContainer, MySqlContainer, ), + library_interface_timeout=5, doc=( "Spawns tracer, agent, and a full set of database. " "Test the integrations of those databases with tracers" From 6c63dd2a10f4351ab2209131cd1c173b2ea480e7 Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Wed, 11 Mar 2026 07:40:20 +0100 Subject: [PATCH 06/10] Update tracer version for tests --- manifests/nodejs.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/nodejs.yml b/manifests/nodejs.yml index 03a821e31ed..28c527f4627 100644 --- a/manifests/nodejs.yml +++ b/manifests/nodejs.yml @@ -80,10 +80,10 @@ refs: - &ref_5_79_0 '>=5.79.0' - &ref_5_80_0 '>=5.80.0' - &ref_5_81_0 '>=5.81.0' - - &ref_5_82_0 '>=5.82.0' - &ref_5_83_0 '>=5.83.0' - &ref_5_87_0 '>=5.87.0' # Debugger: Capture expressions support - &ref_5_89_0 '>=5.89.0' + - &ref_5_90_0 '>=5.90.0' manifest: tests/ai_guard/test_ai_guard_sdk.py::Test_ContentParts: - weblog_declaration: @@ -1207,9 +1207,9 @@ manifest: tests/appsec/test_inferred_spans.py::Test_Proxy_Inferred_Span_Tags: - weblog_declaration: "*": irrelevant - express4: *ref_5_82_0 - express5: *ref_5_82_0 - fastify: *ref_5_82_0 + express4: *ref_5_90_0 + express5: *ref_5_90_0 + fastify: *ref_5_90_0 tests/appsec/test_ip_blocking_full_denylist.py::Test_AppSecIPBlockingFullDenylist: - weblog_declaration: "*": *ref_3_11_0 @@ -1827,9 +1827,9 @@ manifest: tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: - weblog_declaration: "*": irrelevant - express4: ">=5.83.0" - express5: ">=5.83.0" - fastify: ">=5.83.0" + express4: *ref_5_90_0 + express5: *ref_5_90_0 + fastify: *ref_5_90_0 tests/integrations/test_mongo.py::Test_Mongo: missing_feature (Endpoint is not implemented on weblog) tests/integrations/test_otel_drop_in.py::Test_Otel_Drop_In: missing_feature tests/integrations/test_service_overrides.py::Test_SqlServiceNameSource: irrelevant (Only implemented for Java) From f657d9eda5b53b6582ec2dd5aad0cc6b6bc626bd Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Wed, 11 Mar 2026 07:48:16 +0100 Subject: [PATCH 07/10] trigger CI From 5426917de6417d3155625c8e08e61e385f155c13 Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Wed, 11 Mar 2026 09:20:41 +0100 Subject: [PATCH 08/10] Remove library timeout --- utils/_context/_scenarios/integrations.py | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/_context/_scenarios/integrations.py b/utils/_context/_scenarios/integrations.py index ce5f6b61b46..06c2c902449 100644 --- a/utils/_context/_scenarios/integrations.py +++ b/utils/_context/_scenarios/integrations.py @@ -62,7 +62,6 @@ def __init__(self) -> None: MsSqlServerContainer, MySqlContainer, ), - library_interface_timeout=5, doc=( "Spawns tracer, agent, and a full set of database. " "Test the integrations of those databases with tracers" From c5ec3efb49f912f9de89fc26934a340896073499 Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Thu, 12 Mar 2026 10:53:43 +0100 Subject: [PATCH 09/10] Add comment in irrelevant declaration --- manifests/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/nodejs.yml b/manifests/nodejs.yml index 28c527f4627..551a1c0753c 100644 --- a/manifests/nodejs.yml +++ b/manifests/nodejs.yml @@ -1206,7 +1206,7 @@ manifest: tests/appsec/test_identify.py::Test_Basic: v2.4.0 tests/appsec/test_inferred_spans.py::Test_Proxy_Inferred_Span_Tags: - weblog_declaration: - "*": irrelevant + "*": irrelevant # the feature is framework agnostic, no need to test all variants express4: *ref_5_90_0 express5: *ref_5_90_0 fastify: *ref_5_90_0 @@ -1826,7 +1826,7 @@ manifest: fastify: ">=5.37.0 <5.88.0" tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: - weblog_declaration: - "*": irrelevant + "*": irrelevant # the feature is framework agnostic, no need to test all variants express4: *ref_5_90_0 express5: *ref_5_90_0 fastify: *ref_5_90_0 From 9505049a323b6d124c94ee6a6110ba584c3d2e0c Mon Sep 17 00:00:00 2001 From: Carles Capell Date: Thu, 12 Mar 2026 11:15:27 +0100 Subject: [PATCH 10/10] Fix lint issues --- manifests/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/nodejs.yml b/manifests/nodejs.yml index 551a1c0753c..e6fddee1767 100644 --- a/manifests/nodejs.yml +++ b/manifests/nodejs.yml @@ -1206,7 +1206,7 @@ manifest: tests/appsec/test_identify.py::Test_Basic: v2.4.0 tests/appsec/test_inferred_spans.py::Test_Proxy_Inferred_Span_Tags: - weblog_declaration: - "*": irrelevant # the feature is framework agnostic, no need to test all variants + "*": irrelevant # the feature is framework agnostic, no need to test all variants express4: *ref_5_90_0 express5: *ref_5_90_0 fastify: *ref_5_90_0 @@ -1826,7 +1826,7 @@ manifest: fastify: ">=5.37.0 <5.88.0" tests/integrations/test_inferred_proxy.py::Test_AWS_API_Gateway_Inferred_Span_Creation_v2: - weblog_declaration: - "*": irrelevant # the feature is framework agnostic, no need to test all variants + "*": irrelevant # the feature is framework agnostic, no need to test all variants express4: *ref_5_90_0 express5: *ref_5_90_0 fastify: *ref_5_90_0