Skip to content

ci: bump msrv to 1.87.0#2017

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 10 commits into
mainfrom
julio/bump-msrv
May 23, 2026
Merged

ci: bump msrv to 1.87.0#2017
gh-worker-dd-mergequeue-cf854d[bot] merged 10 commits into
mainfrom
julio/bump-msrv

Conversation

@hoolioh
Copy link
Copy Markdown
Contributor

@hoolioh hoolioh commented May 20, 2026

What does this PR do?

Bumps the workspace MSRV from 1.84.1 → 1.87.0 and introduces two
single-source-of-truth files at the repo root that all CI workflows now read
from:

  • rust-toolchain.toml — pins the stable MSRV. Rustup auto-installs it on
    first invocation in the workspace tree (locally and on GitHub-hosted
    runners), so contributors no longer need to manually rustup install the
    MSRV to build the workspace.
  • nightly-toolchain.toml — placeholder file (not read by rustup) that holds
    the dated nightly used by workflows requiring nightly features (rustfmt
    unstable options, miri, cargo-bolero, cargo-llvm-cov doc-test coverage,
    cargo-public-api).

Future MSRV / nightly bumps now touch a single file each instead of being
sprinkled across ~10 workflows and 3 helper-crate manifests.

Changes

MSRV bump (1.84.1 → 1.87.0)

  • Cargo.toml: workspace rust-version
  • .github/actions/{ci-shared,clippy-annotation-reporter,crates-reporter}/Cargo.toml:
    three standalone helper crates that don't inherit from the workspace
  • README.md: build dependency line

New source-of-truth files

  • rust-toolchain.toml (new): channel = "1.87.0", profile minimal, with
    rustfmt + clippy components
  • nightly-toolchain.toml (new): channel = "nightly-2026-02-08"

RUSTUP_TOOLCHAIN overrides

rust-toolchain.toml's pin overrides rustup default inside the workspace
tree. Workflows that need to run on a different toolchain (the nightly
matrix entries above, plus the 1.92.0 toolchain in pr-title-semver-check)
now set RUSTUP_TOOLCHAIN on the relevant step so the chosen toolchain
actually takes effect. Without this, all matrix entries silently collapsed to
MSRV.

Cross-repo dependency

This PR is paired with libddprof-build which adds a rustup-init
layer to the centos/ubuntu build images and generalizes the macOS rust-setup
block to all platforms. Until the libddprof-build PR lands and
docker_build_job is triggered to publish image version 30, libddprof-build
CI on centos/ubuntu lacks the rustup fallback and could fail if MSRV bumps
further during the gap. The current bump (1.84.1 → 1.87.0) works because the
libddprof-build PR's v30 images bake exactly 1.87.0.

Motivation

Before this change the MSRV string "1.84.1" lived in: workspace Cargo.toml,
README, three helper-crate Cargo.tomls under .github/actions/, and five
GitHub Actions workflows. The nightly date string lived in seven more
workflows. Bumps were error-prone and easy to miss in one location.

In tandem, the companion libddprof-build PR teaches its CI to read
rust-toolchain.toml at CI time, so MSRV bumps in libdatadog propagate to the
release-artifact builder automatically with a WARNING-then-rustup-install
fallback during the image-refresh window.

@hoolioh hoolioh changed the title Julio/bump msrv ci: bump msrv to 1.87.0 May 20, 2026
@datadog-datadog-prod-us1
Copy link
Copy Markdown
Contributor

datadog-datadog-prod-us1 Bot commented May 20, 2026

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 28.57%
Overall Coverage: 72.80% (-0.01%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: ff5468a | Docs | Datadog PR Page | Give us feedback!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 20, 2026

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.79%. Comparing base (118d260) to head (ff5468a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2017      +/-   ##
==========================================
- Coverage   72.80%   72.79%   -0.01%     
==========================================
  Files         458      458              
  Lines       75789    75789              
==========================================
- Hits        55177    55171       -6     
- Misses      20612    20618       +6     
Components Coverage Δ
libdd-crashtracker 65.20% <ø> (-0.02%) ⬇️
libdd-crashtracker-ffi 36.82% <ø> (ø)
libdd-alloc 98.77% <100.00%> (ø)
libdd-data-pipeline 86.69% <ø> (ø)
libdd-data-pipeline-ffi 78.63% <ø> (ø)
libdd-common 79.81% <ø> (ø)
libdd-common-ffi 74.41% <ø> (ø)
libdd-telemetry 73.34% <ø> (ø)
libdd-telemetry-ffi 31.36% <ø> (ø)
libdd-dogstatsd-client 82.64% <ø> (ø)
datadog-ipc 74.75% <0.00%> (ø)
libdd-profiling 81.70% <0.00%> (ø)
libdd-profiling-ffi 64.79% <ø> (ø)
libdd-sampling 97.46% <ø> (ø)
datadog-sidecar 29.06% <ø> (ø)
datdog-sidecar-ffi 9.52% <ø> (ø)
spawn-worker 48.86% <ø> (ø)
libdd-tinybytes 93.16% <ø> (ø)
libdd-trace-normalization 81.71% <ø> (ø)
libdd-trace-obfuscation 87.30% <100.00%> (ø)
libdd-trace-protobuf 68.25% <ø> (ø)
libdd-trace-utils 88.86% <ø> (ø)
libdd-tracer-flare 86.88% <ø> (ø)
libdd-log 74.83% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/julio/bump-msrv

Summary by Rule

Rule Base Branch PR Branch Change

Annotation Counts by File

File Base Branch PR Branch Change

Annotation Stats by Crate

Crate Base Branch PR Branch Change
clippy-annotation-reporter 5 5 No change (0%)
datadog-ffe-ffi 1 1 No change (0%)
datadog-ipc 21 21 No change (0%)
datadog-live-debugger 6 6 No change (0%)
datadog-live-debugger-ffi 10 10 No change (0%)
datadog-profiling-replayer 4 4 No change (0%)
datadog-remote-config 3 3 No change (0%)
datadog-sidecar 57 57 No change (0%)
libdd-common 13 13 No change (0%)
libdd-common-ffi 12 12 No change (0%)
libdd-data-pipeline 5 5 No change (0%)
libdd-ddsketch 2 2 No change (0%)
libdd-dogstatsd-client 1 1 No change (0%)
libdd-profiling 13 13 No change (0%)
libdd-telemetry 20 20 No change (0%)
libdd-tinybytes 4 4 No change (0%)
libdd-trace-normalization 2 2 No change (0%)
libdd-trace-obfuscation 3 3 No change (0%)
libdd-trace-stats 1 1 No change (0%)
libdd-trace-utils 15 15 No change (0%)
Total 198 198 No change (0%)

About This Report

This report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality.

@hoolioh hoolioh marked this pull request as ready for review May 22, 2026 10:47
@hoolioh hoolioh requested review from a team as code owners May 22, 2026 10:47
Copy link
Copy Markdown

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

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: b84f19e750

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .gitlab-ci.yml
# If these are set witih value and description, then it gives you UI elements
DOWNSTREAM_BRANCH:
value: "main"
value: "julio/bump-msrv"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Reset downstream trigger branch to main

Changing DOWNSTREAM_BRANCH from main to julio/bump-msrv makes all downstream GitLab triggers default to a personal feature branch instead of the canonical branch. In the reviewed .gitlab-ci.yml pipeline, this means manual/triggered downstream jobs will run against the wrong ref (or fail once that branch is deleted), which can block or misroute release/build workflows until someone overrides the variable each time.

Useful? React with 👍 / 👎.

@hoolioh
Copy link
Copy Markdown
Contributor Author

hoolioh commented May 22, 2026

/merge

@hoolioh
Copy link
Copy Markdown
Contributor Author

hoolioh commented May 22, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 22, 2026

View all feedbacks in Devflow UI.

2026-05-22 15:32:58 UTC ℹ️ Start processing command /merge


2026-05-22 15:33:04 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 49m (p90).


2026-05-22 15:59:05 UTC ℹ️ MergeQueue: Readding this merge request to the queue because another merge request processed with yours failed. No action is needed from your side.


2026-05-22 17:58:48 UTC 🚨 MergeQueue: This merge request is in error

error while getting head build completion result

Details

Error: There was an error while retrieving the result for pipeline 114783235

FullStacktrace:
child workflow execution error (type: mergequeue_private.MergeQueue_WaitForChecksOrUntilIsFinal, workflowID: wait_checks_697c5046a309e6f48756d798e028f34425ea1506, runID: 019e5069-af70-739d-b044-badfae8a71f8, initiatedEventID: 62, startedEventID: 64): child workflow execution error (type: mergequeue.MergeQueue_WaitForCompletionOfRef, workflowID: 019e5069-af70-739d-b044-badfae8a71f8_8, runID: 019e5069-afbb-7944-a797-decf3790b071, initiatedEventID: 8, startedEventID: 10): There was an error while retrieving the result for pipeline 114783235 (type: FlowError, retryable: false): There was an error while retrieving the result for pipeline 114783235

@morrisonlevi
Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 23, 2026

View all feedbacks in Devflow UI.

2026-05-23 03:56:25 UTC ℹ️ Start processing command /merge


2026-05-23 03:56:29 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 51m (p90).


2026-05-23 04:40:16 UTC ℹ️ MergeQueue: This merge request was merged

Copy link
Copy Markdown
Contributor

@morrisonlevi morrisonlevi left a comment

Choose a reason for hiding this comment

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

I merged in main for both this repo and the build repo to fix Windows, looks good now.

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 276039d into main May 23, 2026
100 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the julio/bump-msrv branch May 23, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants