Skip to content

v0.17.0#178

Open
bengl wants to merge 2 commits into
v0.xfrom
bengl/v0.17.0-proposal
Open

v0.17.0#178
bengl wants to merge 2 commits into
v0.xfrom
bengl/v0.17.0-proposal

Conversation

@bengl

@bengl bengl commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Release @datadog/libdatadog v0.17.0 with the reviewed native-spans OTLP instrumentation scope work from #173.

Changes:

Motivation

Native OTLP export was sending an empty instrumentation scope. The dd-trace-js OTLP/system-tests path expects the same scope metadata as the JS pipeline.

This release PR now carries the reviewed #173 mainline change instead of the earlier v0.x-only backport.

How to test the change?

Ran in /Users/bryan.english/worktrees/libdatadog-nodejs-v0170 after including #173:

  • cargo check -p pipeline --target wasm32-unknown-unknown
  • /Users/bryan.english/.nvm/versions/node/v26.5.0/bin/node scripts/build-wasm.js pipeline
  • /Users/bryan.english/.nvm/versions/node/v26.5.0/bin/node --test-force-exit test/pipeline.js — 51 passed
  • /opt/homebrew/bin/yarn -s lint

@bengl bengl marked this pull request as ready for review July 15, 2026 16:01
@bengl bengl requested review from a team as code owners July 15, 2026 16:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8df94ebfb7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/pipeline/Cargo.toml Outdated
libdd-trace-stats = { git = "https://github.com/DataDog/libdatadog.git", tag = "v37.0.0", default-features = false }
libdd-trace-protobuf = { git = "https://github.com/DataDog/libdatadog.git", tag = "v37.0.0", default-features = false }
libdd-shared-runtime = { git = "https://github.com/DataDog/libdatadog.git", tag = "v37.0.0", default-features = false }
libdd-capabilities = { git = "https://github.com/DataDog/libdatadog.git", branch = "bengl/otlp-scope-v37" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pin the libdatadog backport to a commit

In the release wasm build path I checked, .github/actions/build-test-wasm/action.yaml runs wasm-pack build from a clean checkout; declaring this backport as a branch keeps the dependency mutable despite the current lockfile. If bengl/otlp-scope-v37 is force-pushed/deleted or the lockfile is regenerated, v0.17.0 can be rebuilt with different libdatadog code or fail to build, so use rev = "bc37255a7e74f94fd0801a76086df6b333850b8a" (or a tag) for these v37 backport deps.

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown

Overall package size

Self size: 30.17 MB
Deduped: 30.17 MB
No deduping: 30.17 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@bengl bengl force-pushed the bengl/v0.17.0-proposal branch from 8df94eb to c3276d6 Compare July 15, 2026 16:19
bengl added 2 commits July 15, 2026 15:01
* fix(pipeline): set OTLP instrumentation scope

* fix(pipeline): consume ported libdatadog scope patch

Update the temporary libdatadog dependency to the PR head ported onto main. Current libdatadog also changed the stats concentrator API, so adapt the WASM stats wrapper to pass the new cardinality limit argument and encode unobfuscated buckets from FlushResult.

* fix(pipeline): return collapsed stats count from flushStats

* test(pipeline): widen stats overflow regression
@bengl bengl force-pushed the bengl/v0.17.0-proposal branch from c3276d6 to 54a172b Compare July 15, 2026 19:04
@bengl bengl requested a review from ekump July 15, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants