🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Add ci.pipeline.display_name tag for Buildkite pipelines - #12079

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
buildkite-pipeline-display-name
Jul 28, 2026
Merged

Add ci.pipeline.display_name tag for Buildkite pipelines#12079
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
buildkite-pipeline-display-name

Conversation

@gbrandrea

@gbrandrea gbrandrea commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What

Adds a new, additive ci.pipeline.display_name tag for Buildkite, sourced from BUILDKITE_PIPELINE_NAME (the real pipeline name), alongside the existing ci.pipeline.name tag.

Why

ci.pipeline.name currently carries the Buildkite pipeline slug (BUILDKITE_PIPELINE_SLUG), not the real pipeline name. We can't change ci.pipeline.name's value without a breaking change, since the backend computes pipeline fingerprinting from it today. This PR adds the real name as a new, separate tag instead. A future major-version release will eventually swap ci.pipeline.name over to the real name and retire this tag — that's out of scope here.

Scope is intentionally limited to Buildkite only; no other CI provider is touched, and ci.pipeline.name's source is untouched.

test-environment-trigger: skip

ci.pipeline.name currently carries the Buildkite pipeline slug, not the
real pipeline name, but it can't be changed without breaking backend
fingerprinting that keys off its current value. This adds a new,
additive tag sourced from BUILDKITE_PIPELINE_NAME so the real pipeline
name is available without touching existing behavior.

Also renames BuildkiteInfo.BUILDKITE_PIPELINE_NAME to
BUILDKITE_PIPELINE_SLUG_ENV_VAR since it actually holds the
BUILDKITE_PIPELINE_SLUG env var name, which was misleading now that a
real pipeline-name-backed constant exists alongside it.
@gbrandrea
gbrandrea requested review from a team as code owners July 27, 2026 13:43
@gbrandrea
gbrandrea requested review from mtoffl01 and removed request for a team July 27, 2026 13:43
@dd-octo-sts

dd-octo-sts Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Remove the tag from the pull request title

If you need help, please check our contributing guidelines.

@datadog-datadog-us1-prod datadog-datadog-us1-prod 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.

Datadog Autotest: PASS

More details

The Buildkite path keeps the existing slug-backed ci.pipeline.name and conditionally adds ci.pipeline.display_name from BUILDKITE_PIPELINE_NAME; when that variable is absent, the shared null-filtering logic omits only the new tag. No diff-only behavioral regression was identified, although the Gradle test could not run because the wrapper distribution was unavailable offline.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Datadog Autotest · Commit 89a16cd · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@daniel-mohedano daniel-mohedano added type: feature Enhancements and improvements comp: ci visibility Continuous Integration Visibility labels Jul 27, 2026

@daniel-mohedano daniel-mohedano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

left a small nit, but LGTM, thanks for the contribution! 🚀

gbrandrea and others added 2 commits July 27, 2026 17:12
…civisibility/ci/BuildkiteInfo.java

Co-authored-by: Daniel Mohedano <daniel.mohedano@datadoghq.com>
…civisibility/ci/BuildkiteInfo.java

Co-authored-by: Daniel Mohedano <daniel.mohedano@datadoghq.com>
@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Jul 27, 2026

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: 81.82%
Overall Coverage: 57.11% (-0.49%)

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

@dd-octo-sts

dd-octo-sts Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 13.96 s 13.96 s [-0.6%; +0.6%] (no difference)
startup:insecure-bank:tracing:Agent 12.91 s 13.03 s [-1.8%; -0.0%] (maybe better)
startup:petclinic:appsec:Agent 17.44 s 16.50 s [+1.5%; +10.0%] (significantly worse)
startup:petclinic:iast:Agent 17.29 s 17.44 s [-1.6%; -0.1%] (maybe better)
startup:petclinic:profiling:Agent 16.66 s 17.34 s [-8.0%; +0.2%] (no difference)
startup:petclinic:sca:Agent 17.44 s 17.39 s [-0.6%; +1.2%] (no difference)
startup:petclinic:tracing:Agent 16.53 s 16.71 s [-2.2%; -0.0%] (maybe better)

Commit: 7e074d79 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@gbrandrea gbrandrea changed the title [SDCT-787] Add ci.pipeline.display_name tag for Buildkite feat(ci-cd) Add ci.pipeline.display_name tag for Buildkite Jul 28, 2026
@gbrandrea
gbrandrea added this pull request to the merge queue Jul 28, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jul 28, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-07-28 08:40:45 UTC ℹ️ Start processing command /merge


2026-07-28 08:40:47 UTC ❌ MergeQueue

PR already in the queue with status in_progress

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 28, 2026
@gbrandrea
gbrandrea added this pull request to the merge queue Jul 28, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jul 28, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-07-28 08:56:41 UTC ℹ️ Start processing command /merge


2026-07-28 08:56:44 UTC ❌ MergeQueue

PR already in the queue with status in_progress

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 28, 2026
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 409bc13 into master Jul 28, 2026
590 of 591 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the buildkite-pipeline-display-name branch July 28, 2026 09:35
@github-actions github-actions Bot added this to the 1.65.0 milestone Jul 28, 2026
@PerfectSlayer PerfectSlayer changed the title feat(ci-cd) Add ci.pipeline.display_name tag for Buildkite Add ci.pipeline.display_name tag for Buildkite pipelines Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: ci visibility Continuous Integration Visibility type: feature Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants