Skip to content

[SDCT-814] Add ci.pipeline.display_name tag for Buildkite - #110

Merged
anmarchenko merged 1 commit into
mainfrom
buildkite-pipeline-display-name
Jul 28, 2026
Merged

[SDCT-814] Add ci.pipeline.display_name tag for Buildkite#110
anmarchenko merged 1 commit into
mainfrom
buildkite-pipeline-display-name

Conversation

@gbrandrea

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.

BUILDKITE_PIPELINE_SLUG was being used for ci.pipeline.name, which is a
slug, not the human-readable pipeline name. We can't change
ci.pipeline.name's source since the backend fingerprints pipelines by its
current value, so instead add a new, additive ci.pipeline.display_name tag
sourced from BUILDKITE_PIPELINE_NAME. Mirrors the identical fix already
shipped in dd-trace-js, dd-trace-py, dd-trace-java, dd-trace-dotnet,
dd-trace-go, datadog-ci-rb, dd-sdk-swift-testing, and datadog-ci.
@gbrandrea
gbrandrea requested a review from a team as a code owner July 27, 2026 13:43

@datadog-official datadog-official 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 new Buildkite display-name tag is additive and preserves the existing slug used by pipeline identity. Adversarial execution confirmed normal, whitespace-heavy, missing, and empty environment values behave correctly; no production-user regression was identified.

Was this helpful? React 👍 or 👎

📊 Validated against 4 scenarios · Open Bits AI session

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

@anmarchenko
anmarchenko merged commit dc1ef75 into main Jul 28, 2026
3 checks passed
@anmarchenko
anmarchenko deleted the buildkite-pipeline-display-name branch July 28, 2026 08:54
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