From b965c253bdd45d4105b6082d2e2505f938010cee Mon Sep 17 00:00:00 2001 From: Bryan English Date: Thu, 2 Jul 2026 11:13:38 -0400 Subject: [PATCH 1/2] fix(pipeline): set exporter runtime-id from the tracer (#157) The TraceExporterBuilder set url/service/env/hostname/app_version but never called set_runtime_id, so at build_async the builder fell back to Uuid::new_v4(). That gave the trace payload a random runtime-id that mismatched the stats payload (correlation bug) and called getrandom, which traps on wasm runtimes without a configured entropy source (surfaced as native-spans System Tests / E2E failures). Pass through the runtime-id the caller already provides. --- crates/pipeline/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/pipeline/src/lib.rs b/crates/pipeline/src/lib.rs index 9d1bc11..9385cbb 100644 --- a/crates/pipeline/src/lib.rs +++ b/crates/pipeline/src/lib.rs @@ -248,6 +248,7 @@ impl WasmSpanState { .set_env(env) .set_hostname(hostname) .set_app_version(app_version) + .set_runtime_id(runtime_id) .enable_agent_rates_payload_version(); let mut change_queue = vec![0u8; change_queue_size as usize]; From 3eef1be4142f165f4c72fa9000d847ab14ad01a8 Mon Sep 17 00:00:00 2001 From: Bryan English Date: Thu, 2 Jul 2026 11:18:20 -0400 Subject: [PATCH 2/2] v0.12.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 07fbff6..1c98925 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/libdatadog", - "version": "0.12.0", + "version": "0.12.1", "description": "Node.js binding for libdatadog", "main": "index.js", "scripts": {