Skip to content

Bump packaged libdatadog to 35.0.0#53

Merged
lloeki merged 4 commits into
mainfrom
lloeki/update
Jun 16, 2026
Merged

Bump packaged libdatadog to 35.0.0#53
lloeki merged 4 commits into
mainfrom
lloeki/update

Conversation

@lloeki

@lloeki lloeki commented Jun 4, 2026

Copy link
Copy Markdown
Member

Why?

Package the libdatadog 35.0.0 release so consumers (notably dd-trace-rb) can
depend on the gem version 35.0.0.1.0, which carries the merged trace-exporter
FFI work.

What does this PR do?

  • Bumps LIB_VERSION to 35.0.0 in lib/libdatadog/version.rb (gem version
    35.0.0.1.0).
  • Refreshes the per-artifact sha256 checksums in the LIB_GITHUB_RELEASES
    table in Rakefile to match the v35.0.0 GitHub release assets, so the legacy
    download-based publish flow keeps verifying downloads correctly.

Both the legacy publish workflow (download + verify by hash) and the newer
build workflow key off Libdatadog::LIB_VERSION, so the version bump covers
both; only the legacy flow needed the checksum refresh.

How to test the change?

bundle exec rake extract   # downloads v35.0.0 assets, verifies sha256, vendors them

Confirm vendor/libdatadog-35.0.0/<platform>/.../include/datadog/data-pipeline.h
exists and that the gem resolves Libdatadog::VERSION == "35.0.0.1.0".

Additional Notes:

The new from-source build workflow does not consume the libdatadog release
hashes (only the toolchain hashes, untouched here).

JIRA:

Update LIB_VERSION to 35.0.0 (gem version 35.0.0.1.0) and refresh the
per-artifact sha256 checksums in the Rakefile LIB_GITHUB_RELEASES table
to match the v35.0.0 GitHub release assets, so the legacy download-based
publish workflow keeps verifying downloads correctly.
@datadog-datadog-prod-us1-2

This comment has been minimized.

@gyuheon0h gyuheon0h mentioned this pull request Jun 4, 2026
lloeki added 3 commits June 16, 2026 15:12
libdatadog 35.0.0 raised its workspace MSRV to 1.87.0 (its
rust-toolchain.toml pins channel 1.87.0), so installing the v35.0.0
`builder` crate fails under the previously pinned 1.85.1 with
"requires rustc 1.87.0 or newer". Bump RUST_VERSION accordingly and
update the per-target tarball checksums to match the 1.87.0 release.
The devshell pulled `rustc`/`cargo` straight from nixpkgs, so the Rust
version floated with the channel (currently 1.91.1) and could diverge
from the toolchain libdatadog is built with in CI. Add the
`oxalica/rust-overlay` input and pin the toolchain to 1.87.0, matching
the libdatadog 35.0.0 MSRV and the CI `RUST_VERSION`.
Introduce a `rust-toolchain.toml` so the pinned Rust version has a
single source of truth, and have the Nix devshell read it via
`fromRustupToolchainFile` instead of hard-coding the version. This
mirrors libdatadog's own toolchain-file setup and means rustup users get
the same toolchain as the devshell.
@lloeki lloeki marked this pull request as ready for review June 16, 2026 14:04
@lloeki lloeki requested review from a team as code owners June 16, 2026 14:04

@Strech Strech left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👏🏼

@lloeki lloeki merged commit 9ad35e5 into main Jun 16, 2026
55 checks passed
@lloeki lloeki deleted the lloeki/update branch June 16, 2026 15:11
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